I just installed i18n module, and when I activated it, I got the error message in the header. Seems to be caused by a simple error in the code.

111: if (module_exists('i18n')) {
112: $main_menu_tree = i18n_menu_translated_tree(variable_get('menu_main_links_source', 'main-menu'));

I changed line 111 to

if (module_exists('i18n_menu')) {

which seems to have fixed the problem.

Comments

Tech_Detective’s picture

Thanks so much, I just found this issue via Google when I ran into it - The step you mentioned solved the same exact problem using a Responsive theme and the Recruiter Module on my latest project.

zymphonies-dev’s picture

Status: Active » Closed (fixed)

Hi,

Updated issue. please download updated version.

Thanks,
Zymphonies
http://www.zymphonies.com/

aiirtime’s picture

Thank you,

it fixed it for me too.

BrankoC’s picture

Am I missing something? I don't see any indication that this fix has actually been released. Version 1.7 still causes the error.