Vscode-intelephense: Error after updating VSCode 1.41.0

Created on 12 Dec 2019  路  8Comments  路  Source: bmewburn/vscode-intelephense

Describe the bug
All php function and class output an errors

To Reproduce
all of php basic function (preg_match, parse_url, etc) reproduce errors

Screenshots
image

Platform and version
WINDOWS 10, VSCode 1.41.0, PHP Inteliphense 1.3.3

Most helpful comment

Another thing to try is to re index the workspace. ctrl + shift + p -> Index workspace

All 8 comments

Have you changed intelephense.stubs setting? Looks like is missing core stuff.

Another thing to try is to re index the workspace. ctrl + shift + p -> Index workspace

i had paid the license. and that's still not work. after VS Code Update to 1.41.0.
i have same issue all my controller get error like this "Undefined type 'CI_Controller'.intelephense(1009)"
Undefined type ''.intelephense(1009)
that's happen when i open the file php.

i have try Index workspace still not work.

image

i already ctrl + shift + p then index workspace, all basic function fixed but not my class, i mean : my class function not indexed and output error like this.
and all my namespace from composer vendor folder, output an errors too

image

class description and function description is working on peek but also output errors too

image

now loop indexing :( and made disk usage 100%

Does it finish indexing? Once it finishes it should refresh the diagnostics. How many php files in the workspace?

Done with simple tricks.
downgrade vscode intelephense, reindex, then update to latest version again, then reindex automatically.

Was this page helpful?
0 / 5 - 0 ratings