Error State::$name #167
Unanswered
mtamagusku
asked this question in
Q&A
Replies: 1 comment 5 replies
-
I don't know without seeing your code. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, i have a issue when deploy in my server. when i want acces to static name attribute of my state class i got this error:
{ "message": "syntax error, unexpected 'Model' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)", "exception": "ParseError", "file": "/var/www/virtual//html/vendor/spatie/laravel-model-states/src/State.php", "line": 17.
But when i try in my local dev, its work.
Some ideas?
Thx
Beta Was this translation helpful? Give feedback.
All reactions