Closed sulim-vladimir closed 9 years ago
Possible solution is to implement correct find() method in ExampleUser class.
Thanks for reporting, the whole module is not up to date with the framework. I'll look into it.
Is there a time frame to get this project inline with Yii2 2.0.0 ? I've tried to get it working, but there are many interface changes ! Thanks.
uniqueIdentity() method of ProfileForm class uses parent class find() method which "creates an ActiveQuery instance for query purpose". http://www.yiiframework.com/doc-2.0/yii-db-activerecord.html
This means that the following expression $identityClass::find([$attribute => $this->$attribute]); should look like $identityClass::find()->where([$attribute => $this->$attribute])->one();
Please, advise. Thank you.