Wordpress LScache Plugin: Lite Speed Cache broke my site
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hi, Lite speed cache break my website. It has been working well so far ? Error detail ====================== An E_ERROR type error was caused in line 21 of the file /home/mydomaine/public_html/wp-content/plugins/litespeed-cache/src/instance.cls.php. Message derreur : Uncaught Error: Undefined constant self::O_PURGE_POST_TERM in /home/mydomaine/public_html/wp-content/plugins/litespeed-cache/src/instance.cls.php:21 Stack trace: #0 /home/mydomaine/public_html/wp-content/plugins/litespeed-cache/src/core.cls.php(46): LiteSpeed Instance::get_instance() #1 /home/mydomaine/public_html/wp-content/plugins/litespeed-cache/src/instance.cls.php(22): LiteSpeed Core->__construct() #2 /home/mydomaine/public_html/wp-content/plugins/litespeed-cache/litespeed-cache.php(178): LiteSpeed Instance::get_instance() #3 /home/mydomaine/public_html/wp-content/plugins/litespeed-cache/litespeed-cache.php(181): run_litespeed_cache() #4 /home/mydomain/public_html/wp-settings.php(391): include_once(/home/unjardinb...) #5 /home/mydomain/public_html/wp-config.php(28): require_once(/home/unjardinb...) #6 /home/mydomain/public_html/wp-load.php(37): require_once(/home/unjardinb...) #7 /home/mydomain/public_html/wp-admin/admin.php(34): require_once(/home/unjardinb...) #8 main thrown I disabled the plugin by renaming it via ftp. As I installed the Freesoul Deactivate Plugins v1.8.8.2 plugin, I thought maybe the problem was there ? but I disabled this plugin and try to re-enable Lite speed cache, but the installation failed with the following fatal error message: Fatal error: Uncaught Error: Undefined constant self::O_PURGE_POST_TERM in /home/mydomain/public_html/wp-content/plugins/litespeed-cache/src/instance.cls.php:21 Stack trace: #0 /home/mydomain/public_html/wp-content/plugins/litespeed-cache/src/core.cls.php(46): LiteSpeed Instance::get_instance() #1 /home/mydomain/public_html/wp-content/plugins/litespeed-cache/src/instance.cls.php(22): LiteSpeed Core->__construct() #2 /home/mydomain/public_html/wp-content/plugins/litespeed-cache/litespeed-cache.php(178): LiteSpeed Instance::get_instance() #3 /home/mydomain/public_html/wp-content/plugins/litespeed-cache/litespeed-cache.php(181): run_litespeed_cache() #4 /home/mydomain/public_html/wp-admin/includes/plugin.php(2300): include(/home/mydomain...) #5 /home/mydomain/public_html/wp-admin/plugins.php(191): plugin_sandbox_scrape(litespeed-cache...) #6 main thrown in /home/mydomain/public_html/wp-content/plugins/litespeed-cache/src/instance.cls.php on line 21 WordPress version 5.7.1 Th?me actuel : GeneratePress Child (version 0.1) Extension actuelle : LiteSpeed Cache (version 3.6.4) PHP version 8.0.3 Thank your for your help Gilles The page I need help with: https://www.un-jardin-bio.com/ Hi, Please provide the report number you can get it in toolbox -> report -> click send to LiteSpeed also please try use PHP 7.3 or PHP 7.4 , see if you still get error message like this Best regards, Hi, Thank you for your reply, There is no report number on the Report page ? But the problem disappeared after emptying all the caches on the Purge page Thanks Gilles Hi, emmm? you need to click send to LiteSpeed , then it will generate you the report Best regards, Hi, Ok? its : RZGQOKZE Thanks Gilles well , do you have a reliable way to reproduce the issue ? without reproducing it , it will be hard to investigate Hi, Im going to mark this topic Resolved , due to lack of activity. If you still need help, please feel free to re-open it. When re-open it, please also change the topic status to not solved Best regards,
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference