generated from filamentphp/plugin-skeleton
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
I added this code on ListUsers
protected function getHeaderActions(): array
{
return [
InviteAction::make(),
];
}
it returns
Tapp\FilamentInvite\Actions\InviteAction::{closure:Tapp\FilamentInvite\Actions\InviteAction::setUp():35}(): Argument #1 ($user) must be of type Illuminate\Database\Eloquent\Model, null given, called in D:\Projects\xxxxx\vendor\filament\support\src\Concerns\EvaluatesClosures.php on line 36
How to reproduce the bug
- Setup Multi-tenant (https://filamentphp.com/docs/4.x/users/tenancy)
- Replace the code on
ListUsersto:
protected function getHeaderActions(): array
{
return [
InviteAction::make(),
];
}
Package Version
2.0.2
PHP Version
8.4
Laravel Version
12.23.0
Which operating systems does with happen with?
No response
Notes
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working