I hosted my site to a new domain. when i click some links the url redirect to index page with this error.
PHP Fatal Error – yii\base\ErrorException
Call to undefined method app\models\TblAccount::findIdentity()
Is this error related with session. Please give me solution to the problem.
From the error it looks like you don't have findIdentity() method implemented in your TblAccount class. IdentityInterface requires you to implement it - see documentation
Show us your code so we can help more
This expect method FindIdentity() in your user model as following
public static function findIdentity($id)
{
return static::findOne($id);
}