Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language Server Crashing and VS Code is hanged when opening Laravel 8 project with PHP 8.0 #817

Open
atanu1761 opened this issue Jul 8, 2021 · 1 comment

Comments

@atanu1761
Copy link

In ububtu 18.04 64 bit system, when opening a Laravel 8 project in PHP 8.0, the PHP language server is getting crashed and the whole system is getting hanged.

To reproduce the issue, you need to check in ubuntu 18.04 system. Install PHP 8.0 and enable it. Setup a Laravel 8 project. And open it. Open the terminal in VS code. You may not get the time to open it. But if you hurry then you can open the terminal. In the PROBLEMS tab there it is showing 4k+ issues. Then in OUTPUT tag it is showing some message, somethig is exited. Then you can't do anything.

It should work like normal. The extension is working perfect in PHP 7.4 but when u enabling PHP 8.0 then you are doomed.

Platform and version
OS: ubuntu 18.04
PHP: 8.0
Laravel: 8
Intelephense version: v1.7.1

@kde99
Copy link

kde99 commented Feb 1, 2022

If you are lucky and your PHP isn't new enough (like not 8.1 that doesn't work) you can go to the plugin folder in ~/.vscode/extensions and run compose update that should make it work with 8.0.

#779

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants