Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The error message shown when the Redis server isn't connected properly is currently very broken and confusing English:
"No Redis client connected, this module is useless thereof. Ensure that you enabled module using it or disable it."
The attached patch converts it to an English sentence.
Comment | File | Size | Author |
---|---|---|---|
redis-error-message.patch | 649 bytes | Crell |
Comments
Comment #2
pounardIndeed, thanks :) It seems weird you ever saw it in the end, I usually don't advise to enable the module in the first place but directly use the cache backend with a correct settings.php configuration. I will apply your patch, thanks.
Comment #3
Crell CreditAttribution: Crell at Platform.sh commentedOf note: I also noticed the same issue in the new 8.x alpha branch. It should get applied there, too.
I suspect it was added originally by a non-english speaker, and because the module is rarely enabled no one saw it. I spotted it while doing testing of Redis support for Platform.sh, for which I did want the module enabled for... exactly that error message to confirm if what I was doing worked correctly. :-)
Should this be RTBCed then?
Comment #4
pounardYes I am the non-english speaker, thank you for the reminder :)
Comment #7
pounardIt's been a long time this was waiting for a commit, thanks, and sorry for the delay :)