You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.
After I register user, error show.
" PHP Notice – yii\base\ErrorException
Trying to get property of non-object".
in /var/www/qiudao/modules/admin/views/layouts/main.php
\Yii::$app->user->identity->username
Cause of not complete login but call app variable.
Should I create new var that checkby isset() ?
$username=''; if (isset(\Yii::$app->user->identity->username) $username = \Yii::$app->user->identity->username;
and the others.
The text was updated successfully, but these errors were encountered: