Fatal error since last update




Wordpress LScache Plugin: Fatal error since last update

Last Updated on: Wed, 15 Apr 2026 00:00:02
2 hours ago I updated the plugin and now Im getting fatal errors when posting, trying to deavctivate plugins and other actions. It first mentioned the Bloom plugin in the error message so I deactivated it. Now it is showing another plugins file in the error message. I tried purging the cache already. The theme Im using is Extra/Divi Theme. I did not try to deactivate the LiteSpeed Cache plugin itself (through cnpanel) since I read that caching plugins are hard-coded. Fatal error: Call to undefined method LiteSpeed_Cache::purge_post() in /home/meanwhile/public_html/wp-content/plugins/divi-builder/core/components/init.php on line 72 Hi @alanjct, Thanks for your feedback. Looks like DIVI is using our old functionality for purge purpose. We will give a temporary fix for it, and we have gotten in touch with Divi developer to find a better solution. Hopefully they can update the API calls. Thanks, Hai Great, thank you for the quick response. Hopefully you can find a solution with the DIVI team. Will the temporary fix be available on this site? Can you try to modify /home/meanwhile/public_html/wp-content/plugins/divi-builder/core/components/init.php, change LiteSpeed_Cache::purge_post() to LiteSpeed_Cache_Purge::purge_post() ? As we dont get the latest Divi source code yet, this may be a temporary fix for Divi now. Thanks, Hai Since I reinstalled the bloom plugin in the meantime, I did the change in the bloom source code. However, it looked like this: //start else if ( class_exists( LiteSpeed_Cache ) ) // LiteSpeed Cache $litespeed = LiteSpeed_Cache::get_instance() !== $post_id ? $litespeed->purge_post( $post_id ) : $litespeed->purge_all() //end I changed LiteSpeed_Cache::get_instance() to LiteSpeed_Cache_Purge::get_instance() and it seems to be solved now. Thank you. You are most welcome. If you get any further question, please dont hesitate to let us know. Best wishes, Hai FYI, we will release a new version for backward API compatibility too. Thanks for your support.



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



Reference