• Resolved boardboss

    (@boardboss)


    Hi – Recently we were doing some troubleshooting on a server, and one of the server admins temporarily disabled the Redis cache module. I did not know this at the time and was editing some settings in W3 Total Cache. When I attempted to save the settings and purge the caches, I was met with a ‘WordPress has encountered an error on your site’ message.

    When I checked the corresponding email, I saw this detailed message:

    An error of type E_ERROR was caused in line 348 of the file /home/REMOVED/public_html/wp-content/plugins/w3-total-cache/Cache_Redis.php. Error message: Uncaught Error: Class ‘Redis’ not found in /home/REMOVED/public_html/wp-content/plugins/w3-total-cache/Cache_Redis.php:348

    While this is not likely to be a common situation, you might consider adding a way to gracefully recover from this situation without triggering a technical issue email. Maybe just display a notice in the admin area?

Viewing 1 replies (of 1 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @boardboss

    Thank you for your suggestion.
    As you already stated, this is not a common situation and of course not a question or issue we encountered in the past and also, this is not one of the predictable issues.
    I’ll bring this up to the team and see if there is a possibility we can add a notification. However, please understand that this is a WP error that cannot be prevented when these things happen.
    THanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Graceful fallback if the Redis module is disabled?’ is closed to new replies.