Closed k2gsalem closed 4 years ago
on creating a new user with the role return 500 Internal Server Error with "message": "Return value of App\Entities\User::getStoredRole() must implement interface Spatie\Permission\Contracts\Role, null returned", how to solve this issue
Hey, it seems like the issue you are having is with an unrelated package, not any related to this boilerplate.
sorry wrong package
on creating a new user with the role return 500 Internal Server Error with "message": "Return value of App\Entities\User::getStoredRole() must implement interface Spatie\Permission\Contracts\Role, null returned", how to solve this issue