You see that error because of call of WebUser::updateSession(), that is called from User::afterSave(), that is triggered in ActivationController::actionActivation():
but the problem is, that the user in this moment is not loged in!
I am not using yii-user, but when I have all understood, that behevior can also be generated in clean yii-user extension, with WebUser::autoLogin = false, so I think, that the error should be fixed in yii-user in User modell.
You see that error because of call of
WebUser::updateSession()
, that is called fromUser::afterSave()
, that is triggered inActivationController::actionActivation()
:but the problem is, that the user in this moment is not loged in! I am not using yii-user, but when I have all understood, that behevior can also be generated in clean yii-user extension, with
WebUser::autoLogin = false
, so I think, that the error should be fixed in yii-user in User modell.