Wordpress LScache Plugin: Wp Debug Error Log ? litespeed_img_optm
Last Updated on: Wed, 15 Apr 2026 00:00:02 Ive mentioned 2 errors below from my WP Debug Error Log, please assist me in resolving these [10-Sep-2020 09:15:51 UTC] WordPress database error Table he_ e.t el_litespeed_img_optm doesnt exist for query SELECT b.post_id, b.meta_value made by require_once(wp-load.php), require_once(wp-config.php), require_once(wp-settings.php), do_action(init), WP_Hook->do_action, WP_Hook->apply_filters, LiteSpeed Core->after_user_init, LiteSpeed Core->proceed_action, LiteSpeed Router::handler, LiteSpeed Img_Optm::handler, LiteSpeed Img_Optm->_rescan LIMIT 0, 500 ORDER BY a.ID AND c.id IS NOT NULL AND b.meta_key = _wp_attachment_metadata AND a.post_mime_type IN (image/jpeg, image/png, image/gif) AND a.post_status = inherit WHERE a.post_type = attachment LEFT JOIN t _litespeed_img_optm c ON c.post_id = a.ID LEFT JOIN t _postmeta b ON b.post_id = a.ID FROM t _posts a [10-Sep-2020 09:15:32 UTC] WordPress database error Table tr _ l. l_litespeed_img_optm doesnt exist for query SELECT b.post_id, b.meta_value [04-Sep-2020 19:37:00 UTC] WordPress database error Duplicate entry 2 for key PRIMARY for query INSERT INTO l_litespeed_img_optming ( id, post_id, optm_status, src ) SELECT id, post_id, optm_status, src FROM _litespeed_img_optm WHERE id IN ( 2 ) made by require_once(wp-load.php), require_once(wp-config.php), require_once(wp-settings.php), do_action(init), WP_Hook->do_action, WP_Hook->apply_filters, LiteSpeed Core->after_user_init, LiteSpeed Core->proceed_action, LiteSpeed Router::handler, LiteSpeed Img_Optm::handler, LiteSpeed Img_Optm->new_req, LiteSpeed Img_Optm->_send_request Heres another one: [23-Sep-2020 18:31:27 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/ e/ .com/wp-content/plugins/http-headers/http-headers.php on line 43 made by require_once(wp-load.php), require_once(wp-config.php), require_once(wp-settings.php), do_action(init), WP_Hook->do_action, WP_Hook->apply_filters, LiteSpeed Core->after_user_init, LiteSpeed Core->proceed_action, LiteSpeed Router::handler, LiteSpeed Img_Optm::handler, LiteSpeed Img_Optm->_rescan LIMIT 0, 500 ORDER BY a.ID AND c.id IS NOT NULL AND b.meta_key = _wp_attachment_metadata AND a.post_mime_type IN (image/jpeg, image/png, image/gif) AND a.post_status = inherit WHERE a.post_type = attachment LEFT JOIN _litespeed_img_optm c ON c.post_id = a.ID LEFT JOIN _postmeta b ON b.post_id = a.ID FROM _posts a Hi, May I know if you have initialized image optimization and/or optimized any images already ? Best regards, I had installed Regenerate Thumbnails on the recommendation of my theme developer, but later found out that it didnt helped me much with my image optimization. So i deactivated and uninstalled it. I am not using Regenerate Thumbnails or any other image optimization plugins now. Hi, Yes, but have you started to use LiteSpeed Caches image optimization feature ? Best regards, I Believe this issue is fixed in v3.5 @CacheCrawler Yes LiteSpeed Caches image optimization feature is on and working fine. @hailite Thank you for acknowledging! The last time i get an error was on 23rd September, since then Ive checked my error logs and have not noticed any more entries. Like you said, It mustve been fixed with v3.5, i hope.
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference