AnonymousTRIAL
a year ago
Hi !
I am working with Laravel and Filament, and I deployed my project on Railway. The problem is that I get a 403 status when I try to log in; it redirects me to 403. I checked the Filament documentation and found this:
Filament Documentation
But when I implement it in my code, it throws an error:
"Method 'App\Models\User::canAccessPanel()' is not compatible with method 'Filament\Models\Contracts\FilamentUser::canAccessPanel()'."
Attached is an image of the error as well.
Thanks for the help!