-
Notifications
You must be signed in to change notification settings - Fork 185
Crash because Definition->type is null for a function #311
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
Comments
Probably fixed by #292, which seems to have broken a test though. If you wanna look into that I can merge it, don't have time right now |
I would help if I could, but it's way outside my field of knowledge I'm afraid. |
This is not fixed by #292 |
this line should check if
|
@johnrom thanks for looking into this, but the real issue is that |
I figured that was probably a problem (but I'll survive without that fix for now :) ). I have a file that causes this issue, if you'd like me to attach it. |
I did some digging on this. The issue is actually pretty trivial. It occurs for Shortest snippet of code that will trigger exception: class acf_local {
}
acf_local()->enabled; When trying to resolve type definition of edit: |
Indexing a WordPress site, PHP7.1.1 on OSX, after about 15 mins of indexing I'm getting the
The PHP Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted
error. Here's the stack trace:The text was updated successfully, but these errors were encountered: