MacTavish
"There are no commands defined in the "icons" namespace." when called via Widget Class
Redirect not working after caching 🤣 . It just breaks everything after cache. No redirect, notifications, events work normally. Seems like I'll have to bother manually.
16 replies
"There are no commands defined in the "icons" namespace." when called via Widget Class
Caching has destroyed me more than relationships... So I tend to clear all cache & rebuild all!
I've checked the exit code and it's 0. So it seems like my guess is correct, page needs to be refreshed after the action is done.
16 replies
"There are no commands defined in the "icons" namespace." when called via Widget Class
Yes, If page is refreshed, it works fine.
It's an admin panel where we know what we are doing it. It's just in case thing.
I've done that previously for nova and custom pages of a custom backend.
Sometimes we do change some cached stuff and we need to clear and rebuild cache at those times.
16 replies
"There are no commands defined in the "icons" namespace." when called via Widget Class
However, Another problem is running laravel offered
optimize
command.
Request takes very long time and when response is received, it breaks the page. Page is not interactble anymore. Trying to click buttons show error in console:
I have singled out the commands and it seems view:cache
& config:cache
are the one which cause the problem.
My guess is that trying to build the caches invalidates current page and hence causes problem.16 replies
"There are no commands defined in the "icons" namespace." when called via Widget Class
This seems to be problem with icon commands (caching & clearing),
icons:cache
called within filament:optimize
& icons:clear
called within filament:optimize-clear
.16 replies