Create and edit pages return error trim(): Argument #1 ($string) ...

Have a application that runs locally perfectly, but in production the create and edit pages return :

trim(): Argument #1 ($string) must be of type string, array given

it might have something to do with different frontend assets?

Here my Flare error page: https://flareapp.io/share/NPLRYLr5
Any idea what I could try?

Did the php artisan filament:upgrade and composer update and on the prod server composer install
Flare
trim(): Argument #1 ($string) must be of type string, array given - The error occurred at https://admin.telraam.net/clients/1142458/edit
Solution
Ya, just delete your \resources\views\vendor\filament directory.
Was this page helpful?