Title: PHP Notice: Function WP_Object_Cache
Last modified: August 16, 2023

---

# PHP Notice: Function WP_Object_Cache

 *  Resolved [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-notice-function-wp_object_cache/)
 * 16-Aug-2023 09:40:53 UTC] PHP Notice: Function WP_Object_Cache::delete was called**
   incorrectly**. Cache key must not be an empty string. Please see Debugging in
   WordPress for more information. (This message was added in version 6.1.0.) in/
   home/wp-includes/functions.php on line 5865
 * WP 6.2.2 and PHP 8.1.x and Litespeed commercial server
 * Thanks

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

 *  Plugin Author [Nawawi Jamili](https://wordpress.org/support/users/nawawijamili/)
 * (@nawawijamili)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-notice-function-wp_object_cache/#post-16977641)
 * Hi there,
 * Thanks for your report.
 * I believed that Notice not referred to Docket Cache. It’s more how it was called
   from other codes and evaluated by WordPress.
 * Docket Cache didn’t return that Notice since we already replace the [WP_Object_Cache](https://github.com/nawawi/docket-cache/blob/master/includes/cache.php#L550)
   class with our own as part of the object-cache.php Drop-in.
 * Thanks.
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-notice-function-wp_object_cache/#post-16978116)
 * I don’t have ANY other caching installed, Page caching or whatever in my WordPress
   site.
 * Anyways, thanks

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

The topic ‘PHP Notice: Function WP_Object_Cache’ is closed to new replies.

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

 * 2 replies
 * 2 participants
 * Last reply from: [dimal](https://wordpress.org/support/users/dimalifragis/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/php-notice-function-wp_object_cache/#post-16978116)
 * Status: resolved