Support the ongoing development of Laravel.io →
Alpine.js Breeze Blade
0

Can you publish the User and Address Model?

0

The times I encounter this error is when I defined the same model name (User in your case) in another Model. So, instead of the model name matching the filename, I inadvertently used a model name already defined elsewhere. The other way I encountered this error was when I defined the model more than once in the Controller. Both are "duhhhhh" moments, for me that is.

I was able to usually find this error, including the offending file(s) while doing a "composer update".

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.