Hey!
Did you follow the README and configured the WP_REDIS_*
constants?
If so, can you post your Diagnostics from the plugin’s settings?
@tillkruess Thank you, I have read the README file and found the constants I will have to configure. Next, I checked in few places, but could not find where I will need to configure the WP_REDIS_* constants. Can you please let me know where I have to configure the WP_REDIS_* constants?
It’s documented in the README file.
@tillkruess After reading the README file, I could only find the Configuration Options, but where to configure and how to, that I could not find. Can you please help me find where to configure and how to?
@tillkruess I read the Installation instructions in your provided link and configured the constants in wp-config.php and then went to the settings of Redis Object Cache plugin and clicked, Enable Object Cache, again the same error. Below I am providing two Google Drive links, where you will find two images, one from the WP Config file where the constants I have specified, another of the error.
Of WP Config file – https://drive.google.com/file/d/14BGXljRzCQJzVeRVhD1LezBHZKl7bWk6/
Of the Error – https://drive.google.com/file/d/1fOVcHXfdyDVZhnpZ9OozT3yyjIiAf0Hx/
Is Redis Server reachable via redis-cli
?
@tillkruess I don't know how to check if Redis Server is reachable via redis-cli. After configuring the WP_REDIS_* constants in the wp-config.php, I can see the constants in the plugin settings' diagnostics. I am pasting below.
Status: Drop-in not installed
Client:
Drop-in: Not installed
Disabled: No
PhpRedis: Not loaded
Relay: Not loaded
Predis: Not loaded
Credis: Not loaded
PHP Version: 7.4.32
Plugin Version: 2.3.0
Redis Version: Unknown
Multisite: No
Metrics: Disabled
Metrics recorded: 0
Filesystem: Working
WP_REDIS_CLIENT: ""
WP_REDIS_SCHEME: "tcp"
WP_REDIS_PATH: ""
WP_REDIS_HOST: "127.0.0.1"
WP_REDIS_PORT: "6379"
WP_REDIS_DATABASE: "0"
WP_REDIS_TIMEOUT: "1"
WP_REDIS_READ_TIMEOUT: "1"
WP_REDIS_MAXTTL: "0"
WP_REDIS_PREFIX: ""
WP_REDIS_PLUGIN_PATH: "/home/onlinew1/domains/onlineworld.blog/public_html/wp-content/plugins/redis-cache"
WP_REDIS_IGNORED_GROUPS: "[]"
Drop-ins: []
Upgrade to the latest version and post a screenshot of the Settings > Redis page.
I have updated Redis Object Cache plugin to Version 2.4.1. You will find the screenshot of the plugin’s settings page in the following Google Drive URL: https://drive.google.com/file/d/1D9W8DAwNArbJTTqYyJfItzmFZmyDuntY
Can you connect to your Redis Server using redis-cli
?
@tillkruess I do not know how to do that, can you please guide me to connect to Redis Server using redis-cli?
You can Google that yourself.
@tillkruess Okay, thank you!