Title: Function wp_cache_flush_runtime was called incorrectly message in debug log
Last modified: May 29, 2023

---

# Function wp_cache_flush_runtime was called incorrectly message in debug log

 *  Resolved [tobyw7](https://wordpress.org/support/users/tobyw7/)
 * (@tobyw7)
 * [3 years ago](https://wordpress.org/support/topic/function-wp_cache_flush_runtime-was-called-incorrectly-message-in-debug-log/)
 * I am experiencing problems with internal 500 error on our WP site running 6.2.2.
 * I have enabled debug and see this message in the logs.
 * Is there anything I can do?

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

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [3 years ago](https://wordpress.org/support/topic/function-wp_cache_flush_runtime-was-called-incorrectly-message-in-debug-log/#post-16776432)
 * Hello [@tobyw7](https://wordpress.org/support/users/tobyw7/)
 * Thank you for reaching out and I am happy to assist you with this.
 * Can you please confirm that the problem persists if you temporarily disable W3TC?
 * Thanks!
 *  Thread Starter [tobyw7](https://wordpress.org/support/users/tobyw7/)
 * (@tobyw7)
 * [3 years ago](https://wordpress.org/support/topic/function-wp_cache_flush_runtime-was-called-incorrectly-message-in-debug-log/#post-16776770)
 * Hi Marko
 * I will deactivate the plugin for a period of time and update with the results.
   It seems that the debug log is flooded with this error message currently.
 *  Thread Starter [tobyw7](https://wordpress.org/support/users/tobyw7/)
 * (@tobyw7)
 * [3 years ago](https://wordpress.org/support/topic/function-wp_cache_flush_runtime-was-called-incorrectly-message-in-debug-log/#post-16776880)
 * I also noticed the version of PHP on this site was outdated so have upgraded 
   to 8.2 – will monitor.
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [3 years ago](https://wordpress.org/support/topic/function-wp_cache_flush_runtime-was-called-incorrectly-message-in-debug-log/#post-16777355)
 * Hello [@tobyw7](https://wordpress.org/support/users/tobyw7/)
 * The ** wp_cache_flush_runtime** is not a 500 error and it’s related to a Object
   Caching if enabled using Disk.
 * Do you have any fatal errors besides the ** wp_cache_flush_runtime** that may
   be logged at the moment you are getting 500 errors?
 * Thanks!
 *  Thread Starter [tobyw7](https://wordpress.org/support/users/tobyw7/)
 * (@tobyw7)
 * [3 years ago](https://wordpress.org/support/topic/function-wp_cache_flush_runtime-was-called-incorrectly-message-in-debug-log/#post-16777487)
 * I’ve checked the log but other than a lot of PHP deprecated messages can’t see
   anything that stands out. The same errors happened before the last outage period–
   each time it’s around 5 minutes. Trying to rule out various pieces.
 * The 2 related to W3TC are late_caching and nginx_memcached
    -  This reply was modified 3 years ago by [tobyw7](https://wordpress.org/support/users/tobyw7/).
    -  This reply was modified 3 years ago by [tobyw7](https://wordpress.org/support/users/tobyw7/).
 *  Thread Starter [tobyw7](https://wordpress.org/support/users/tobyw7/)
 * (@tobyw7)
 * [3 years ago](https://wordpress.org/support/topic/function-wp_cache_flush_runtime-was-called-incorrectly-message-in-debug-log/#post-16783504)
 * [@vmarko](https://wordpress.org/support/users/vmarko/) the other half of the 
   error message if it helps – 
   _Your object cache implementation does not support
   flushing the in-memory runtime cache_
 * Does it mean anything?
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [3 years ago](https://wordpress.org/support/topic/function-wp_cache_flush_runtime-was-called-incorrectly-message-in-debug-log/#post-16783754)
 * Hello [@tobyw7](https://wordpress.org/support/users/tobyw7/)
 * Thank you for your feedback.
 * We are already working on this and we have a [GitHub ticket opened](https://github.com/BoldGrid/w3-total-cache/issues/584).
   
   Thank you for your patience.
 *  Thread Starter [tobyw7](https://wordpress.org/support/users/tobyw7/)
 * (@tobyw7)
 * [3 years ago](https://wordpress.org/support/topic/function-wp_cache_flush_runtime-was-called-incorrectly-message-in-debug-log/#post-16785259)
 * Okay thank you 🙂

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

The topic ‘Function wp_cache_flush_runtime was called incorrectly message in debug
log’ 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/)

 * 8 replies
 * 2 participants
 * Last reply from: [tobyw7](https://wordpress.org/support/users/tobyw7/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/function-wp_cache_flush_runtime-was-called-incorrectly-message-in-debug-log/#post-16785259)
 * Status: resolved