Closed (fixed)
Project:
Superfish Dropdown Menu
Version:
7.x-1.8
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Mar 2012 at 21:27 UTC
Updated:
10 Apr 2012 at 01:50 UTC
This is from openchurch:
Notice: Undefined offset: 1 in superfish_contents() (line 484 of /home1/austinsl/public_html/homelessadvocacyministry/profiles/openchurch/modules/contrib/superfish/superfish.module).
The line in question:
list($menu_name, $mlid) = explode(':', variable_get('superfish_menu_' . $delta, 'main-menu:0')); assumes an mlid. I think strongarm is only storing 'main-menu' as the value but superfish_contents is expecting the mlid.
Maybe you could break this in a couple different lines and use a couple isset() calls to verify the values?
Comments
Comment #1
drupalninja99 commentedI fixed this by manually editing the strongarm value to be main-menu:0 - maybe when I stored it originally it was prior to some update? Anywho this is fixed now.