Route [filament.admin.resources.bases.index] not defined
Hey!
I am getting the above error and I don't know why this is happening. I tried listing all the routes I have, But doesn't seem to exist. Any lead on this is appreciated.
Thanks in advance.
23 Replies
Or
php artisan filament:upgrade
dont ever cache your routes in dev.. dont run any cache commands in dev. absolutely useless
or what.... hey hey...
I did both, route clear and upgrade, nothing worked so far.
Have you manually defined that route somewhere?
No. I tried searching throughout the entire project, Nothing.
check route list -
php artisan route:list
Did that as well. Can't find the route.
php artisan cache:clear && php artisan view:clear
where do you use this route?
He said he doesn't
Yeah. Its like a rouge route which I can't seem to find.
does the
bases
resourse exist?Happened to me this morning after running everything is working fine
That's the weirdest part, I don't have a resource named like that or even close to that! π
hmm π€ , do you use laravel octane?
Can you share the error instead of a screenshot?
I've encountered this yesterday
please run this command
do not cache in dev
Hi, have you managed to fix this issue?
Try
artisan optimize:clear
nuke the whole cache. It could be coming from a broken plugin too.I had the same error and found that my resource had the same name of the new route I made.
I had a
Lead
resource and tried to make a /leads
route in my api.php
file. I'm assuming when Filament loads the dashboard it setups up the resource routes based on their class names but having a route that shares a name with a resource causes this error (I'm going to have to look more into documentation to have a better understanding).
You mention in this thread you don't have any classes/resources with the class name base
but hopefully this helps someone else with the same problem. π