- Status changed to RTBC
over 1 year ago 10:03pm 30 March 2024 - Status changed to Needs review
about 1 year ago 9:51am 25 June 2024 Change patch #21
Small fix to patch #21 that gave me this error
Warning: Trying to access array offset on value of type bool in Drupal\redis\Controller\ReportController->overview() (line 176 of modules/contrib/redis/src/Controller/ReportController.php).
- Status changed to Needs work
12 months ago 8:18pm 16 August 2024 - π¨πSwitzerland berdir Switzerland
watchdog_exception() is deprecated and removed in D11.
- Status changed to Needs review
11 months ago 10:07am 30 August 2024 - π«π·France Renrhaf π Strasbourg π¦π¦
Adding a patch compatible with the 1.8 version of the module, deprecating watchdog_exception when possible.
- π²π¦Morocco abhou
Having the same issue with version 1.7.0 on AWS, the patch #21 is working for me as expected.
- πͺπΈSpain jonhattan Plasencia
Sorry for making more noise. Here's a simplified approach that rely on INFO command instead of CONFIG.
- π³π±Netherlands Summit
patch #26 worked for me on latest version module, thanks! greetings,
- ππΊHungary Pene
#21 still works like a charm with AWS Redis cache. thanks!
Client Predis
Version 6.2.6
Drupal 9.5.11
Redis 8.x-1.7 - π¬π§United Kingdom mark-mackenzie-nexus
Please can the patch at comment #28 please be added to a production release. It is necessary to allow the module to work with Azure Cache for Redis. Tested successfully from Azure App Service with Drupal 10.3.
- πΊπΈUnited States amy_farrell
Patch at #28 works for me with AWS Elasticache-Redis with Drupal 10.4.5, drupal/redis 1.9.0, and predis 2.4.0.
(I also had to apply a patch from Support TLS for Predis β¨ Support TLS for Predis Needs review to enable this module to provide the "tls" scheme to predis and apparently I'm following @mitokens around on this.)
- Status changed to Closed: duplicate
5 days ago 10:13pm 24 July 2025 - π¨πSwitzerland berdir Switzerland
I believe this has been addressed by π Abstract info-collection RedisController to deal with special environments Active , if not, feel free to reopen.
- π³π±Netherlands eelkeblok Netherlands π³π±
I'm a little doubtful, as π Abstract info-collection RedisController to deal with special environments Active is still calling config() to retrieve the value. I have been running with #28 on a project for a while now, that eliminates that completely. But maybe the condition in there is enough to prevent that from happening.
- π¨πSwitzerland berdir Switzerland
Yes, but it only calls it if the information isn't already available. stats/info/config output seems to vary wildly between different, it is very much possible that while config() might not work on Azure, info() might not work somewhere else. There also are patches here wit different approaches. if necessary we can extend the logic with a try/catch, removing it completely does not seem like a viable option.
- π³π±Netherlands eelkeblok Netherlands π³π±
FWIW, I can't reproduce the original problem anymore. π I had this patch for a site on Platform.sh, maybe they've changed something.
- π¨πSwitzerland berdir Switzerland
I saw that comment and was surprised, we've been using redis on platform.sh since 2015 and never needed this.
- π³π±Netherlands eelkeblok Netherlands π³π±
Weird. I looked through my Git history, but no details. Only confirmation that it was for Platform.sh. I do see that the project is on Redis 6.0 and has been since we added Redis. That's not supported anymore, not sure what the status was when it was added.