davedriesmans
davedriesmans
FFilament
Created by davedriesmans on 3/10/2024 in #❓┊help
How to have a custom route for new entry?
I want to add have a custom url/route to add a new entry (the button on the top right of a table) I receive an error ("not enough memory") if I change the create route here:
public static function getPages(): array
{
return [
'index' => Pages\ListFunbels::route('/'),
'create' => Pages\CreateFunbel::route('/create'),
'edit' => Pages\EditFunbel::route('/{record}/edit'),
];
}
public static function getPages(): array
{
return [
'index' => Pages\ListFunbels::route('/'),
'create' => Pages\CreateFunbel::route('/create'),
'edit' => Pages\EditFunbel::route('/{record}/edit'),
];
}
How can I achieve this?
5 replies
FFilament
Created by davedriesmans on 12/7/2023 in #❓┊help
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
19 replies