WordPress.org

Ready to get started?Download WordPress

Forums

Memcached Object Cache
Cannot activate plugin (3 posts)

  1. patforg
    Member
    Posted 3 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
    Member
    Posted 3 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
    Member
    Posted 3 years ago #

    Hi,

    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

About this Topic

Tags