Error establish connection
-
Hello! I recently installed and enabled Redis Object Cache on my website, and a couple of days later I suddenly couldn’t log in to my admin panel.
I was getting this message:
“Error establishing connection. To disable Redis, delete the object-cache.php file in the /wp-content/ directory.”Once I deleted the
object-cache.phpfile, I was able to log in normally again, and the plugin was automatically disabled.Do you know what might have caused this issue, and how I can prevent it from happening in the future?
Just to mention: I have changed the default login URL from /wp-admin to a custom one using Solid Security Pro.
Aside from this problem, the plugin really boosted my website’s performance!
Edit: After I tried to re-enable the plugin I now get this new error message:
Error establishing a Redis connection
MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.WordPress is unable to establish a connection to Redis. This means that the connection information in your
wp-config.phpfile are incorrect, or that the Redis server is not reachable.- Is the correct Redis host and port set?
- Is the Redis server running?
If you need help, please read the installation instructions.
To disable Redis, delete the
object-cache.phpfile in the/wp-content/directory.Best regards,
Ioannis Chionidis
You must be logged in to reply to this topic.