Actually a few notices, on the 7.x-1.x-AJAX branch.
Notice: Undefined index: use_ajax in menu_attach_block_link() (line 155 of menu_attach_block.module).
Notice: Undefined index: no_drop in menu_attach_block_link() (line 155 of menu_attach_block.module).
Notice: Undefined index: use_ajax in menu_attach_block_link() (line 157 of menu_attach_block.module).
Notice: Undefined index: use_ajax in menu_attach_block_link() (line 177 of menu_attach_block.module).
Notice: Undefined index: use_ajax in menu_attach_block_link() (line 155 of menu_attach_block.module).
Notice: Undefined index: no_drop in menu_attach_block_link() (line 155 of menu_attach_block.module).
Notice: Undefined index: use_ajax in menu_attach_block_link() (line 157 of menu_attach_block.module).
Notice: Undefined index: use_ajax in menu_attach_block_link() (line 177 of menu_attach_block.module).
Comment | File | Size | Author |
---|---|---|---|
#1 | Fixed-notices-on-AJAX-rewrite-branch-2270465-1.patch | 1.5 KB | kyletaylored |
Comments
Comment #1
kyletaylored CreditAttribution: kyletaylored commentedPatch attached.
Comment #2
Cameron Tod CreditAttribution: Cameron Tod commentedThat branch seems to have been deleted - could you show me the git history on it?
Comment #3
kristin.e CreditAttribution: kristin.e commentedI have just upgraded to version 7.x-1.20 and now getting the following error on every page load:
Notice: Undefined index: use_ajax in menu_attach_block_link() (line 96 of /sites/all/modules/menu_attach_block/menu_attach_block.module).
Notice: Undefined index: no_drop in menu_attach_block_link() (line 96 of /sites/all/modules/menu_attach_block/menu_attach_block.module).
Notice: Undefined index: use_ajax in menu_attach_block_link() (line 98 of /sites/all/modules/menu_attach_block/menu_attach_block.module).
Notice: Undefined index: on_hover in menu_attach_block_link() (line 113 of /sites/all/modules/menu_attach_block/menu_attach_block.module).
Notice: Undefined index: use_ajax in menu_attach_block_link() (line 152 of /sites/all/modules/menu_attach_block/menu_attach_block.module).
Comment #4
Cameron Tod CreditAttribution: Cameron Tod commentedIf you go back to your menus and resave each one, this error should go away. I will write a little upgrade routine to do this automatically.
Comment #5
guillaumelevieux CreditAttribution: guillaumelevieux commentedHello,
I have got the same problem as kristin.e has. Resave each menu doesn't seem to solve the issue.
Thank you for your help.
G.
Comment #7
Cameron Tod CreditAttribution: Cameron Tod commentedOK - I have written a patch that should stop these notices. Please test this on the dev branch :)
http://cgit.drupalcode.org/menu_attach_block/commit/?id=a7111e4
Comment #8
kristin.e CreditAttribution: kristin.e commentedThanks @cam8001! The patch has gotten rid of those error notices :)
Comment #9
Cameron Tod CreditAttribution: Cameron Tod commentedGreat :)