[ad_1]
Hi, I came across critical error in wordpress while trying to add a aws elastic cache using redis plugin.
This is the error in wordpress debug.log
[03-May-2023 22:29:13 UTC] PHP Fatal error: Uncaught RedisException: Connection refused in /var/www/html/wordpress/wp-content/object-cache.php:726- I tested accessing my redis access point. It was working.
- Php-redis installed and tested.
- double check I added following in wp-config file:
define('WP_CACHE_KEY_SALT', 'your-unique-salt-here');
define('WP_CACHE', true);
define('WP_REDIS_HOST', '<aws-redis-access-point>');
define('WP_REDIS_PORT', '6379');any advice on this?
PS: I tried recovering the site by deactivate plug-in with following steps:
- renamed wp-contect/plug-in folder to plug-in.deactivate
- change database wp_options table active_plugins row tp option_value field to: a:0:{}
But the site is showing critical error. Any thing else I should do about it?
