Hello,
this
php artisan migrate:fresh --seed
return one error
Access to undeclared static property Spatie\Permission\PermissionRegistrar::$pivotPermission
Hi
The most likely cause is an outdated version of the package. Try to update it to the latest stable release:
composer update spatie/laravel-permission
php artisan cache:clear
php artisan config:clear