jeremykes
Results
comments of
jeremykes
This should really be in the ReadMe. I did something like this and it worked. ```php $user = User::find(1); $user->detachRoles($user->roles); ```
For anyone looking for a more recent solution to this. I am using Laravel 10.1 and PHP 8.1. What I did to fix the issue was using @quetzyg snippet above;...
For me I fixed it by running `yarn start -c`, then running it normal with `yarn start`.