Yum Profile Not Work
Property "YumUser.profile" is not defined.

I'm installed Yii User Management (Yum) extension in my project. It's ok when I'm using The User Module. But there is a error when I'm access Profile Modules as following link "../profile/profile/update/id/1". It brought me a error page : Property "YumUser.profile" is not defined.

I'm installed Yii User Management (Yum) extension in my project. It's ok when I'm using The User Module. But there is a error when I'm access Profile Modules as following link "../profile/profile/update/id/1". It brought me a error page : Property "YumUser.profile" is not defined.

any ideas?
Thanks for support
Regards

Hi there,

after review the error, I found it may be caused by the relations in YumUser. In YumUser model, there is a relation function which return an array of relations but it is cached? I have no idea for this type of relation because I've ever did it before:

I'm installed Yii User Management (Yum) extension in my project. It's ok when I'm using The User Module. But there is a error when I'm access Profile Modules as following link "../profile/profile/update/id/1". It brought me a error page : Property "YumUser.profile" is not defined.

any ideas?
Thanks for support
Regards

Do you have in your "main.php" 'import application.modules.user.models.*' and the 'modules profile'?

I'm installed Yii User Management (Yum) extension in my project. It's ok when I'm using The User Module. But there is a error when I'm access Profile Modules as following link "../profile/profile/update/id/1". It brought me a error page : Property "YumUser.profile" is not defined.

any ideas?
Thanks for support
Regards

You must have changed the default profile fields. The same thing happened to me when I removed the lastname field and changed the firstname field to name, in order to have a single profile field for name.

On the profile fields management page, it displays correctly and shows the new field(name), but the change is not reflected in the database. So you have to access your database table for profiles(profile in my case) and change the field firstname to name.

hi
I'm installed Yii User Management (Yum) extension in my project. It's ok when I'm using The User Module. But there is a error :Undefined variable: profile
c:\protected\modules\profile\controllers\YumPrivacysettingController.php(55)
and in page yum privacy setting not work
plz help me

hi
I'm installed Yii User Management (Yum) extension in my project. It's ok when I'm using The User Module. But there is a error :Undefined variable: profile
c:\protected\modules\profile\controllers\YumPrivacysettingController.php(55)
and in page yum privacy setting not work
plz help me

I opened an issue of that ... waiting the author response
github.com/thyseus/yii-user-management/issues/192