Skip to content
New issue

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

Undefined property: App\Category::$translatedAttributes #21

Closed
acwstudio opened this issue Jul 14, 2019 · 2 comments
Closed

Undefined property: App\Category::$translatedAttributes #21

acwstudio opened this issue Jul 14, 2019 · 2 comments
Assignees
Labels

Comments

@acwstudio
Copy link

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
error

@acwstudio acwstudio added the bug label Jul 14, 2019
@Gummibeer
Copy link
Member

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.

@acwstudio
Copy link
Author

I apologize for the trouble. I had typo I am fine now. Thank you very much for your job!

@Gummibeer Gummibeer self-assigned this Jul 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants