Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When saving my Main menu on "admin/structure/menu/manage/main-menu", I got the following Notice:
Notice: Undefined index: attributes in i18n_menu_menu_link_update() (regel 273 van /home/diederik/Openbaar/dev/mobiel21.statiklabs.be/sites/all/modules/i18n/i18n_menu/i18n_menu.module).
I reordered some of the links (moved a first-level item with a subtree under another first-level menu-item) and disabled the "Home" link.
The settings seem to be saved though.
Comment | File | Size | Author |
---|---|---|---|
#2 | 1125816.patch | 3.12 KB | fietserwin |
Comments
Comment #1
fietserwinpatch attached (patch does contain some white space removal). The only line that really changed:
from:
to:
This situation (i.e. !isset($link['options']['attributes']['title']) is to be expected as not all menu items will define a title attribute as this is the on-hover tooltip, not the menu title itself.
Comment #2
fietserwinand now the patch...
Comment #3
joostvdl CreditAttribution: joostvdl commentedPatch from #2 works
Comment #4
Jose Reyero CreditAttribution: Jose Reyero commentedFixed in latest -dev.
Thanks for the patch.
Comment #5
joostvdl CreditAttribution: joostvdl commentedThis patch is not in -beta5, only in -dev