MacTavish
MacTavish
FFilament
Created by MacTavish on 9/29/2024 in #❓┊help
"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
FFilament
Created by MacTavish on 9/29/2024 in #❓┊help
"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
FFilament
Created by MacTavish on 9/29/2024 in #❓┊help
"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
FFilament
Created by MacTavish on 9/29/2024 in #❓┊help
"There are no commands defined in the "icons" namespace." when called via Widget Class
Yes. From a filament widget.
16 replies
FFilament
Created by MacTavish on 9/29/2024 in #❓┊help
"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:
livewire.js?id=cc800bf4:4559 Uncaught TypeError: Cannot convert undefined or null to object
at Function.values (<anonymous>)
at get children (livewire.js?id=cc800bf4:4559:29)
at getDeepChildren (livewire.js?id=cc800bf4:9066:15)
at getDeepChildrenWithBindings (livewire.js?id=cc800bf4:9049:5)
at livewire.js?id=cc800bf4:9008:7
at Set.forEach (<anonymous>)
at Array.<anonymous> (livewire.js?id=cc800bf4:9006:13)
at trigger2 (livewire.js?id=cc800bf4:3940:34)
at CommitBus.createAndSendNewPool (livewire.js?id=cc800bf4:4178:7)
at livewire.js?id=cc800bf4:4158:16
livewire.js?id=cc800bf4:4559 Uncaught TypeError: Cannot convert undefined or null to object
at Function.values (<anonymous>)
at get children (livewire.js?id=cc800bf4:4559:29)
at getDeepChildren (livewire.js?id=cc800bf4:9066:15)
at getDeepChildrenWithBindings (livewire.js?id=cc800bf4:9049:5)
at livewire.js?id=cc800bf4:9008:7
at Set.forEach (<anonymous>)
at Array.<anonymous> (livewire.js?id=cc800bf4:9006:13)
at trigger2 (livewire.js?id=cc800bf4:3940:34)
at CommitBus.createAndSendNewPool (livewire.js?id=cc800bf4:4178:7)
at livewire.js?id=cc800bf4:4158:16
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
FFilament
Created by MacTavish on 9/29/2024 in #❓┊help
"There are no commands defined in the "icons" namespace." when called via Widget Class
Thank you. It worked
16 replies
FFilament
Created by MacTavish on 9/29/2024 in #❓┊help
"There are no commands defined in the "icons" namespace." when called via Widget Class
hmmm... Why are they made to be run in console only?
16 replies
FFilament
Created by MacTavish on 9/29/2024 in #❓┊help
"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
FFilament
Created by MacTavish on 9/24/2024 in #❓┊help
How to have 2 fields per row in full width tab?
How Do I mark as solved?
15 replies
FFilament
Created by MacTavish on 9/24/2024 in #❓┊help
How to have 2 fields per row in full width tab?
Yes, Thank you!
15 replies
FFilament
Created by MacTavish on 9/24/2024 in #❓┊help
How to have 2 fields per row in full width tab?
No description
15 replies
FFilament
Created by MacTavish on 9/24/2024 in #❓┊help
How to have 2 fields per row in full width tab?
15 replies
FFilament
Created by MacTavish on 9/24/2024 in #❓┊help
How to have 2 fields per row in full width tab?
To have 2 fields per row, I'll need to set columnSpan(6) for both? I am assuming 12 cols per row. Is this correct? I've tried different values but only TextArea fields get affected which seem to considering it as cols value.
15 replies