Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in laravel 9 error not showing route #832

Open
bahramiholding opened this issue Jun 8, 2022 · 4 comments
Open

in laravel 9 error not showing route #832

bahramiholding opened this issue Jun 8, 2022 · 4 comments
Assignees
Labels

Comments

@bahramiholding
Copy link

Hello
In Laravel 9, displaying the route does not display page information and displays a white screen if I used the following commands

route: trans: clear

@blomdahldaniel
Copy link

blomdahldaniel commented Jul 21, 2022

Thanks! This helped me! I just hit 404 for all routes and I could not see any information in the logs.

This is the full command if it is unclear for anyone.

php artisan route:trans:clear

@tsekka
Copy link

tsekka commented Aug 4, 2022

@blomdahldaniel && @a-bahrami , could you guys confirm if you are getting 404 for translated routes after you cache the routes?

So, when you add trait to RouteServiceProvider as described here and run php artisan route:trans:cache, you still can't access translated routes? And everything working when you clear the cache?

@blomdahldaniel
Copy link

blomdahldaniel commented Aug 12, 2022

@tsekka The issue arised when I upgraded from Laravel 8 to Laravel 9. After installing everything and clearing the laravel chache I got the 404 from this package. But after i ran php artisan route:trans:cache then it worked again.

@StefanoTesla
Copy link

StefanoTesla commented Nov 14, 2023

I can confirm the bug, persist in a fresh laravel 10 installation, after caching the routes the non default routes returns 404

@iwasherefirst2 iwasherefirst2 self-assigned this Dec 4, 2024
@iwasherefirst2 iwasherefirst2 pinned this issue Dec 4, 2024
@iwasherefirst2 iwasherefirst2 unpinned this issue Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants