Title: Debug.log object cache issue
Last modified: September 22, 2023

---

# Debug.log object cache issue

 *  Resolved [islp](https://wordpress.org/support/users/islp/)
 * (@islp)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/debug-log-object-cache-issue/)
 * I found the following (multiple entries) in my debug.log file:
   `#0 /home/mydo/
   www/wp-content/object-cache.php(2236): require_once()#1 /home/mydo/www/wp-content/
   object-cache.php(576): WP_Object_Cache->delete_offending_files(1)#2 /home/mydo/
   www/wp-content/object-cache.php(436): WP_Object_Cache->open_connection()#3 /home/
   mydo/www/wp-content/object-cache.php(2270): WP_Object_Cache->__construct()#4 /
   home/mydo/www/wp-includes/load.php(851): wp_cache_init()#5 /home/mydo/www/wp-
   settings.php(131): wp_start_object_cache()#6 /home/mydo/moved-wp-config.php(109):
   require_once('/home/mydo...')#7 /home/mydo/www/wp-config.php(2): include('/home/
   mydo...')#8 /home/mydo/www/wp-load.php(50): require_once('/home/mydo...')#9 /
   home/mydo/www/wp-login.php(12): require('/home/mydo...')#10 {main}`
 * Is this something related to the plugin? The website is behaving in a strange
   way (but its behaviour could be completely unrelated)

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

 *  Plugin Author [OllieJones](https://wordpress.org/support/users/olliejones/)
 * (@olliejones)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/debug-log-object-cache-issue/#post-17076821)
 * If something goes wrong and this plugin cannot access its cache file, it puts
   this error message trace into debug.log and recreates the cache file.
 * If this recurs frequently, you should try putting your cache file under your 
   temporary directory. It’s possible your WordPress files are on a file share, 
   which doesn’t work perfectly for a cache. [Please read this](https://wordpress.org/plugins/sqlite-object-cache/#i%20want%20to%20store%20my%20cached%20data%20in%20a%20more%20secure%20place.%20how%20do%20i%20do%20that%3F).
 * It’s also possible something in your server configuration doesn’t allow this 
   kind of caching to be reliable. If moving the cache file doesn’t help, please
   consider uninstalling this plugin.
 *  Thread Starter [islp](https://wordpress.org/support/users/islp/)
 * (@islp)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/debug-log-object-cache-issue/#post-17077146)
 * Hi, thanks for you kind reply. My file is in the tmp directory. But I must say
   one thing: this error is gone AND it happened right before the hosting provider
   informed me of an incident related to the server hard drive 🙂 Probably, it was
   impossible to read the file during the incident

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

The topic ‘Debug.log object cache issue’ is closed to new replies.

 * ![](https://ps.w.org/sqlite-object-cache/assets/icon-128x128.jpg?rev=2829632)
 * [SQLite Object Cache](https://wordpress.org/plugins/sqlite-object-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sqlite-object-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sqlite-object-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/sqlite-object-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sqlite-object-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sqlite-object-cache/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [object](https://wordpress.org/support/topic-tag/object/)

 * 2 replies
 * 2 participants
 * Last reply from: [islp](https://wordpress.org/support/users/islp/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/debug-log-object-cache-issue/#post-17077146)
 * Status: resolved