• Hello
    I hope you are great.
    How long have the following messages been recorded in the error log?
    Daily up to 20 times
    I tried a lot to fix it but to no avail

    What are these messages for and how should I fix it?

    [13-Oct-2023 15:44:31 UTC] WordPress database error Commands out of sync; you can't run this command now for query SHOW FULL COLUMNS FROM wpaz_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


    [13-Oct-2023 15:58:07 UTC] WordPress database error Commands out of sync; you can't run this command now for query UPDATE wpaz_options SET option_value = '1699804687' WHERE option_name = '_transient_timeout_woocommerce_blocks_asset_api_script_data_ssl' 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

    [13-Oct-2023 14:30:47 UTC] WordPress database error Commands out of sync; you can't run this command now for query SHOW FULL COLUMNS FROM wpaz_options made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\Jetpack\Autoloader\jp865e0ff1636ff8bf9d922e869851562a\Shutdown_Handler->__invoke, Automattic\Jetpack\Autoloader\jp865e0ff1636ff8bf9d922e869851562a\Plugins_Handler->cache_plugins, set_transient, update_option

Viewing 1 replies (of 1 total)
  • Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @amirbani

    The error messages you see in your logs are related to database queries not being executed properly. This is often due to a problem with the server’s ability to process the commands or a conflict between plugins.

    The “Commands out of sync” error typically occurs when a MySQL client library tries to run a command before it has fetched all the data from a previous command.

    To troubleshoot this issue, I would suggest the following steps:

    1. Ensure your server has enough CPU, memory, and disk space to handle your site’s traffic and operations.
    2. Ensure all your plugins, themes, and the WordPress core itself are updated to their latest versions.
    3. Deactivate all your plugins and see if the error still occurs. If it disappears, reactivate your plugins one by one until you find the one causing the issue.

    If the above steps don’t resolve the problem, it might be an issue with your hosting provider’s server configuration. In this case, I recommend contacting your hosting provider to investigate the issue further.

    Let us know how that goes. Looking forward to helping you.

Viewing 1 replies (of 1 total)
  • The topic ‘Message in error log’ is closed to new replies.