Following the update to 1.4 and then to 1.x dev (build of Feb 6), my site crashes badly with the following notices. So bad that the admin for managing Menus is unavailable. With Menu Translation disabled the site performs ok, with the exception that all the language translation for the menus are listed at once.

Notice: Use of undefined constant MENU_PREFERRED_LINK - assumed 'MENU_PREFERRED_LINK' in i18n_menu_init() (line 786 of /sites/all/modules/i18n/i18n_menu/i18n_menu.module).
Notice: Use of undefined constant MENU_PREFERRED_LINK - assumed 'MENU_PREFERRED_LINK' in i18n_menu_init() (line 824 of /sites/all/modules/i18n/i18n_menu/i18n_menu.module).
Notice: Use of undefined constant MENU_PREFERRED_LINK - assumed 'MENU_PREFERRED_LINK' in i18n_menu_init() (line 826 of /sites/all/modules/i18n/i18n_menu/i18n_menu.module).
Notice: Undefined index: menu_name in menu_tree_page_data() (line 1249 of /includes/menu.inc).
Notice: Undefined index: menu_name in menu_set_active_trail() (line 2343 of /includes/menu.inc).
Notice: Undefined index: menu_name in menu_tree_page_data() (line 1249 of /includes/menu.inc).
Notice: Undefined index: p1 in menu_tree_page_data() (line 1253 of /includes/menu.inc).
Notice: Undefined index: p2 in menu_tree_page_data() (line 1253 of /includes/menu.inc).
Notice: Undefined index: p3 in menu_tree_page_data() (line 1253 of /includes/menu.inc).
Notice: Undefined index: p4 in menu_tree_page_data() (line 1253 of /includes/menu.inc).
Notice: Undefined index: p5 in menu_tree_page_data() (line 1253 of /includes/menu.inc).
Notice: Undefined index: p6 in menu_tree_page_data() (line 1253 of /includes/menu.inc).
Notice: Undefined index: p7 in menu_tree_page_data() (line 1253 of /includes/menu.inc).
Notice: Undefined index: p8 in menu_tree_page_data() (line 1253 of /includes/menu.inc).
Notice: Undefined index: href in menu_set_active_trail() (line 2380 of /includes/menu.inc).
Notice: Undefined index: type in menu_get_active_title() (line 2551 of /includes/menu.inc).
Notice: Undefined index: title in menu_get_active_title() (line 2552 of /includes/menu.inc).
Notice: Undefined index: href in menu_get_active_breadcrumb() (line 2516 of /includes/menu.inc).
Notice: Undefined index: title in menu_get_active_breadcrumb() (line 2538 of /includes/menu.inc).
Notice: Undefined index: href in menu_get_active_breadcrumb() (line 2538 of /includes/menu.inc).
Notice: Undefined index: localized_options in menu_get_active_breadcrumb() (line 2538 of /includes/menu.inc).
Recoverable fatal error: Argument 3 passed to l() must be an array, null given, called in /includes/menu.inc on line 2538 and defined in l() (line 2307 of /includes/common.inc).

Comments

moniuch’s picture

Status: Active » Closed (fixed)

solved

arne_hortell’s picture

how?

xcono’s picture

Some notices...
Uninstal module, update Drupal to 7.12, install each module separately. It works.

moniuch’s picture

arne_hortell’s picture

A tiny problem...
As i earlier read, D7.12 seems to have some issues with menus and their submenus which currently keeps me from upgrading to 7.12 and if running 7.10 i cant use the i18n...
Any ideas to solve this?

colan’s picture

Status: Closed (fixed) » Closed (duplicate)

@arne: What are the other issues? Please link to them over at the other issue: #1351678: Follow menu_link_get_preferred active trail handling for custom menus.

arne_hortell’s picture

Well,

I tried it and all menu links was deleted, after upgrading to 7.12
Now I redid all menus, all links but i18n is still lots of bugs in it so I can't use it
And are stuck with gt instead.

I simply warn everyone for 7.12 regarding menus,submenus.
I18n simply don't work, gets errors and warnings everywhere.

colan’s picture

Did you update your DB schema, update.php or "drush updb"? Several changes there.

arne_hortell’s picture

I did run update AND when that didnt work
I unchecked, uninstalled everything and then reinstalled it again.
No change.

colan’s picture

I just did the upgrade, and I can't reproduce this. Everything works fine for me. It's probably something specific to your configuration, as it doesn't look like anyone else is having problems either.