Title: object-cache.php File Causes 500 Errors (or Proxy Errors)
Last modified: December 23, 2023

---

# object-cache.php File Causes 500 Errors (or Proxy Errors)

 *  Resolved [achanne](https://wordpress.org/support/users/achanne/)
 * (@achanne)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/object-cache-php-file-causes-500-errors-or-proxy-errors/)
 * Hi All, I have be getting recurring 500 errors for the last couple of weeks on
   a site. The problem was traced to to a WP component file in “wp-contents” called“
   object-cache.php”, line 436. Deactivating this file by renaming it, then commenting
   out the two lines in index.php, loading the homepage (gives a blank screen), 
   and uncommenting the lines and reloading the homepage seems to solve the issue
   temporarily. Within hours however, this file regenerates itself giving another
   500 error.
 * I have already ruled out the theme and plugins by reverting to default 2023 theme
   turning off all plugins. I also repaired and optimized the database. We are running
   the latest version of WordPress.
 * Are there any fixes for this?

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/object-cache-php-file-causes-500-errors-or-proxy-errors/#post-17297709)
 * Which caching plugin are you using?
 *  Thread Starter [achanne](https://wordpress.org/support/users/achanne/)
 * (@achanne)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/object-cache-php-file-causes-500-errors-or-proxy-errors/#post-17297720)
 * We are using FVM and a3 Lazyload, but I’m not sure if those are caching plugins.
   I think we might have used W3 Total Cache and/or WP Super Cache in the past before.
   As I have mentioned, plugins have been ruled out when they were all deactivated,
   unless they leave files behind that we are not aware of.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/object-cache-php-file-causes-500-errors-or-proxy-errors/#post-17297741)
 * The reason I asked is because, though that is a common file in the WordPress 
   ecosystem, it’s not part of WordPress itself: [https://develop.svn.wordpress.org/tags/6.4.2/src/wp-content/](https://develop.svn.wordpress.org/tags/6.4.2/src/wp-content/)
 * So, if it’s being added and re-added, something else is doing that.
 * If your hosting provider has built-in caching, it could be coming from them. 
   It could be the Lazy Load plugin too, but you’ll need to check with either for
   specifics.
 *  Thread Starter [achanne](https://wordpress.org/support/users/achanne/)
 * (@achanne)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/object-cache-php-file-causes-500-errors-or-proxy-errors/#post-17297762)
 * Thanks again. Is there a way I can turn this off myself…perhaps through the configuration
   file? Would this prevent caching plugins (such as WP Super Cache) from working?
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/object-cache-php-file-causes-500-errors-or-proxy-errors/#post-17297769)
 * You’d need to check with documentation or support for whatever is creating that
   file.
 *  Thread Starter [achanne](https://wordpress.org/support/users/achanne/)
 * (@achanne)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/object-cache-php-file-causes-500-errors-or-proxy-errors/#post-17297815)
 * The file “object-cache.php” was actually placed there by “APCu Object Cache Drop-
   in”. This is not a type of plugin that is managed through or listed in the WP
   admin dashboard, and was most likely installed by the hosting provider. So, I
   logged in to the hosting account, and turned off caching from there, then went
   back to the WP admin dashboard and installed the plugin “WP Super Cache”. So 
   far the site hasn’t crashed and I hope it stays that way.

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

The topic ‘object-cache.php File Causes 500 Errors (or Proxy Errors)’ is closed 
to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [achanne](https://wordpress.org/support/users/achanne/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/object-cache-php-file-causes-500-errors-or-proxy-errors/#post-17297815)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
