The users morphedByMany relation gives error #2453
Unanswered
sruthitechfriar
asked this question in
Q&A
Replies: 2 comments
-
It's an error in your implementation, read other issues/discussions about it |
Beta Was this translation helpful? Give feedback.
0 replies
-
Perhaps you've got fields in your database or properties on your models which conflict with this package? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The morphedByMany relation is not working as expected
$roles = Role::with('users')->get();
dd($roles);
"Class name must be a valid object or a string"
Beta Was this translation helpful? Give feedback.
All reactions