We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After the latest updates to the user plugin, I am getting the following error:
Model 'RainLab\User\Models\User' does not contain a definition for 'activity_log'. thrown in: /modules/backend/behaviors/RelationController.php
Model 'RainLab\User\Models\User' does not contain a definition for 'activity_log'.
But when I check: /plugins/rainlab/user/models/User.php I can clearly see the definition defined:
/plugins/rainlab/user/models/User.php
Lines 153-158:
/** * @var array hasMany relations */ public $hasMany = [ 'activity_log' => [UserLog::class, 'delete' => true], ];
I am not sure why this happening, but if I figure it out while waiting, I will respond with the solution.
Thanks
The text was updated successfully, but these errors were encountered:
Hey @devcflynn
It is actually complaining about not finding this definition:
This could happen if another plugin registers its own relation definitions, thereby removing this one. Check to see if it is the case...
Sorry, something went wrong.
No branches or pull requests
After the latest updates to the user plugin, I am getting the following error:
Model 'RainLab\User\Models\User' does not contain a definition for 'activity_log'.
thrown in: /modules/backend/behaviors/RelationController.php
But when I check:
/plugins/rainlab/user/models/User.php
I can clearly see the definition defined:Lines 153-158:
I am not sure why this happening, but if I figure it out while waiting, I will respond with the solution.
Thanks
The text was updated successfully, but these errors were encountered: