On a new install of drupal 7.x dev dated 5/9 enabling the menu_icons module generates several errors immediately. 1st are the temporary file errors reported earlier: . Then whenever I open any menu item for edit(before I make any changes) the following messages are generated:
Notice: Undefined index: menu_icon in menu_icons_form_alter() (line 46 of /Users/rocks/Sites/dru0509/sites/all/modules/menu_icons/menu_icons.module).
Notice: Undefined index: menu_icon in menu_icons_form_alter() (line 57 of /Users/rocks/Sites/dru0509/sites/all/modules/menu_icons/menu_icons.module).
It looks like 'function menu_icons_form_alter' uses $option variables that won't exist until a menu item is actually modified to use icons. Of course, once they are created they are there forever, for that menu item, and the error disappears, but just for that menu item.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 0001-fixed-1151130-php-notices-when-no-icon-options-are-d.patch | 1016 bytes | geek-merlin |
Comments
Comment #1
dcrocks commentedThe file errors are shown in http://drupal.org/node/802862. It looks like more initialization problems.
Comment #2
clemens.tolboomJust make a better xref. This is similar to #802862: temporary directory problem
Powered by Dreditor (triage sandbox) and Triage transitions
Comment #3
paulgemini commentedsubscribing
Comment #4
Oleksandr.Masovets commentedsubscribing
Comment #5
geek-merlinkilled this too.
Comment #6
dcrocks commented#5 worked for me
Comment #7
geek-merlinso rtbc
Comment #8
skilip commentedFixed in 7.x-3.x. Thanks al lot!