Weird. You defined the WP_REDIS_CLIENT constant and it’s set to pecl?
Yes, I have:
define(‘WP_REDIS_CLIENT’, ‘pecl’);
I do have W3 Total Cache set up for page caching but I don’t have any of the object caching setup through there. Not sure of that would cause some kind of conflict?
They shouldn’t conflict and it does sound like a page cache issue. Try disabling all W3 Total Cache modules and see if it’s displayed correctly then.
I completely disabled W3 Total Cache and had the same results. Is it possible that Debug Bar is just reporting the wrong client?
What happens if you delete/rename the includes/predis.php file from the plugin folder and then open Debug Bar on the frontend?
I get the following error on the front end only (back end worked fine):
Warning: require_once(/path-to/plugins/redis-cache/includes/predis.php): failed to open stream: No such file or directory in /path-to/wordpress/wp-content/object-cache.php on line 409
Fatal error: require_once(): Failed opening required ‘/path-to/plugins/redis-cache/includes/predis.php’ (include_path=’.:/usr/local/lib/php’) in /path-to/wordpress/wp-content/object-cache.php on line 409
Obviously I substituted the real path with “path-to”
OK, I tracked it down to line 353 of object-cache.php. It’s failing on the “class_exists( ‘Redis’ )” check.
Any thoughts from here?
Great. If the class Redis does not exist, then you need install the PhpRedis extension on your server.
Yeah, I was confused because it appeared to be working in the admin area, but it must have just been reporting incorrectly. I got the extension loaded in php.ini and now it works correctly. Thanks.