Call to undefined method App\Models\User::id() #6374
-
Hi, i received next error and i don't know how to resolve it, need any help please
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @abdosaeedelhassan, From the stack trace you provided, it looks like the Statamic Admin Log addon is causing this. Can you please try to disable/remove the Admin Log addon and see whether this resolves your issue? The addon hasn't been updated in quite some time and might not be compatible with your current setup of Statamic/Laravel. |
Beta Was this translation helpful? Give feedback.
Hey @abdosaeedelhassan,
From the stack trace you provided, it looks like the Statamic Admin Log addon is causing this. Can you please try to disable/remove the Admin Log addon and see whether this resolves your issue? The addon hasn't been updated in quite some time and might not be compatible with your current setup of Statamic/Laravel.
What repository/driver are you using for your users? The
file
oreloquent
one? So are your users stored in YAML files or the database?