Laravel 11 filament 3.2 panel installation issue
I just installed filament 3.2 and tried
php artisan filament:install --panels
after that I can't access anything anymore, because of the error syntax error, unexpected token "\", expecting "]"
that is caused by the import of this provider: App\Providers\Filament\1PanelProvider::class
. My research is not helpful, some sources say this version is incompatible with Laravel 11 others say 3.2.57 should work. So what's the truth?Solution:Jump to solution
The --panels parameter is used to create a panel. Each panel provider has a PHP class. It seems you used
1
as the panel ID, which resulted in the creation of the 1PanelProvider.php class. Maybe this is the issue. Try to create a panel with a string identifier, such as admin
2 Replies
Solution
The --panels parameter is used to create a panel. Each panel provider has a PHP class. It seems you used
1
as the panel ID, which resulted in the creation of the 1PanelProvider.php class. Maybe this is the issue. Try to create a panel with a string identifier, such as admin
oh my.. I feel stupid, in my tired mood I thought it asked for the admin User ID :pbpepesmoke:
Thank you!