• Resolved John

    (@dsl225)


    Hi there,

    I changed theme for a site that was running without any issues before and since then I’m getting some of those:

    WordPress database error Commands out of sync; you can't run this command now for query SELECT option_value FROM ajlzt_options WHERE option_name = '_transient_wpacu_css_optimize_ad4f70dea7e858e45dfdc06c53983fb7' 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, WpAssetCleanUp\OptimiseAssets\OptimizeCommon::WpAssetCleanUp\OptimiseAssets\{closure}, WpAssetCleanUp\OptimiseAssets\OptimizeCommon::alterHtmlSource, WpAssetCleanUp\OptimiseAssets\OptimizeCss::alterHtmlSource, WpAssetCleanUp\OptimiseAssets\OptimizeCss::updateHtmlSourceOriginalToOptimizedCss, WpAssetCleanUp\OptimiseAssets\OptimizeCss::maybeOptimizeIt, WpAssetCleanUp\OptimiseAssets\OptimizeCommon::getTransient, get_transient, get_option

    The site seems to work just fine as I don’t see anything wrong.

    This site was first moved to a temporary server and URL during the theme transition for about a week and never had those warnings when I was working on the new theme layout. They started showing up only since I moved it back at original server and URL.

    I cleared all caches and CSS but still getting the same errors.

    Any clues?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Gabe Livan

    (@gabelivan)

    @dsl225 My sincere apologies for getting back to you so late! Some changes were made to the plugin in the past versions.

    Please go to “Settings” -> “Plugin Usage Preferences” and set “Fetch assets’ caching information from:” to “Disk (default)”. This should avoid those errors that are happening in some hosting environments. Let me know if this fixes it! It should 100%!

    Thread Starter John

    (@dsl225)

    Many thanks for your feedback Gabe!
    In fact, I didn’t get this error again since I posted this; instead I got 2 similar warnings for Rank Math plugin… But nothing anymore since last week.

    The main difference with this site, compared to its previous version, is that now it runs on PHP 7.3 and previously was on 7.2.

    Anyhow, I made this change as suggested (this setting was on 50/50) and I’ll let you know if this happens again. Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘DB error warning’ is closed to new replies.