You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System: Windows 11
Description: I installed the Laravel Extra Intellisense from the VS Code Extension marketplace. The extension never worked, and the following error message started to occur instead of running properly
PHP Fatal error: Uncaught ReflectionException: Class App\Policies\ModelPolicy does not exist in Command line code:1
Stack trace:
#0 Command line code(1): ReflectionClass->__construct('App\Policies\Mo...') #1 [internal function]: {closure}('App\Policies\Mo...', 'App\Model') #2 Command line code(1): array_map(Object(Closure), Array, Array) #3 {main}
thrown in Command line code on line 1
Because of backward compatibility, I am using PHP 7.4 and Laravel Framework 5.8. Could that be the reason the extension doesn't work?