TypeError: Argument 1 passed to yii\web\User::login() must implement interface yii\web\IdentityInterface, null given, called in /home/development/public_html/Cdub/common/models/LoginForm.php on line 86 and defined in /home/development/public_html/Cdub/vendor/yiisoft/yii2/web/User.php:249
Stack trace:
#0 /home/development/public_html/Cdub/common/models/LoginForm.php(86): yii\web\User->login(NULL, 2592000)
#1 /home/development/public_html/Cdub/backend/controllers/SiteController.php(112): common\models\LoginForm->adminLogin('mohit.munjal198...')
#2 [internal function]: backend\controllers\SiteController->actionAdminLogin()
#3 /home/development/public_html/Cdub/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#4 /home/development/public_html/Cdub/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#5 /home/development/public_html/Cdub/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('admin-login', Array)
#6 /home/development/public_html/Cdub/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('site/admin-logi...', Array)
#7 /home/development/public_html/Cdub/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(yii\web\Request))
#8 /home/development/public_html/Cdub/backend/web/index.php(17): yii\base\Application->run()
#9 {main}