Title: Cannot redeclare wp_cache_add()
Last modified: August 20, 2016

---

# Cannot redeclare wp_cache_add()

 *  [sekati](https://wordpress.org/support/users/sekati/)
 * (@sekati)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/cannot-redeclare-wp_cache_add/)
 * Plugin is broken on latest WP:
 *     ```
       Plugin could not be activated because it triggered a fatal error.
   
       Fatal error: Cannot redeclare wp_cache_add() (previously declared in /var/www/blog.sarkissianmason.com/wp-includes/cache.php:24) in /var/www/blog.sarkissianmason.com/wp-content/plugins/memcached/object-cache.php on line 17
       ```
   

Viewing 1 replies (of 1 total)

 *  Thread Starter [sekati](https://wordpress.org/support/users/sekati/)
 * (@sekati)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/cannot-redeclare-wp_cache_add/#post-2263870)
 * Seems Ive found the answer @ [http://wordpress.org/support/topic/plugin-memcached-object-cache-cannot-activate-plugin?replies=3](http://wordpress.org/support/topic/plugin-memcached-object-cache-cannot-activate-plugin?replies=3)
 * However: this plugin should really deliver the readme.txt in WP plugin admin 
   rather than die mysteriously upon activation (or better, if possible move or 
   sym-link the file upon activation, remove it on deactivation & message non-permission-
   proper systems!).
 * Hope this helps anyone installing directly via wp-admin wholl miss the README.
   txt.

Viewing 1 replies (of 1 total)

The topic ‘Cannot redeclare wp_cache_add()’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/memcached.svg)
 * [Memcached Object Cache](https://wordpress.org/plugins/memcached/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/memcached/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/memcached/)
 * [Active Topics](https://wordpress.org/support/plugin/memcached/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/memcached/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/memcached/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [sekati](https://wordpress.org/support/users/sekati/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/cannot-redeclare-wp_cache_add/#post-2263870)
 * Status: not resolved