Duplicate route message error in laravel filamentphp
In an environment with Laravel 10 and filamentphp 3 I want to create and display an invoice in a new tab.
I have the following route in web.php:
which is invoked by the action in filamentphp table:
but when optimizing the cache with "php artisan optimize" it gives me the following error:
How do I eliminate the error?
I have tried many ways to avoid the error but I ran out of ideas. I was hoping it could optimize the cache but it continues to throw the error even though the file is generated correctly.
1 Reply
You are sure you didn’t add a route with the same name? The error comes from Laravel not Filament.