Replies: 1 comment
-
I'm an idiot. |
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.
-
I'm in the process of setting up a states in a new API. Laravel 11, laravel-model-states 2.7.
For whatever reason the abstract state class isn't recognised in the casts method:
"Call to undefined cast [app\EvSessions\StateMachine\States\EvSessionState] on column [state] in model [App\EvSessions\Models\EvSession]."
In App\EvSessions\Models\EvSession:
In App\EvSessions\StateMachine\States\EvSessionState:
What am I missing? I've tried digging into HasAttributes and it seems like it's failing at:
Beta Was this translation helpful? Give feedback.
All reactions