PHP errors since last version with ESI file




Wordpress LScache Plugin: PHP errors since last version with ESI file

Last Updated on: Wed, 15 Apr 2026 00:00:02
Wordpress version: 6.0.2 Litespeed cache version: 5.2 PHP: 8.0 Parse error: syntax error, unexpected token , in /home/xxxxxxx.com/public_html/wp-content/plugins/litespeed-cache/src/esi.cls.php on line 66 Parse error: syntax error, unexpected identifier litespeed_esi_load , expecting ) in /home/xxxxxxxxxx.com/public_html/wp-content/plugins/litespeed-cache/src/esi.cls.php on line 281 Also, there are errors in lines 203 and 281? Someone has changed the file, and there are several typos. Nobody has given attention to it because not everybody uses ESI. Please check it, as its giving PHP fatal errors on some of my websites. Thanks. https://github.com/litespeedtech/lscache_wp/blob/cbd03eb726d6b117b70aaaed24a690438d9bb1c7/src/esi.cls.php#L66 line 66 I dont even see any , in it and line 281 https://github.com/litespeedtech/lscache_wp/blob/cbd03eb726d6b117b70aaaed24a690438d9bb1c7/src/esi.cls.php#L281 code is not same as your error message please try reinstall it , make sure all files are in good shape Hi, Thanks for your answer I have reinstalled it, and it works well now. Sorry for not checking that in the first place. Kind Regards



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference