Title: object-cache.php conflict
Last modified: September 1, 2016

---

# object-cache.php conflict

 *  [therealjphibbard](https://wordpress.org/support/users/therealjphibbard/)
 * (@therealjphibbard)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/object-cachephp-conflict/)
 * I use SiteGround hosting, and I’m having the same problem as this guy:
 * [https://wordpress.org/support/topic/object-cachephp-is-not-a-w3-total-cache-drop-in?replies=3](https://wordpress.org/support/topic/object-cachephp-is-not-a-w3-total-cache-drop-in?replies=3)
 * I have SiteGround’s SG CachePress plugin installed and configured to enable Memcached.
   I want to use Memcached with W3TC’s object cache. But when I try to enable object
   cache in W3TC, I get this message: “The Object Cache add-in file object-cache.
   php is not a W3 Total Cache drop-in. Remove it or disable Object Caching.”
 * I tracked down the object-cache.php file, which is in /wp-content. Apparently,
   it’s a plugin called Memcached Object Cache ([https://wordpress.org/plugins/memcached/](https://wordpress.org/plugins/memcached/)),
   and it’s what SiteGround uses for its Memcached service.
 * The file is conflicting with W3TC’s object-cache.php file, which is located at/
   wp-content/plugins/w3-total-cache/wp-content/object-cache.php.
 * Is there any way to make W3TC’s object cache work with SG CachePress/Memcached?

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

 *  [Hristo Pandjarov](https://wordpress.org/support/users/hristo-sg/)
 * (@hristo-sg)
 * SiteGround Representative
 * [9 years, 11 months ago](https://wordpress.org/support/topic/object-cachephp-conflict/#post-7478768)
 * Since you’re on a SiteGround server, I would recommend that you use the Memcached
   service from the SG CachePress plugin and not the feature in W3TC. Generally,
   memcached was not developed with security in mind and is not very suitable for
   shared environment so we have done a lot of work to make it available to our 
   customers but keep the service secure at the same time. That’s why I am recommending
   to use the feature in our plugin.
 * As to the error itself, the SG CachePress plugin places a drop-in called object-
   cache.php when you have the Memcached option enabled in its panel. If you insist
   on using W3TC, disable the Memcached option from the SiteGround plugin, check
   if the drop-in is properly deleted and then try enabling it through W3TC.
 *  Thread Starter [therealjphibbard](https://wordpress.org/support/users/therealjphibbard/)
 * (@therealjphibbard)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/object-cachephp-conflict/#post-7478773)
 * Thanks for the timely reply, Hristo. I intend to keep using the Memcached service
   from SG CachePress. It’s fast, and I appreciate the work you’ve done to make 
   it secure for shared hosting.
 * I’ve turned off the object caching feature in W3TC that was causing the conflicts,
   and I’m using the database caching feature instead, which works fine with SG’s
   Memcached service. I would recommend the same to anyone else who is having this
   problem.
 *  [Hristo Pandjarov](https://wordpress.org/support/users/hristo-sg/)
 * (@hristo-sg)
 * SiteGround Representative
 * [9 years, 11 months ago](https://wordpress.org/support/topic/object-cachephp-conflict/#post-7478774)
 * Great, I’m glad you’re happy with the service!

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

The topic ‘object-cache.php conflict’ 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/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [Hristo Pandjarov](https://wordpress.org/support/users/hristo-sg/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/object-cachephp-conflict/#post-7478774)
 * Status: not resolved