Hello, since a couple of days I've been working on my website... well, uhm, rather experimenting. After enabling the translation module everything went wrong. Anyone has an idea how to work this out? The other post concerning "Use of constant MENU_PREFERRED_LINK" wasn't much help to me, sorry. The website is: http://www.dezeegant.com. Many thanks for helping out.
Notice: Use of undefined constant MENU_PREFERRED_LINK - assumed 'MENU_PREFERRED_LINK' in i18n_menu_init() (line 786 of /home/dezeegant/default_www/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 /home/dezeegant/default_www/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 /home/dezeegant/default_www/sites/all/modules/i18n/i18n_menu/i18n_menu.module).
Trying to log in as administrator does not work either www.dezeegant.com/?q=user
Notice: Use of undefined constant MENU_PREFERRED_LINK - assumed 'MENU_PREFERRED_LINK' in i18n_menu_init() (line 786 of /home/dezeegant/default_www/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 /home/dezeegant/default_www/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 /home/dezeegant/default_www/sites/all/modules/i18n/i18n_menu/i18n_menu.module).
Notice: Undefined index: menu_name in menu_set_active_trail() (line 2343 of /home/dezeegant/default_www/includes/menu.inc).
Notice: Undefined index: href in menu_set_active_trail() (line 2380 of /home/dezeegant/default_www/includes/menu.inc).
Notice: Undefined index: href in menu_get_active_breadcrumb() (line 2516 of /home/dezeegant/default_www/includes/menu.inc).
Notice: Undefined index: title in menu_get_active_breadcrumb() (line 2538 of /home/dezeegant/default_www/includes/menu.inc).
Notice: Undefined index: href in menu_get_active_breadcrumb() (line 2538 of /home/dezeegant/default_www/includes/menu.inc).
Notice: Undefined index: localized_options in menu_get_active_breadcrumb() (line 2538 of /home/dezeegant/default_www/includes/menu.inc).
Recoverable fatal error: Argument 3 passed to l() must be an array, null given, called in /home/dezeegant/default_www/includes/menu.inc on line 2538 and defined in l() (line 2307 of /home/dezeegant/default_www/includes/common.inc).
Comments
I have got the same problem
I have got the same problem after the last update of translation module.
Problem fixed!
I fixed the problem with a core update to Drupal 7.12
7.12 update
helps definitly ;)
Submenu gone (solved)
It destroyed my submenu's but an upgrade of Menu Block (of which the submenu's are built) solved this (after a clear cache).
i have drupal 7.7 but same
i have drupal 7.7 but same problem exits
I'd consider to update to D7
I'd consider to update to D7.35 first and see if that solves the issue.
Issue
Issue for this is #1351678: Follow menu_link_get_preferred active trail handling for custom menus.