'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_KILLER9mo ago
No description
MRB_KILLER
MRB_KILLER9mo ago
No description
Arko
Arko9mo ago
You should start out by reading the error message
MRB_KILLER
MRB_KILLER9mo ago
i did my english is not so good
Solution
Kyrill71
Kyrill719mo 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_KILLER9mo ago
i got it thank you so much