Support » Plugin: Redis Object Cache » Doesn't work

  • I installed Redis on the DB server and when I try to activate this plugin, I get the following error:

    Fatal error: Cannot redeclare wp_cache_add() (previously declared in /var/www/vhosts/xxx.com/blog/wp-includes/cache.php:24) in /var/www/vhosts/xxx.com/blog/wp-content/plugins/redis-object-cache/object-cache.php on line 26

    No caching plugins are installed, this was on a new installed WordPress.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Eric Mann

    (@ericmann)

    You don’t activate this like a normal plugin. Instead, move object-cache.php to wp-content/

    This is all outlined in the installation instructions section of the FAQs.

    Thread Starter CajuCLC

    (@cajuclc)

    Thanks for the answer Eric.
    I did move and I was getting a blank page.

    Thanks.

    Plugin Author Eric Mann

    (@ericmann)

    The fatal error you posted shows that object-cache.php is still in the plugin folder. The plugin is not activated like normal plugins. In other words, you shouldn’t ever click Activate. You should move/copy the object-cache.php file to the root of /wp-content.

    This is the same process as every other WordPress object cache system, including both Memcached and APC.

    See the FAQ for step-by-step installation details: http://wordpress.org/plugins/redis-object-cache/installation/

    Thread Starter CajuCLC

    (@cajuclc)

    Eric, file was moved and I got a blank page. After removing the file from this plugin, everything was back to normal.

    I visited the reviews section to actually see a review of this plugin. This thread could have been posted under support section of this plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Doesn't work’ is closed to new replies.