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
awcodes
awcodes2y ago
is it in the config?
Thijmen
Thijmen2y ago
Tried composer dump-autoload? Sounds like a composer issue to me Had a similar error before and that was because of some faulty namespaces
awcodes
awcodes2y ago
either 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
toeknee
toekneeOP2y ago
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

Did you find this page helpful?