• Resolved arbremojo

    (@arbremojo)


    Hi,

    I’m getting this error in my error log file a lot of times, could I know why and would it be possible to fix it?

    WordPress database error Commands out of sync; you can't run this command now for query SELECT option_value FROM tw1tpg_options WHERE option_name = 'ewww_image_optimizer_webp_force' LIMIT 1 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, wp_ob_end_flush_all, ob_end_flush, ewww_image_optimizer_filter_page_output, apply_filters('ewww_image_optimizer_filter_page_output'), WP_Hook->apply_filters, EIO_Alt_Webp->filter_page_output, EIO_Alt_Webp->validate_image_url, EIO_Base->get_option, ewww_image_optimizer_get_option, get_option

    Best regards,

    Clara.

Viewing 1 replies (of 1 total)
  • Plugin Author Shane Bishop

    (@nosilver4u)

    From what I can tell (after a quick search and perusing other threads with the same error), that means one of your other plugins is starting a query and not finishing it, which essentially locks the db so a SELECT query cannot be run. You’ll want to do the standard troubleshooting steps:
    1. Disable all plugins except EWWW IO, and activate a default Twenty-something theme.
    2. Ensure the error stops happening: run both a wp-admin request and an uncached front-end request to verify.
    3. Enable plugins one by one, and check each time to see if the error occurs. When it does, you’ve found the culprit.

Viewing 1 replies (of 1 total)

The topic ‘Database error in log’ is closed to new replies.