Error after updating Menu Attach Block to 7.x-1.20

I have started with the full demo install.

After updating core to 7.34 and most modules I also update menu attach block and then I get the following error on front page:

Notice: Undefined index: use_ajax in menu_attach_block_link() (line 96 of /home2/demosite/drupal/sites/all/modules/menu_attach_block/menu_attach_block.module).
Notice: Undefined index: no_drop in menu_attach_block_link() (line 96 of /home2/demosite/drupal/sites/all/modules/menu_attach_block/menu_attach_block.module).
Notice: Undefined index: use_ajax in menu_attach_block_link() (line 98 of /home2/demosite/drupal/sites/all/modules/menu_attach_block/menu_attach_block.module).
Notice: Undefined index: on_hover in menu_attach_block_link() (line 113 of /home2/demosite/drupal/sites/all/modules/menu_attach_block/menu_attach_block.module).
Notice: Undefined index: use_ajax in menu_attach_block_link() (line 152 of /home2/demosite/drupal/sites/all/modules/menu_attach_block/menu_attach_block.module).
Notice: Undefined index: use_ajax in menu_attach_block_link() (line 96 of /home2/demosite/drupal/sites/all/modules/menu_attach_block/menu_attach_block.module).
Notice: Undefined index: no_drop in menu_attach_block_link() (line 96 of /home2/demosite/drupal/sites/all/modules/menu_attach_block/menu_attach_block.module).
Notice: Undefined index: use_ajax in menu_attach_block_link() (line 98 of /home2/demosite/drupal/sites/all/modules/menu_attach_block/menu_attach_block.module).
Notice: Undefined index: on_hover in menu_attach_block_link() (line 113 of /home2/demosite/drupal/sites/all/modules/menu_attach_block/menu_attach_block.module).
Notice: Undefined index: use_ajax in menu_attach_block_link() (line 152 of /home2/demosite/drupal/sites/all/modules/menu_attach_block/menu_attach_block.module).
Notice: Undefined index: use_ajax in menu_attach_block_link() (line 96 of /home2/demosite/drupal/sites/all/modules/menu_attach_block/menu_attach_block.module).
Notice: Undefined index: no_drop in menu_attach_block_link() (line 96 of /home2/demosite/drupal/sites/all/modules/menu_attach_block/menu_attach_block.module).
Notice: Undefined index: use_ajax in menu_attach_block_link() (line 98 of /home2/demosite/drupal/sites/all/modules/menu_attach_block/menu_attach_block.module).
Notice: Undefined index: on_hover in menu_attach_block_link() (line 113 of /home2/demosite/drupal/sites/all/modules/menu_attach_block/menu_attach_block.module).
Notice: Undefined index: use_ajax in menu_attach_block_link() (line 152 of /home2/demosite/drupal/sites/all/modules/menu_attach_block/menu_attach_block.module).

I have found a way to fix this for the time being by not updating the menu_attach_block module. It's not really a fix but it gets the messages from popping up until they truly fix that module's source.

 

If you have already updated it i would uninstall that module and reinstall an earlier version of it that works. if you have trouble let me know ill link the one that i downloaded.

Yes that's the same workaround that I'm using.

Since you always make a backup of files and DB before updating it was just a matter of reverting to the backup.

Regards

Easy solution!  Just go to each of your attached menus, and resave that menu item.  It will clear the errors and they won't come back.

Hello,

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

See it for detail: https://www.drupal.org/node/2270465#comment-9682835

I have resaved the menu items and the message have gone away, but it is not showing anything in the horizontal block menu, only the titles, anyone knows what it could be?

Hello,

Please check you have checked on checkbox Show expanded on load in menu item block attach

Thank you.