Missing New panel resources - links don't appear on sidebar - 404-Not found
Hello.
I have been developing an app since the beginning of February and everthing was Ok. I have been creating 11 new resources and everytime their appeared on the sidebar menu.
Today I have created two new resources and no links appear. If I manually type the url => http://127.0.0.1:8000/facturas it works perfectly. Even the links to http://127.0.0.1:8000/facturas/create and http://127.0.0.1:8000/facturas/1/edit
But I cannot see the links to the two new resources.
I have run:
But those two new links don't appear.
I have no Policies created yet.
Any ideas of what can be happening. I'm really puzzled.
9 Replies
Now I am getting a 404 - NOT FOUND typing the url manually.
I don't understand anything. I have not done anything in the last hour and suddenly what worked (type the url manually) now I am getting a 404
Any ideas of what can be happening?
Nothing could be done.
Not working. Something became corrupt after many hours and weeks of work.
Finally started a new project from scratch and began copying resources, models, migrations and so on and it is working again.
Could not discover what happened.
How frightening!
same problem, did you find a solution?
Maybe it has something to do with auto discovery and caching?
not working
how to force auto-discovery or something?
Solution
php artisan filament:clear-cached-components
lemme try it
@krekas thank you, I didn't know that
it works ✅
I think this one fairly new
Thanks mate!!!
It is a fantastic solutions just in case it happens to me again. This time I started over my project from scratch again, but this could have saved me a lot of tiem.
Thanks and I'll take this into account in future.