GordonLesti / Lesti_Fpc

Simple Magento Fullpagecache
https://gordonlesti.com/lesti-fpc-documentationversion-1-4-5/
Other
358 stars 158 forks source link

Fatal error: Class 'SELF' not found #155

Closed mathijsm closed 9 years ago

mathijsm commented 9 years ago

Hello Gordon,

we are using your FPC, but after the update we get this error Fatal error: Class 'SELF' not found in Lesti_Fpc/app/code/community/Lesti/Fpc/Helper/Data.php on line179

if we change the code to "self" the issue is fixed.

we are using php version PHP 5.4.44-1byte1

greets Michel

GordonLesti commented 9 years ago

thank you @mathijsm should be fixed with https://github.com/GordonLesti/Lesti_Fpc/releases/tag/1.4.1

mathijsm commented 9 years ago

hey @GordonLesti ,

you forgot the line 180 their is also a SELF, maybe i should also have mentioned that :-(

thx

GordonLesti commented 9 years ago

@mathijsm thank you again, I should have seen it:( Funny that the feature worked for me, I have PHP 5.6.13-0+deb8u1.

GordonLesti commented 9 years ago

But it fatally shows that I should write a test for the section.