F
Filamentβ€’7mo ago
Baby Yoda

Use of unknown class: ..

Hi guys, After installing a plugin ( Tale Repeater ) and Uninstall the Plugin all my Classes shown as unknown! the Dashboard panel works without any problem btw. anybody knows what causes that and how can I fix it? it's annoying
No description
Solution:
Solved: it's not related to Filament plugin or it self! a new version of an extension named: PHP ( from DEVSENSE - all -in-one ) causes the warnings, i just disabled it and the warning is gone!
Jump to solution
19 Replies
ericmp
ericmpβ€’7mo ago
try to restart vscode. is it solved? sometimes i do composer i or composer update and then my vscode doesnt detect the classes
Baby Yoda
Baby YodaOPβ€’7mo ago
i restarted the IDE and did composer install, composer dump-autoload, clear cash but i still have the same problem!
ericmp
ericmpβ€’7mo ago
so if u uninstall the plugin it still happens?
Baby Yoda
Baby YodaOPβ€’7mo ago
actually i got a lot of errors, after uninstalling the Plugin, because of that, i had to install the plugin again, so basically the errors appears after uninstalling the plugin not installing it! :squint:
ericmp
ericmpβ€’7mo ago
im getting confused xd. at this point not sure how can i help u :/
Vp
Vpβ€’7mo ago
This looks like "warning" instead of "error" probably cause by some extensions.. Is this VScode? if yes, then what VS code extensions you installed?
ericmp
ericmpβ€’7mo ago
yeah but they say it happened after installing a filament plugin, i supose before that, all was ok
Baby Yoda
Baby YodaOPβ€’7mo ago
Yes is VScode but i didn't install any extension, before install and uninstalling the plugin was all good without any warning
ericmp
ericmpβ€’7mo ago
if u hover the warnings what it says?
Baby Yoda
Baby YodaOPβ€’7mo ago
for example: Use of unknown class: 'Forms\Components\TextInput'PHP(PHP0413) but i imported it: use Forms\Components\TextInput;
ericmp
ericmpβ€’7mo ago
okay, so if restarting doesnt work, i would try to install this extension - https://marketplace.visualstudio.com/items?itemName=bmewburn.vscode-intelephense-client and follow the installation steps (actually u just need step 1)
No description
ericmp
ericmpβ€’7mo ago
not sure if can solve the issue u r having but this is what id try πŸ€·β€β™‚οΈ but the weird thing is that before the installation of the plugin it didnt warn u and now yes πŸ€”
Baby Yoda
Baby YodaOPβ€’7mo ago
I edit the Title! after install the plugin i had no warning but after unistall the plugin i got warn !
ericmp
ericmpβ€’7mo ago
u tried this @Baby Yoda ?
Baby Yoda
Baby YodaOPβ€’7mo ago
actualy i install a new project and i got same warning all of my project! so it must be an extention problem let see
ericmp
ericmpβ€’7mo ago
oh okay, then yeah is not related to the filament plugin u installed ping me if u try this
Solution
Baby Yoda
Baby Yodaβ€’7mo ago
Solved: it's not related to Filament plugin or it self! a new version of an extension named: PHP ( from DEVSENSE - all -in-one ) causes the warnings, i just disabled it and the warning is gone!
ericmp
ericmpβ€’7mo ago
thought u didnt have any extension installed xd well, nice u solved it!
Baby Yoda
Baby YodaOPβ€’7mo ago
Thank you for your concern! That's very nice of you πŸ˜ƒ
Want results from more Discord servers?
Add your server