Title: PHP errors since last version with ESI file
Last modified: September 1, 2022

---

# PHP errors since last version with ESI file

 *  Resolved [silencedgd](https://wordpress.org/support/users/silencedgd/)
 * (@silencedgd)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/php-errors-since-last-version-with-esi-file/)
 * 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 it’s giving PHP fatal errors on some of my websites.
 * Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/php-errors-since-last-version-with-esi-file/#post-15972196)
 * [https://github.com/litespeedtech/lscache_wp/blob/cbd03eb726d6b117b70aaaed24a690438d9bb1c7/src/esi.cls.php#L66](https://github.com/litespeedtech/lscache_wp/blob/cbd03eb726d6b117b70aaaed24a690438d9bb1c7/src/esi.cls.php#L66)
 * line 66 I don’t even see any `,` in it
 * and line 281 [https://github.com/litespeedtech/lscache_wp/blob/cbd03eb726d6b117b70aaaed24a690438d9bb1c7/src/esi.cls.php#L281](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
 *  Thread Starter [silencedgd](https://wordpress.org/support/users/silencedgd/)
 * (@silencedgd)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/php-errors-since-last-version-with-esi-file/#post-15972204)
 * 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

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP errors since last version with ESI file’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [silencedgd](https://wordpress.org/support/users/silencedgd/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/php-errors-since-last-version-with-esi-file/#post-15972204)
 * Status: resolved