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
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.

AttachmentSize
memcache.patch583 bytes

#1

cyberswat - December 7, 2009 - 21:29

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

 
 

Drupal is a registered trademark of Dries Buytaert.