I’ve managed to debug the wp-cli issue. Here’s the output of that command (note: I have sanitised the paths):
$ php ~/wp-cli.phar redis status
RedisException: Connection refused in /path/to/website/public-default/wp-content/object-cache.php:631
Stack trace:
#0 /path/to/website/public-default/wp-content/object-cache.php(631): Redis->connect('127.0.0.1', '6379', 1, NULL, NULL, 1)
#1 /path/to/website/public-default/wp-content/object-cache.php(480): WP_Object_Cache->connect_using_phpredis(Array)
#2 /path/to/website/public-default/wp-content/object-cache.php(173): WP_Object_Cache->__construct(true)
#3 /path/to/website/public-default/wp-includes/load.php(701): wp_cache_init()
#4 /path/to/website/public-default/wp-settings.php(131): wp_start_object_cache()
#5 phar:///wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1271): require('/path/to...')
#6 phar:///wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1192): WP_CLI\Runner->load_wordpress()
#7 phar:///wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(23): WP_CLI\Runner->start()
#8 phar:///wp-cli.phar/vendor/wp-cli/wp-cli/php/bootstrap.php(77): WP_CLI\Bootstrap\LaunchRunner->process(Object(WP_CLI\Bootstrap\BootstrapState))
#9 phar:///wp-cli.phar/vendor/wp-cli/wp-cli/php/wp-cli.php(27): WP_CLI\bootstrap()
#10 phar:///wp-cli.phar/php/boot-phar.php(11): include('phar:///path/to...')
#11 /wp-cli.phar(4): include('phar:///path/to...')
#12 {main}
Status: Not connected
Client: PhpRedis (v5.2.2)
Drop-in: Valid
Disabled: No
Ping:
Connection Exception: Connection refused (RedisException)
Errors: [
"Connection refused"
]
PhpRedis: 5.2.2
Predis: Not loaded
Credis: Not loaded
PHP Version: 7.4.19
Plugin Version: 2.0.18
Redis Version: Unknown
Multisite: No
Filesystem: Working
Global Prefix: "wp_"
Blog Prefix: "wp_"
WP_REDIS_HOST: "127.0.0.1"
WP_REDIS_PORT: "6379"
WP_REDIS_PASSWORD: ????????
Global Groups: [
"blog-details",
"blog-id-cache",
"blog-lookup",
"global-posts",
"networks",
"rss",
"sites",
"site-details",
"site-lookup",
"site-options",
"site-transient",
"users",
"useremail",
"userlogins",
"usermeta",
"user_meta",
"userslugs",
"redis-cache"
]
Ignored Groups: [
"counts",
"plugins",
"themes",
"blog-details",
"blog-id-cache",
"blog-lookup",
"global-posts",
"networks",
"rss",
"sites",
"site-details",
"site-lookup",
"site-options",
"site-transient",
"users",
"useremail",
"userlogins",
"usermeta",
"user_meta",
"userslugs",
"redis-cache",
"blog_meta",
"wordfence",
"wordfence-ls"
]
Unflushable Groups: []
Drop-ins: [
"Redis Object Cache Drop-In v2.0.18 by Till Krüss"
]
-
This reply was modified 3 years, 6 months ago by ellmann creative.
-
This reply was modified 3 years, 6 months ago by Yui.