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
This is a great module in many ways, but every time I log out and log back in it produces the error message RWebUser and its behaviors do not have a method or closure named "updateSession". If I then hit the browser's back button, it returns me to the Web site, and I'm logged in just fine.
In the stack, this appears to originate in this call:
publicfunctionafterSave() {
if (get_class(Yii::app())=='CWebApplication'&&Profile::$regMode==false) {
Yii::app()->user->updateSession();
}
returnparent::afterSave();
}
found in protected\modules\user\models\User.php.
At this point, I've had to comment out all references to any relationship to the User model because of similar problems with RWebUser. Is there any resolution for this?
The text was updated successfully, but these errors were encountered:
This extension provides methods to ensure compatiblity for rights and yii-user.
Yii Behavior, which implments features from WebUser from mishamx/yii-user to avoid errors when using both extensions mentioned above together.
You can attach the behavior to any web-user to provide the methods needed by yii-user.
This is a great module in many ways, but every time I log out and log back in it produces the error message
RWebUser and its behaviors do not have a method or closure named "updateSession".
If I then hit the browser's back button, it returns me to the Web site, and I'm logged in just fine.In the stack, this appears to originate in this call:
found in protected\modules\user\models\User.php.
At this point, I've had to comment out all references to any relationship to the User model because of similar problems with RWebUser. Is there any resolution for this?
The text was updated successfully, but these errors were encountered: