Getting the following error when memcache extension is missing:
Invalid argument supplied for foreach() in memcache_admin_menu() (line 79 of /var/www/drupalcontrib.org/sites/all/modules/memcache/memcache_admin/memcache_admin.module).
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | invalid-argument-1219176-1.patch | 457 bytes | psynaptic |
Comments
Comment #1
psynaptic commentedSimple patch attached which just returns an empty array.
Comment #2
jwilson3A combination of this and #1156354-2: Called to undefined function dmemcache_object in memcache_admin.module (patch #2.1) solved my problem. Thanks.
Comment #3
catchThanks! Committed/pushed to 6.x-1.x. this might need a 7.x port?
Comment #4
dedisoft commentedYes, same here on 7.x
Thanks
Edit : sorry, yes the patch solves my problem (line 431)
Comment #5
eMPee584 commentedThe same patch applies to D7 cleanly! Please commit this fix ASAP, thx.
Hunk #1 succeeded at 430 with fuzz 2 (offset 5 lines).Comment #6
robin van emden commentedFor me the combination of #1 -and- the patch in the referenced issue from #2 (which contains a D6 based fix for the dmemcache_object error) fixed my problems - should #1156354: Called to undefined function dmemcache_object in memcache_admin.module be reopened for that particular issue?
Comment #7
catchPatch did indeed apply with fuzz to 7.x-1.x, committed/pushed.