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.
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
Comment #1
Tech_Detective CreditAttribution: Tech_Detective commentedThanks 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.
Comment #2
zymphonies-dev CreditAttribution: zymphonies-dev commentedHi,
Updated issue. please download updated version.
Thanks,
Zymphonies
http://www.zymphonies.com/
Comment #3
aiirtime CreditAttribution: aiirtime commentedThank you,
it fixed it for me too.
Comment #4
BrankoC CreditAttribution: BrankoC as a volunteer commentedAm I missing something? I don't see any indication that this fix has actually been released. Version 1.7 still causes the error.