Title: DB error warning
Last modified: April 12, 2020

---

# DB error warning

 *  Resolved [John](https://wordpress.org/support/users/dsl225/)
 * (@dsl225)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/db-error-warning/)
 * 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](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/db-error-warning/#post-12714692)
 * [@dsl225](https://wordpress.org/support/users/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](https://wordpress.org/support/users/dsl225/)
 * (@dsl225)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/db-error-warning/#post-12717535)
 * 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.

 * ![](https://ps.w.org/wp-asset-clean-up/assets/icon-256x256.png?rev=1981952)
 * [Asset CleanUp: Page Speed Booster](https://wordpress.org/plugins/wp-asset-clean-up/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-asset-clean-up/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-asset-clean-up/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-asset-clean-up/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-asset-clean-up/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-asset-clean-up/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [John](https://wordpress.org/support/users/dsl225/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/db-error-warning/#post-12717535)
 * Status: resolved