• Resolved adnanshawkat

    (@adnanshawkat)


    Hi there,

    I’m trying to connect the Redis cache on WPEngine for that I’ve disabled their object caching & then cleared their cache & tried again but the cache status was saying not connected. I’m not getting anything why it’s not connected seems my site has Redis installed for sure. It’s a multisite I want to share. Here’s the diagnostic report for investigation:

    
    Status: Not connected
    Client: PhpRedis (v5.3.1)
    Drop-in: Valid
    Disabled: No
    Ping: 
    Connection Exception: Connection refused (RedisException)
    Errors: [
        "Connection refused"
    ]
    PhpRedis: 5.3.1
    Predis: Not loaded
    Credis: Not loaded
    PHP Version: 7.4.13
    Plugin Version: 2.0.17
    Redis Version: Unknown
    Multisite: Yes
    Filesystem: Working
    Global Prefix: ""
    Blog Prefix: 1
    WP_REDIS_PREFIX: "55e5c766c6db56e4"
    WP_CACHE_KEY_SALT: "55e5c766c6db56e4"
    Global Groups: [
        "blog-details",
        "blog-id-cache",
        "blog-lookup",
        "global-posts",
        "networks",
        "rss",
        "sites",
        "site-details",
        "site-lookup",
        "site-options",
        "site-transient",
        "users",
        "useremail",
        "userlogins",
        "usermeta",
        "user_meta",
        "userslugs",
        "redis-cache"
    ]
    Ignored Groups: [
        "counts",
        "plugins",
        "themes",
        "blog-details",
        "blog-id-cache",
        "blog-lookup",
        "global-posts",
        "networks",
        "rss",
        "sites",
        "site-details",
        "site-lookup",
        "site-options",
        "site-transient",
        "users",
        "useremail",
        "userlogins",
        "usermeta",
        "user_meta",
        "userslugs",
        "redis-cache",
        "blog_meta"
    ]
    Unflushable Groups: []
    Drop-ins: [
        "advanced-cache.php v by ",
        "Redis Object Cache Drop-In v2.0.17 by Till Krüss"
    ]
    

    Enabling this would create some fatal errors also

    
    166 PHP Fatal error:  Uncaught Error: Call to a member function get() on null in /nas/content/live/ladybossmaster/wp-content/object-cache.php:611\nStack trace:\n#0 /nas/content/live/ladybossmaster/wp-content/object-cache.php(387): WP_Object_Cache->get_generation('default')\n#1 /nas/content/live/ladybossmaster/wp-content/object-cache.php(309): WP_Object_Cache->key('last_changed', 'sites')\n#2 /nas/content/live/ladybossmaster/wp-content/object-cache.php(72): WP_Object_Cache->get('last_changed', 'sites')\n#3 /nas/content/live/ladybossmaster/wp-includes/functions.php(7090): wp_cache_get('last_changed', 'sites')\n#4 /nas/content/live/ladybossmaster/wp-includes/class-wp-site-query.php(340): wp_cache_get_last_changed('sites')\n#5 /nas/content/live/ladybossmaster/wp-includes/class-wp-site-query.
    php(254): WP_Site_Query->get_sites()\n#6 /nas/content/live/ladybossmaster/wp-includes/ms-site.php(464): WP_Site_Query->query(Array)\n#7 /nas/content/live/ladybossmaster/wp-includes/ms-load.php(255): get_sites(Array)\n#8 /nas/content/live/ladybossmaster/wp-in in /nas/content/live/ladybossmaster/wp-content/object-cache.php on line 611
    

    Can you help us here?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    I don’t think WP Engine runs Redis Server, can you ask their support staff for that?

    Thread Starter adnanshawkat

    (@adnanshawkat)

    WPE officially doesn’t support Redis but they’ve shown that the phpinfo has redis listed & activated. And from the debug or diagnostics report I think. What do you think about this?

    Plugin Author Till Krüss

    (@tillkruess)

    Is Redis Server installed, not the PhpRedis extension?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cache is not connected’ is closed to new replies.