Where is trying to autoload these widgets?
It's been an issue since V2, when I run component install we get:
Generating optimized autoload files
Class App\Filament\Widgets\SOC located in ./app/Filament/Widgets/SOC\IncidentsByTypeChart.php does not comply with psr-4 autoloading standard. Skipping.
Class App\Filament\Widgets\SOC located in ./app/Filament/Widgets/SOC\Reports\DpaReviewsByIndividualsChart.php does not comply with psr-4 autoloading standard. Skipping.
he think is... nothing exists in there there is no folder or file at:
App\Filament\Widgets\SOC
And I can't find any reference in the code
4 Replies
is it in the config?
Tried
composer dump-autoload
?
Sounds like a composer issue to me
Had a similar error before and that was because of some faulty namespaceseither way the namespace was registered wrong. but yea, i'd do a dump-autoload, then a optimize:clear, and rm -rf vendor and composer.lock as a last resort
You'd thinkso wouldn't you... but nope no diff
Found it in finder, they existed in the root but wouldn't show in phpstorm