Open paker-studio opened 7 months ago
happens to me too
happens to me too
It seems that the error was related to the VS Code version. I installed the versions from https://snapcraft.io/code (and all the add-ons from scratch :/), but the auto-complete came back...
Same issue
same error
same error still
Same here
I'm using sail, btw.
2024-07-02 11:02:24.425 [error] Laravel Extra Intellisense Error:
Application Models
Warning: require_once(/home/user/project/vendor/autoload.php): Failed to open stream: No such file or directory in Command line code on line 1
Fatal error: Uncaught Error: Failed opening required '/home/user/project/vendor/autoload.php' (include_path='.:/usr/local/lib/php') in Command line code:1
Stack trace:
#0 {main}
thrown in Command line code on line 1
Same error
same error. any one trying to change environment variable?
`[info] Laravel Extra Intellisense command started: Auth Data [error] Laravel Extra Intellisense Error: Application Models
'php' is not recognized as an internal or external command, operable program or batch file.`
how did you resolve the error? mine started happening after i changed my time zone. unable to run php artisan serve
2024-07-03 19:05:40.900 [error] Laravel Extra Intellisense Error: In Auth.php line 92:
Call to a member function providerIsLoaded() on null
2024-07-03 19:08:30.539 [error] Laravel Extra Intellisense Error: Auth Data
In Auth.php line 92:
Call to a member function providerIsLoaded() on null
same issue.
+1
Same issue here.
Same Issue here
I have the same problem....
I have the same issue on Linux because I used the vscode installed from the software manager that was using flatpak. Resolved the issue by uninstalling the flatpak version and installed the official .deb package from official website : https://code.visualstudio.com/
I got this error because I am running my project in Docker containers. It was trying to load the autoload.php from the host. Changing the setting Laravel Extra Intellisense: Base Path For Code
to the project root inside the Docker container fixed it for me.
E.g., on the host, my project is in ~/project and inside the Docker container my project is located at /var/www/html. By default the extension uses the ~/project directory, which I changed to /var/www/html to get it to work.
php command cannot be found in a docker container. that causes the issue.
I got this error because I am running my project in Docker containers. It was trying to load the autoload.php from the host. Changing the setting
Laravel Extra Intellisense: Base Path For Code
to the project root inside the Docker container fixed it for me.E.g., on the host, my project is in ~/project and inside the Docker container my project is located at /var/www/html. By default the extension uses the ~/project directory, which I changed to /var/www/html to get it to work.
solved it for me too. I've set this on the workspace level and stopped having the erros.
This is how I fixed the error.
Add: ${workspaceFolder}
__VSCODE_LARAVEL_EXTRA_INSTELLISENSE_OUTPUT___ Symfony\Component\ErrorHandler\Error\FatalError
Cannot declare class XML2Array, because the name is already in use
at app\helpers.php:461
its an helper file and no more discription getting from error log and i had not declared these class multiple
System: Linux/Zorin Desc.: After the last update of the add-on, autocomplete stopped working and errors began to appear when starting the program.
2024-04-22 11:34:40.645 [error] Laravel Extra Intellisense Error: Application Models
/bin/sh: linia 1: php: nie znaleziono polecenia
2024-04-22 11:34:40.646 [error] Laravel Extra Intellisense Error: Auth Data