FIlament Shield Error

I upgraded to v3 and have Filament Shield for the roles. I am getting the following error message:
Non-static method BezhanSalleh\FilamentShield\FilamentShield::getResources() cannot be called statically
Non-static method BezhanSalleh\FilamentShield\FilamentShield::getResources() cannot be called statically
I don't feel comfrotable amending the code to remove the static method. For context I am also using the new Panel features in Filament v3.
3 Replies
thisisthejay
thisisthejay10mo ago
@Bezhan sorry to bother you but do you know what I should adjust?
putheakhem
putheakhem10mo ago
@thisisthejay Seems you have published the resource so republish it php artisan vendor:publish select shield resource
krekas
krekas10mo ago
#shield
Want results from more Discord servers?
Add your server
More Posts