RootTagMissingFromViewException error when loading Custom Dashboard with custom widgets
I have a custom dashboard with many widgets, when i first login after a 'composer i / update' i keep getting this error but it disappears after refreshing the page. Any help?
11 Replies
Did you add a root tag in the widgets?
This is how all my widgets are
The root tag should be
x-filament-widgets::widget
. Have you tried disabling some widgets to identify where the issue might be?Yes, I have tried one by one. No one solves it.
weird..
php artisan about --only=Filament
what is the filament version?
maybe the issue isn't in the widgets...Anyway, I solved it ignoring this type of Exception class. Filament version is 3.2.92
Inspect your browser as livewire will tell you the error and you should narrow it down, ignoring the exception is not a good solution.
not related to the issue, you could create a custom theme to customize the css
https://filamentphp.com/docs/3.x/panels/themes#creating-a-custom-theme
I know that ignoring exception is like hiding an elephant under the rug, but for now, while I inspect furthermore, I have to, because it's very annoying. The browser is not giving any helping information. Tried to debug, but don't know where to breakpoint.
Consider creating a fresh install to see if the issue persists. If the same problem occurs, please share the code on GitHub, and I can take a look.
I appreciate your help, sir! Thank you!