Wordpress LScache Plugin: Image optimization says its done
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hi, For some weird reason, image optimization says its done optimizing even though it has not optimized even one image in the huge media library. Notice the number of image groups, the points spent and bytes saved in the screen print https://agence.visionarymarketing.com/wp/wp-content/uploads/2020/02/Schermafdruk-van-2020-02-15-17-44-11.png Thinking it was a conflict with another plugin or the theme, I deactivated all other plugins and reverted to Twenty Twenty. I deactivated and reactivated LiteSpeed Cache, I restarted and even reinitialized the optimization process, but nothing changes. The usual optimization result icons and info on the Media library (in list view) are also missing. On another hosting space with the same hosting provider, image optimization works fine. But this one does not? Any idea what could be wrong? Hmmm? Ive got the impression it has to do with the Shortpixel plugin that was active on the site before. Even though its been deactivated and removed now and all images were restored to their original, Litespeed will still not do image optimization. Is that possible? Hi, Could you please provide the report number and a screenshot of image optimization page ? Best regards, Hi @CacheCrawler Ive now reactivated Shortpixel and deactivated the image optimization in Litespeed as the site urgently needs speed improvements? The linked image in the first post, is that not what you need? And how/where do I get a report number? We could use the staging site for debugging if that is helpful. Hi, Yes, you can get report number by checking this wiki Also could you please check in database , there should be a table called wp_litespeed_img_optm please check how many queries it has? Best regards, Hi @CacheCrawler that seems indeed the problem: there are no litespeed db tables created. In the error log I find (very) many of these SQL syntax error messages: [20-Feb-2020 14:24:38 UTC] Erreur de la base de donn?es WordPress You have an error in your SQL syntax check the manual that corresponds to your MariaDB server version for the right syntax to use near AccessDenied at line 1 pour la requ?te CREATE TABLE IF NOT EXISTS wpxz_litespeed_img_optm ( AccessDeniedAccess Denied673FC8B04CA393D3eHIu0tqT+oFtUeKyds8j1rHhusMHNDrpRA4YpSx50XDmC0lyiW2+FUJId8gdetIbToyTNPoC9eU=) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci faite par shutdown_action_hook, do_action(shutdown), WP_Hook->do_action, WP_Hook->apply_filters, wp_ob_end_flush_all, ob_end_flush, LiteSpeed_Cache->send_headers_force, LiteSpeed_Cache_Optimize::finalize, LiteSpeed_Cache_Optimize->_optimize, LiteSpeed_Cache_Optimize->_limit_size_build_hash_url, LiteSpeed_Cache_Optimize->_build_hash_url, LiteSpeed_Cache_Data::optm_hash2src, LiteSpeed_Cache_Data::get_instance, LiteSpeed_Cache_Data->__construct, LiteSpeed_Cache_Data->_create_tb_img_optm [20-Feb-2020 14:24:38 UTC] Erreur de la base de donn?es WordPress You have an error in your SQL syntax check the manual that corresponds to your MariaDB server version for the right syntax to use near AccessDenied at line 1 pour la requ?te CREATE TABLE IF NOT EXISTS wpxz_litespeed_optimizer ( AccessDeniedAccess Denied7C2D789140570836Zr2pxzY+bMjCZeUXfpQyJ/oRpAKtgGCENtgX0eFZAdB1AJKHOoBfUlrFtBU+AK6s32EF6maUMtk=) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci faite par shutdown_action_hook, do_action(shutdown), WP_Hook->do_action, WP_Hook->apply_filters, wp_ob_end_flush_all, ob_end_flush, LiteSpeed_Cache->send_headers_force, LiteSpeed_Cache_Optimize::finalize, LiteSpeed_Cache_Optimize->_optimize, LiteSpeed_Cache_Optimize->_limit_size_build_hash_url, LiteSpeed_Cache_Optimize->_build_hash_url, LiteSpeed_Cache_Data::optm_hash2src, LiteSpeed_Cache_Data::get_instance, LiteSpeed_Cache_Data->__construct, LiteSpeed_Cache_Data->_create_tb_html_optm and then followed by a whole lot doesnt exist errors?. How does XML markup saying Access Denied get inside these SQL queries? I disabled modsecurity and verified DB user permissions. Installed a clean wordpress on a dev subdomain on the same server and there Litespeed has no issue creating the tables. Ive just sent a report with number GVWQDCNE A screen shot is here https://agence.visionarymarketing.com/wp/wp-content/uploads/2020/02/Schermafdruk-van-2020-02-15-17-44-11.png but I suppose the missing DB tables are more interesting Hi, Those XML , I believe it could come from security plugin that blocked the request , like mod_security , wordfence ?etc try destroy all and restart the image opt , it should regenerate the table that is missing. Best regards, Like I said, mod_security is off. But currently there is no security plugin active either. Except Jetpack Protect but I dont think that one interferes with internal SQL. A clean WP installation on a subdirectory does not have this issue, so I can only conclude it must be a plugin conflict? Is there any other known plugin that could block SQL like this? Hi, Could you please try: if you disable all other plugins and only leave LSCWP on , how does it go ? if it still shows Access Denied , then it must come from server-level or network-level blocking. Best regards,
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference