When redis module is installed, but not configured through settings.php (We have redis on our production box, but I don't have it on a local machine), it spits out the following:
Notice: Undefined index: redis_client_interface in require_once() (line 43 of /Users/tom/workspace/abc/profiles/abc/modules/contrib/redis/redis.autoload.inc). Backtrace:
require_once('/Users/tom/workspace/abc/profiles/abc/modules/contrib/redis/redis.autoload.inc') redis.module:13
include_once('/Users/tom/workspace/abc/profiles/abc/modules/contrib/redis/redis.module') bootstrap.inc:1128
drupal_load('module', 'redis') module.inc:24
module_load_all() common.inc:5029
_drupal_bootstrap_full() bootstrap.inc:2201
drupal_bootstrap(7) index.php:20
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1887544-redis-undefined-warning.patch | 450 bytes | mrfelton |
Comments
Comment #1
mrfelton commentedComment #2
pounardThanks for reporting and thanks for the patch, I'll commit this as soon as I can.
Note that this variable is mandatory, without the Redis module can't guess which backend to use. I'd recommend that you add it anyway in your settings.php file, especially if you're using it for early loaded caches (for example, the page cache or the bootstrap cache that will contain variables).
Comment #3
pounardPushed and created the new 7.x-2.0-beta3 release.
Thanks.