Notice: Undefined index: cache
mauritsl - September 17, 2009 - 15:15
| Project: | Memcache API and Integration |
| Version: | 6.x-1.4 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
While running update.php I got the following notice:
Notice: Undefined index: cache in /(cut)/sites/all/modules/memcache/memcache.inc on line 32
The update script failed (cause this notice) with the message: "An unrecoverable error has occurred. You can find the error message below. It is advised to copy it to the clipboard for reference.".
The check $cache_tables[$table] should be isset($cache_tables[$table]), see patch.
| Attachment | Size |
|---|---|
| memcache.patch | 583 bytes |

#1
We were getting this as well during normal operation ... the above patch stopped the errors.