Sublime Forum

Error loading syntax file "Packages/PHP/PHP.sublime-syntax"

#1

Everything has been working fine up yesterday and now every time i load a php file I get this error:

“Error loading syntax file “Packages/PHP/PHP.sublime-syntax”: Apparent recursion within a with_prototype action: 25000 context sanity limit hit”

Ive looked all around the web and this forum to no avail…

Any insight is greatly appreciated…

0 Likes

#2

let me guess, you have the CSS3 package installed?

1 Like

#3

This is true

0 Likes

#4

Sure enough disabling CSS3 allows PHP syntax to work, any insight into a better solution other than constantly enabling/disabling?

0 Likes

#5

Just enable and use the default CSS Syntax.

0 Likes

#6

I confirm the issue…is it a problem with the CSS3 packages that needs an update?

I have the CSS3 package, but disabling it and enabling the stock CSS package doesn’t solve the issue…

Thanks

EDIT: my issue was in JavaScriptNext - ES6 Syntax package…I removed it and the problem went away

0 Likes

#7

Had the same issue here. Removing CSS3 corrected the problem.

0 Likes

#8

Yes, Valeu!!! uma solução bem simples e eu endoidando, só removi o CSS3

0 Likes

#9

I don’t have CSS3 installed and I’m getting this same issue. The only thing that fixes it is disabling the PHP syntax plugin, which of course makes Sublime Text completely useless. Why has this not been addressed 1 year later???

0 Likes

#10

Have you tried running with a clean state? https://www.sublimetext.com/docs/3/revert.html

0 Likes