Support » Plugin: Redis Object Cache » Redis diagnostic not working on new version

  • Resolved diegpl

    (@diegpl)


    When I click on Redis diagnostic I get this message:
    <div class=”wp-die-message”><p>There has been a critical error on your website. Please check your site admin email inbox for instructions.</p><p>Learn more about debugging in WordPress.</p></div></body>
    </html>

    Also, did we lose anything on this new version? I was testing the speed and I am feeling it is a little bit slower than before.

    Thank you!

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

    (@tillkruess)

    Can you check your PHP error log and post any errors that you see?

    I have set redis.conf loglevel from “warning” to “debug” and checked /etc/httpd/logs/error_log but did not see anything there. Should I check for the errors on another file? Tks.

    Plugin Author Till Krüss

    (@tillkruess)

    Try enabling WP’s debug log, that should write to wp-content/debug.log

    I found this in my logs,

    [19-Nov-2019 14:50:02 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method WP_Object_Cache::redis_version() in /home/web/site/public_html/wp-content/plugins/redis-cache/redis-cache.php:219
    Stack trace:
    #0 /home/web/site/public_html/wp-content/plugins/redis-cache/redis-cache.php(358): RedisObjectCache->get_redis_version()
    #1 //home/web/site/public_html/wp-includes/class-wp-hook.php(286): RedisObjectCache->gather_metrics()
    #2 /home/web/site/ublic_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
    #3 /home/web/site/public_html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
    #4 /home/web/site/public_html/wp-cron.php(133): do_action_ref_array('redis_gather_me...', Array)
    #5 {main}
      thrown in /home/web/site/public_html/wp-content/plugins/redis-cache/redis-cache.php on line 219

    Status: Connected
    Redis Version: 5.0.5
    Client: PhpRedis (v5.0.2)
    Drop-in: Valid
    Ping: 1
    Redis Extension: 5.0.2
    Predis Client: 1.1.1
    PHP Version: 7.2.21
    Multisite: No

    Plugin Author Till Krüss

    (@tillkruess)

    Update the dropin. Or deactivate the cache once and turn it back on. Not the plugin tho.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.