from wp critical error to blank Homepage
-
Hi, i need help from this point after week confronting these:
Fatal error: Uncaught RedisException: Connection refused in /var/www/vhosts/hosting151996.a2ecd.netcup.net/httpdocs/wp-content/object-cache.php:726 Stack trace: #0 /var/www/vhosts/hosting151996.a2ecd.netcup.net/httpdocs/wp-content/object-cache.php(726): Redis->connect(‘127.0.0.1’, 6379, 1, ”, 0, 1) #1 /var/www/vhosts/hosting151996.a2ecd.netcup.net/httpdocs/wp-content/object-cache.php(538): WP_Object_Cache->connect_using_phpredis(Array) #2 /var/www/vhosts/hosting151996.a2ecd.netcup.net/httpdocs/wp-content/object-cache.php(256): WP_Object_Cache->__construct(false) #3 /var/www/vhosts/hosting151996.a2ecd.netcup.net/httpdocs/wp-includes/load.php(750): wp_cache_init() #4 /var/www/vhosts/hosting151996.a2ecd.netcup.net/httpdocs/wp-settings.php(131): wp_start_object_cache() #5 /var/www/vhosts/hosting151996.a2ecd.netcup.net/httpdocs/wp-config.php(85): require_once(‘/var/www/vhosts…’) #6 /var/www/vhosts/hosting151996.a2ecd.netcup.net/httpdocs/wp-load.php(50): require_once(‘/var/www/vhosts…’) #7 /var/www/vhosts/hosting151996.a2ecd.netcup.net/httpdocs/wp-blog-header.php(13): require_once(‘/var/www/vhosts…’) #8 /var/www/vhosts/hosting151996.a2ecd.netcup.net/httpdocs/index.php(17): require(‘/var/www/vhosts…’) #9 {main} thrown in /var/www/vhosts/hosting151996.a2ecd.netcup.net/httpdocs/wp-content/object-cache.php on line 726
There has been a critical error on this website.
Learn more about troubleshooting WordPress.
then i was reading from https://github.com/rhubarbgroup/redis-cache/blob/develop/FAQ.md and decided to add on the wp.config.php the following: redis-cli PING
- // adjust Redis host and port if necessary
- define( ‘WP_REDIS_HOST’, ‘127.0.0.1’ );
- define( ‘WP_REDIS_PORT’, 6379 );
- // change the prefix and database for each site to avoid cache data collisions
- define( ‘WP_REDIS_PREFIX’, ‘my-moms-site’ );
- define( ‘WP_REDIS_DATABASE’, 0 ); // 0-15
- // reasonable connection and read+write timeouts
- define( ‘WP_REDIS_TIMEOUT’, 1 );
- define( ‘WP_REDIS_READ_TIMEOUT’, 1 );
# or specify a custom host/port
redis-cli -h 127.0.0.1 -p 6379 PING
what i got at the end is a Blank Home page….How i can solve this plugins are deactivated apart from Redis 2.3.0 and and themes are up to date ,i am using Php 8.0 wp 6.2 Version
The page I need help with: [log in to see the link]
- The topic ‘from wp critical error to blank Homepage’ is closed to new replies.