Memcached Object Cache
Cannot activate plugin (3 posts)

  1. patforg
    Posted 5 years ago #

    Fatal error: Cannot redeclare wp_cache_add() (previously declared in /data/www/blog/public/wp-includes/cache.php:24) in /data/www/blog/public/wp-content/plugins/memcached/object-cache.php on line 18 Call Stack: 0.0074 687108 1. {main}() /data/www/blog/public/wp-admin/plugins.php:0 3.1422 28063492 2. plugin_sandbox_scrape() /data/www/blog/public/wp-admin/plugins.php:160

  2. gboudreau
    Posted 5 years ago #

    I hit the same problem, I found the solution.
    You should not 'Activate' that plugin.
    Once you have the plugin installed, you need to copy the wp-content/plugins/memcached/object-cache.php file into wp-content/object-cache.php.
    At that point, the memcached server will take over from the standard WP cache mechanism.
    You might need to edit object-cache.php to connect to you memcached server, if different than localhost:11211

  3. Fask
    Posted 5 years ago #


    so if I understand correctly, you should not install it in wp-content/plugins but wp-cotent? confirmed?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Memcached Object Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic