'App\Models\User' does not implement method 'canAccessPanel' error

Hello, i'm kind of a noob at filament and coding in general. i keep running in this error and i don't know how to fix it. can anyone help me please?
No description
Solution:
Hi, you are missing the parameters of the function:
public function canAccessPanel(Panel $panel): bool
public function canAccessPanel(Panel $panel): bool
...
Jump to solution
6 Replies
MRB_KILLER
MRB_KILLEROP14mo ago
No description
MRB_KILLER
MRB_KILLEROP14mo ago
No description
Arko
Arko14mo ago
You should start out by reading the error message
MRB_KILLER
MRB_KILLEROP14mo ago
i did my english is not so good
Solution
Kyrill71
Kyrill7114mo ago
Hi, you are missing the parameters of the function:
public function canAccessPanel(Panel $panel): bool
public function canAccessPanel(Panel $panel): bool
MRB_KILLER
MRB_KILLEROP14mo ago
i got it thank you so much
Want results from more Discord servers?
Add your server