Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When $wp_object_cache->is_redis_connected is false there is a fatal error for $missing_redis_message #377

Closed
timnolte opened this issue Dec 1, 2022 · 4 comments

Comments

@timnolte
Copy link
Contributor

timnolte commented Dec 1, 2022

Undefined property: WP_Object_Cache::$missing_redis_message in [/var/www/html/web/wp-content/plugins/wp-redis/wp-redis.php ]

   if ( ! defined( 'WP_REDIS_OBJECT_CACHE' ) || ! WP_REDIS_OBJECT_CACHE ) { 
       return new WP_Error( 'wp-redis', 'WP Redis object-cache.php file is missing from the wp-content/ directory.' );
   } 
   if ( ! $wp_object_cache->is_redis_connected ) { 
       return new WP_Error( 'wp-redis', $wp_object_cache->missing_redis_message );
   } 
@jspellman814
Copy link

Thanks for this report! We are tracking internally as BUGS-5623.

@rwagner00
Copy link
Contributor

Quick question -- is the Redis module enabled on the site in question?

@timnolte
Copy link
Contributor Author

Yes

@scottbuscemi
Copy link

@timnolte We pushed an update based off of this, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants