[ad_1]
I just updated a WordPress 6.1.1 installation to Redis Object Cache version 2.3.0 and got the following error after flushing Redis cache:
PHP Fatal error: Uncaught RedisException: socket error on read socket in /usr/www/users/wp/wp-content/object-cache.php:561
Stack trace:
#0 /usr/www/users/wp/wp-content/object-cache.php(561): Redis->ping()
#1 /usr/www/users/wp/wp-content/object-cache.php(256): WP_Object_Cache->__construct(false)
#2 /usr/www/users/wp/wp-includes/load.php(730): wp_cache_init()
#3 /usr/www/users/wp/wp-settings.php(131): wp_start_object_cache()
#4 /usr/www/users/wp/wp-config.php(18): require_once('/usr/www/users/...')
#5 /usr/www/users/wp/wp-load.php(50): require_once('/usr/www/users/...')
#6 /usr/www/users/wp/wp-blog-header.php(13): require_once('/usr/www/users/...')
#7 /usr/www/users/wp/index.php(17): require('/usr/www/users/...')
#8 {main}
thrown in /usr/www/users/wp/wp-content/object-cache.php on line 561Only a rollback to 2.2.4 fixed it.
Is this a known issue? Can I change some settings to prevent this or hs this something to do with the new Predis version?
Thanks for your help!
