• Resolved rbarron

    (@rbarron)


    Seeking help to resolve the following types of errors, getting this type of error with many sites:

    [05-Mar-2024 06:27:30 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT option_value FROM wp0b_options WHERE option_name = ‘_transient_bnfw-async-notifications’ LIMIT 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, BNFW->on_shutdown, get_transient, get_option
    [05-Mar-2024 06:27:30 UTC] WordPress database error Commands out of sync; you can’t run this command now for query UPDATE wp0b_options SET option_value = ” WHERE option_name = ‘yith_wcmap_is_my_account’ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, YITH_WCMAP_Frontend->save_is_my_account, update_option
    [05-Mar-2024 06:27:30 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT option_value FROM wp0b_options WHERE option_name = ‘_transient_timeout_et_builder_ajax_cache’ LIMIT 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, ET_Builder_Ajax_Cache->save, ET_Builder_Ajax_Cache->load, get_transient, get_option
    [05-Mar-2024 06:27:30 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT option_value FROM wp0b_options WHERE option_name = ‘_transient_et_builder_ajax_cache’ LIMIT 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, ET_Builder_Ajax_Cache->save, ET_Builder_Ajax_Cache->load, get_transient, get_option
    [05-Mar-2024 06:27:30 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT option_value FROM wp0b_options WHERE option_name = ‘wsal_adapter-type’ LIMIT 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, WpSecurityAuditLog::close_external_connection, WSAL\Helpers\Settings_Helper::get_option_value, WSAL\Helpers\Settings_Helper::get_option_value_internal, get_option
    [05-Mar-2024 06:27:30 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SHOW FULL COLUMNS FROM wp0b_wfhits made by wfLog->logHit, wfRequestModel->save, wfModel->save, wfModel->insert

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 29 total)
  • Plugin Support pbevanudp

    (@pbevanudp)

    Hello,

    Please could you confirm the version of WP-Optimize you are currently using? Would it be possible for you to perform a plugin conflict test on one of your sites and de-activate all plugins aside from WP-Optimize please? After doing this clear the cache and then see if the issue repeats itself in the error log.

    Thread Starter rbarron

    (@rbarron)

    Using WP-Optimize version 3.3.0. Performing the plugin test on outwitrivals.com. Will provide an update as available.

    Thank you for the prompt reply …… Rick

    Thread Starter rbarron

    (@rbarron)

    No sync errors when checking the log today. I’ve got other sites using the same plugins disabled for this test that do not thro the sync errors. How do you suggest proceeding?

    Thank you for the support …… Rick

    Thread Starter rbarron

    (@rbarron)

    I stand corrected, checked a few other sites and they have sync errors as well.

    Plugin Support pbevanudp

    (@pbevanudp)

    Hello,

    Thank you for the update, so currently there are sync errors on sites where only WP-Optimize is active?

    Thread Starter rbarron

    (@rbarron)

    That is not my observation. I was correcting my comment about not seeing sync error on some sites w/ the same active plugins as sites with sync errors. Enabling them slowly to discover the culprit.

    Plugin Support vupdraft

    (@vupdraft)

    This could be a number of different things.

    – The hosting has a restriction on queries per second which makes the queries behave slower than what it needs. you could try your hosting about query limits, database restrictions, etc.

    – The site has some cache and is trying to run queries of things it had already processed. flushing the cache on the server and the site would help here.

    – There are simply too many queries that your server can’t handle at the moment

    – The server could be overloaded or your plan doesn’t have enough resources to handle all these queries.

    Thread Starter rbarron

    (@rbarron)

    See replies/questions below:

    – The hosting has a restriction on queries per second which makes the queries behave slower than what it needs. you could try your hosting about query limits, database restrictions, etc.

    Here’s what they allow me to alter and the values set. Please let me know if there are others and/or specific values you suggest.

    max_execution_time – 120

    max_input_time – 60

    max_input_vars – 1000

    memory_limit-1024M

    post_max_size – 64M

    upload_max_filesize – 200M

    – The site has some cache and is trying to run queries of things it had already processed. flushing the cache on the server and the site would help here.

    We’re using WP-Optimize for caching, no clear wat you’re suggesting, please explain.

    – There are simply too many queries that your server can’t handle at the moment

    – The server could be overloaded or your plan doesn’t have enough resources to handle all these queries.

    The hosting company states the errors are due to the caching plugin. Memory usage is typically 70-80% in the account, file usage, number of processes, storage/bandwidth, cpu are all very low.

    Plugin Support vupdraft

    (@vupdraft)

    Your max execution time is really low, I would normally recommend 900.

    Plugin Support vupdraft

    (@vupdraft)

    Sever cache – ask your hosts to clear it. In WPO purge your cache.

    Thread Starter rbarron

    (@rbarron)

    Changed max_execution_time to 900 and requested server cache be purged.

    Thread Starter rbarron

    (@rbarron)

    Host says:

    There is no server side cache configured. we are running litespeed webserver, and for wordpress installs we recommend litespeed cache plugin.

    Plugin Support vupdraft

    (@vupdraft)

    Litespeed are always going to recommend litespeed (in all honestly we will always recommend WPO).

    Have you had the issue again since you upped your max execution time?

    Thread Starter rbarron

    (@rbarron)

    I have not, but all the plugins were disabled. Enabling them over time and checking the error log. Hope to have my testing done over the weekend. Appreciate your help and patience ….. Rick

    Thread Starter rbarron

    (@rbarron)

    I have sites (cincinnatianimalcare.org below) w/ the new setting that are still getting the out of sync warnings in the logfile.

    [11-Mar-2024 18:51:40 UTC] WordPress database error Commands out of sync; you can't run this command now for query SELECT option_value FROM wp7p_options WHERE option_name = 'wsal_adapter-type' LIMIT 1 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WpSecurityAuditLog::close_external_connection, WSAL\Helpers\Settings_Helper::get_option_value, WSAL\Helpers\Settings_Helper::get_option_value_internal, get_option
    [11-Mar-2024 19:10:53 UTC] WordPress database error Commands out of sync; you can't run this command now for query SELECT option_value FROM wp7p_options WHERE option_name = 'wsal_adapter-type' LIMIT 1 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WpSecurityAuditLog::close_external_connection, WSAL\Helpers\Settings_Helper::get_option_value, WSAL\Helpers\Settings_Helper::get_option_value_internal, get_option
Viewing 15 replies - 1 through 15 (of 29 total)
  • You must be logged in to reply to this topic.