• Resolved woavel

    (@woavel)


    I’ve 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’ doesn’t 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’ doesn’t 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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter woavel

    (@woavel)

    Here’s 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

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    May I know if you have initialized image optimization and/or optimized any images already ?

    Best regards,

    Thread Starter woavel

    (@woavel)

    I had installed Regenerate Thumbnails on the recommendation of my theme developer, but later found out that it didn’t 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.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Yes, but have you started to use LiteSpeed Cache’s image optimization feature ?

    Best regards,

    Plugin Support Hai Zheng⚡

    (@hailite)

    I Believe this issue is fixed in v3.5

    Thread Starter woavel

    (@woavel)

    @qtwrk Yes LiteSpeed Cache’s image optimization feature is on and working fine.

    Thread Starter woavel

    (@woavel)

    @hailite Thank you for acknowledging!

    The last time i get an error was on 23rd September, since then I’ve checked my error logs and have not noticed any more entries. Like you said, It must’ve been fixed with v3.5, i hope.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Wp Debug Error Log – litespeed_img_optm’ is closed to new replies.