F
Filament13mo ago
M

Problem with table filters

Hello, I upgraded from v2 to v3, and now every filter that i try to use gives an error. Can someone help me? Example: App\Filament\Resources\PetResource\RelationManagers\PetHasMedicineRelationManager::{closure}(): Argument #1 ($label) must be of type string, Filament\Tables\Filters\Indicator given, called in /var/www/vendor/laravel/framework/src/Illuminate/Collections/Arr.php on line 587 Thanks in advance
No description
No description
No description
9 Replies
Shaung Bhone
Shaung Bhone13mo ago
can you share filament version?
M
MOP13mo ago
No description
M
MOP13mo ago
toeknee
toeknee13mo ago
try setting a label. ->label('Administered')
M
MOP13mo ago
tried, same error
No description
ahmant
ahmant13mo ago
Are you sure that it's from the filter? Because the error you shared says that it's from the relation manager "RelationManagers\PetHasMedicineRelationManager"
Dennis Koch
Dennis Koch13mo ago
You cleared the cache via artisan filament:upgrade? Can you share the error link like mentioned in #✅┊rules
M
MOP13mo ago
Thank you, must be cache, i used artisan filament:upgrade Now is working filament
Dennis Koch
Dennis Koch13mo ago
Please add that to the composer post install script as mentioned in the docs so it runs after every update
Want results from more Discord servers?
Add your server