Laravel Filament Deploy
Anonymous
TRIALOP

2 years 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!

1 Replies

Anonymous
TRIALOP

2 years ago

c58e486d-1df9-49a4-95c1-46ccdec3aad2


Welcome!

Sign in to your Railway account to join the conversation.

Loading...