Switch Client from PhpRedis to Relay issue
-
Hi,
I’m installed Relay and now trying to switch to Relay as Client by adding
define( 'WP_REDIS_CLIENT', 'relay' );
to my wp-coinfig but upon checking the status I see the following error:
wp redis status Fatal error: Uncaught Error: Class "Relay\Relay" not found in /my-domain/wp-content/object-cache.php:775 Stack trace: #0 /my-domain/wp-content/object-cache.php(539): WP_Object_Cache->connect_using_relay() #1 /my-domain/wp-content/object-cache.php(256): WP_Object_Cache->__construct() #2 /my-domain/wp-includes/load.php(860): wp_cache_init() #3 /my-domain/wp-settings.php(144): wp_start_object_cache() #4 phar:///Packages/RunCloudAgent/bin/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1363): require('...') #5 phar:///Packages/RunCloudAgent/bin/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1282): WP_CLI\Runner->load_wordpress() #6 phar:///Packages/RunCloudAgent/bin/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start() #7 phar:///Packages/RunCloudAgent/bin/wp-cli/vendor/wp-cli/wp-cli/php/bootstrap.php(83): WP_CLI\Bootstrap\LaunchRunner->process() #8 phar:///Packages/RunCloudAgent/bin/wp-cli/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLI\bootstrap() #9 phar:///Packages/RunCloudAgent/bin/wp-cli/php/boot-phar.php(20): include('...') #10 /RunCloud/Packages/RunCloudAgent/bin/wp-cli(4): include('...') #11 {main} thrown in /my-domain/wp-content/object-cache.php on line 775 Error: There has been a critical error on this website.Learn more about troubleshooting WordPress. There has been a critical error on this website.
Any help on how to properly do it and why it give the error?
Thanks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Switch Client from PhpRedis to Relay issue’ is closed to new replies.