Image optimization possible conflict with WP Stateless




Wordpress LScache Plugin: Image optimization possible conflict with WP Stateless

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hi, Whenever I Pull images in Litespeed Cache plugin I get an error on website and I cant optimize images. WordPress tells me the following: An error of type E_ERROR was caused in line 84 of the file /?/wp-content/plugins/wp-stateless/lib/classes/compatibility/lite-speed-cache.php. Error message: Uncaught Error: Class LiteSpeed_Cache not found in /?/wp-content/plugins/wp-stateless/lib/classes/compatibility/lite-speed-cache.php:84 Stack trace: #0 /?/wp-includes/class-wp-hook.php(287): wpCloud StatelessMedia LSCacheWP->sync_image(Object(stdClass), /home/?) #1 /?/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters( , Array) #2 /?/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /?/wp-content/plugins/litespeed-cache/src/img-optm.cls.php(926): do_action(litespeed_img_p?, Object(stdClass), /home/luderior/?) #4 /?/wp-content/plugins/litespeed-cache/src/img-optm.cls.php(1865): LiteSpeed Img_Optm->pull() #5 /?/wp-content/plugins/litespeed-cache/src/router.cls.php(711): LiteSpeed Img_Optm::handler() #6 /?/wp-content/plugins/litespeed-cache/src/core.cls.php(273): LiteSpeed Router::han Hi, An error of type E_ERROR was caused in line 84 of the file /?/wp-content/plugins/wp-stateless/lib/classes/compatibility/lite-speed-cache.php Please contact WP stateless, the error is on their file , but I think it might be due to our v3 that changed some API , please attach this link to them as well. apologize for the inconvenience Best regards, I have contacted WP Stateless and forwarded your reply. Thank you, Hi, Please keep us posted and let us know if there is anything need to be done from our side. Best regards, Hi, Im going to mark this topic Resolved, due to lack of activity. If you still need help, please feel free to re-open the topic. Best regards, @alex-mi Sorry to direct this question on this post, but I could not find any other way to contact you. Did you by any chance find a solution to this one? https://wordpress.org/support/topic/out-of-stock-items-in-woocommerce-error/



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



Reference