Unable to find component: [app.filament.widgets.office-overview]

I am experiencing a problem in symfony, i need some guide on how to fix this problem.
No description
Solution:
run php artisan filament:optimize-clear
Jump to solution
7 Replies
| Frozen Mind |
| Frozen Mind |OP2mo ago
class Accounts extends Page { protected static ?string $navigationIcon = 'heroicon-o-document-text'; protected static string $view = 'filament.pages.accounts'; protected function getHeaderWidgets(): array { return [ OfficeOverview::class, ]; } }
Mohamed Ayaou
Mohamed Ayaou2mo ago
How did you import the OfficeOverview and where is it located? Do not forget to clear caches too
| Frozen Mind |
| Frozen Mind |OP2mo ago
It was located at the Filament > Widgets
| Frozen Mind |
| Frozen Mind |OP2mo ago
No description
| Frozen Mind |
| Frozen Mind |OP2mo ago
This just happens after I accidentally run "php artisan filament:optimize" in local I tried to clear cache, it does not resolve my problem
Solution
Mohamed Ayaou
Mohamed Ayaou2mo ago
run php artisan filament:optimize-clear
| Frozen Mind |
| Frozen Mind |OP5w ago
It works! Thankss!!

Did you find this page helpful?