F
Filament15mo ago
toeknee

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
awcodes15mo ago
is it in the config?
Thijmen
Thijmen15mo 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
awcodes15mo 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
toekneeOP15mo 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
Want results from more Discord servers?
Add your server