BlairHippo
BlairHippo

Reputation: 9658

Eclipse PHP editor suddenly broken

I'm using Eclipse, and after a restart, I suddenly can't open PHP files. When I try, I get a popup error box saying:

Error opening the editor.  (Time of error: [now])
Reason:
No editor descriptor for id org.eclipse.php.editor

Any advice for what's going on and how to fix it?

Upvotes: 0

Views: 1609

Answers (3)

Snake Sanders
Snake Sanders

Reputation: 2689

I would try to delete the hidden .metadata folder in your workspace directory. rename it and try to open eclipse again. it should create a new one. if still does not work, revert the changes.

Upvotes: 1

BlairHippo
BlairHippo

Reputation: 9658

facepalm

When you update to the latest version of Eclipse, don't keep using the link to the old version. That causes problems.

Upvotes: 0

pertz
pertz

Reputation: 393

Are you using the latest Eclipse? This seems like a bug from a couple of years ago, and has to do with a certain code within one of your PHP files.

Check this:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=326247

Upvotes: 1

Related Questions