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
Describe the bug
I have one to many relations Category to Post. Post::with('category')->get() causes the error
Undefined property: App\Category::$translatedAttributes
Screenshots
The text was updated successfully, but these errors were encountered:
And does your category model use the Translatable trait?
If so you should define this property. If not I will need some more information and code about the category model.
Describe the bug
I have one to many relations Category to Post. Post::with('category')->get() causes the error
Undefined property: App\Category::$translatedAttributes
Screenshots
The text was updated successfully, but these errors were encountered: