'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?
image.png
Solution
Hi, you are missing the parameters of the function:
 public function canAccessPanel(Panel $panel): bool
Was this page helpful?