• Resolved Chris.V

    (@chrisv234)


    Hi,

    I am getting the following errors repeatedly in my database. While I get the following errors, my website starts to slow down (frontend and backend). After a while, usually 10-15minutes, the website is OK.

    I have this problem for about 1-2 months but it seems to happen more often lately.

    No major changes in my website lately besides activating HPOS. Disabled almost all plugins and scripts to test if this still happens but no luck. Should I try going back to legacy for a while or TranslatePress has nothing to do with it?

    The lines with the errors:

    WordPress database error Commands out of sync; you can't run this command now for query SELECT original, id, block_type, status FROM wp_trp_dictionary_el_en_us WHERE block_type = 1 OR block_type = 2 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, wp_ob_end_flush_all, ob_end_flush, TRP_Translation_Render->translate_page, TRP_Query->get_all_translation_blocks
    WordPress database error Commands out of sync; you can't run this command now for query SHOW FULL COLUMNS FROM wp_options made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\WooCommerce\Blocks\Assets\Api->update_script_data_cache, set_transient, update_option

    Thanks in advance for any help or guidance in solving this.

    Regards,

    Chris

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Anca

    (@ancavictoria)

    Hello Chris,

    You can try to replicate the issue on a staging site, and if it still persists, deactivate TranslatePress to see if the issue persists with it disabled.

    The most common reasons for this error are:

    • Caching plugins
    • Allowed memory size exhausted
    • A theme or a plugin is running a query and not completing it

    Let me know how this goes.

    Kind Regards,

    Anca

    Plugin Support Anghel Emanuel

    (@anghelemanuel99)

    Hello there,

    Since 5 days have already passed without getting any reply from you, I will mark this thread as “Resolved”.

    Have a great day!

    Kind Regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress database error Commands out of sync’ is closed to new replies.