You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned in readme.md, I updated User model with protected static $roleProfile = 'user'; but it's not present in the user object. If I use without static, the variable is present in user object.
Since the static variable is not working I get Class name must be a valid object or a string error. Laravel version is 5.3.29
Please advice
The text was updated successfully, but these errors were encountered:
As mentioned in readme.md, I updated User model with
protected static $roleProfile = 'user';
but it's not present in the user object. If I use without static, the variable is present in user object.Since the static variable is not working I get Class name must be a valid object or a string error. Laravel version is 5.3.29
Please advice
The text was updated successfully, but these errors were encountered: