WordPress.org

Support

Support » Plugins and Hacks » Memcached Object Cache » [Plugin: Memcached Object Cache] Cannot activate plugin

[Plugin: Memcached Object Cache] Cannot activate plugin

  • 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

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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

    Hi,

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Memcached Object Cache] Cannot activate plugin’ is closed to new replies.
Skip to toolbar