are your routes cached, by any chance? if so, your routes file is not called.
try clearing the routes cache
php artisan route:clear
Hi everyone,
I'm creating a Laravel package and I have a strange bug.
If I call dd('Test') in my service provider, I see it on the page.
But if I call dd('Test') in my routes file, the error shows (so it doesn't reach the call).
I'm loading/registering the routes in my service provider.
So, the problem should be somewhere between the service provider and my routes file.
So, what happens between the $this->loadRoutesFrom() call and the routes file that can throw this error?
Thank you! Jeroen
are your routes cached, by any chance? if so, your routes file is not called.
try clearing the routes cache
php artisan route:clear
Please or to participate in this conversation.