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
Getting a error when when user navigate to inbox route - frontend/web/message/message/inbox
I am using Dektrium user module where I have extended their user model to add custom field so the the user class is in frontend\models\User.
// Messaging
'message' => [
'class' => 'thyseus\message\Module',
'modelClass' => 'frontend\models\User', // optional. your User model. Needs to be ActiveRecord.
],
The text was updated successfully, but these errors were encountered:
Found the error with the config and how the user model class is referenced by this library "userModelClass" and not "modelClass". So the following works.
Hey, was just about to answer you. Glad you found the problem already.
In the future i want to make the message system to be working also without ActiveRecord. Goal will be that the module can be used with the yii2-basic-app. The work shouldn´t be too much but i can not promise a time for this at the moment.
Getting a error when when user navigate to inbox route - frontend/web/message/message/inbox
I am using Dektrium user module where I have extended their user model to add custom field so the the user class is in frontend\models\User.
// Messaging
'message' => [
'class' => 'thyseus\message\Module',
'modelClass' => 'frontend\models\User', // optional. your User model. Needs to be ActiveRecord.
],
The text was updated successfully, but these errors were encountered: