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

Ljungqvist’s picture

I have got the same problem after the last update of translation module.

Ljungqvist’s picture

I fixed the problem with a core update to Drupal 7.12

ytsurk’s picture

helps definitly ;)

aha - interesting ..

knalstaaf’s picture

It destroyed my submenu's but an upgrade of Menu Block (of which the submenu's are built) solved this (after a clear cache).

gayathrik31’s picture

i have drupal 7.7 but same problem exits

knalstaaf’s picture

I'd consider to update to D7.35 first and see if that solves the issue.

colan’s picture