Title: Function wp_cache_flush_runtime was called incorrectly. Your ob
Last modified: March 17, 2023

---

# Function wp_cache_flush_runtime was called incorrectly. Your ob

 *  Resolved [seboaus](https://wordpress.org/support/users/seboaus/)
 * (@seboaus)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/function-wp_cache_flush_runtime-was-called-incorrectly-your-ob/)
 * HI,
 * I am getting the error:
 * `Function wp_cache_flush_runtime was called **incorrectly**. Your object cache
   implementation does not support flushing the in-memory runtime cache. Please 
   see [Debugging in WordPress](https://wordpress.org/support/article/debugging-in-wordpress/)
   for more information. (This message was added in version 6.1.0.) in /home/sebocoma/
   public_html/shop/wp-includes/functions.php on line 5835`
 * In my debug.log file after updating WordPress 6.1.1.
 * Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/function-wp_cache_flush_runtime-was-called-incorrectly-your-ob/#post-16569264)
 * Hello [@seboaus](https://wordpress.org/support/users/seboaus/)
 * Thank you for reaching out and I am happy to assist you with this.
 * Can you please share if you are using Object Caching and if so, what is the caching
   method you are using?
 * Thanks!
 *  Thread Starter [seboaus](https://wordpress.org/support/users/seboaus/)
 * (@seboaus)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/function-wp_cache_flush_runtime-was-called-incorrectly-your-ob/#post-16574783)
 * Hi [@vmarko](https://wordpress.org/support/users/vmarko/),
 * I am using object caching and I am using the disk method.
 * Thanks.
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/function-wp_cache_flush_runtime-was-called-incorrectly-your-ob/#post-16577471)
 * Hello [@seboaus](https://wordpress.org/support/users/seboaus/)
 * Thank you for your feedback.
   We do have an open [GitHub ticket](https://github.com/BoldGrid/w3-total-cache/issues/584)
   for this. It’s recommended not to use the Disk caching method for Object Caching.
 * DO you have an option to install Memcached or Redis on your server?
 * Thanks!
 *  Thread Starter [seboaus](https://wordpress.org/support/users/seboaus/)
 * (@seboaus)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/function-wp_cache_flush_runtime-was-called-incorrectly-your-ob/#post-16589946)
 * Hi [@vmarko](https://wordpress.org/support/users/vmarko/),
 * Thank you for sending through the GitHub ticket.
 * I don’t have an option for installing either caching system. Would you recommend
   disabling object caching all together in this case?
 * Thanks.
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/function-wp_cache_flush_runtime-was-called-incorrectly-your-ob/#post-16591251)
 * Hello [@seboaus](https://wordpress.org/support/users/seboaus/)
 * Thank you for your feedback. Yes, for the time being, you should avoid using 
   the OC.
 * Thanks!
 *  [cortinashd](https://wordpress.org/support/users/cortinashd/)
 * (@cortinashd)
 * [3 years ago](https://wordpress.org/support/topic/function-wp_cache_flush_runtime-was-called-incorrectly-your-ob/#post-16724463)
 * Hello, I have the same error and I am using memcached, my installation is in 
   a vps in digital ocean. Thanks for your reply

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Function wp_cache_flush_runtime was called incorrectly. Your ob’ is closed
to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [cortinashd](https://wordpress.org/support/users/cortinashd/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/function-wp_cache_flush_runtime-was-called-incorrectly-your-ob/#post-16724463)
 * Status: resolved