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.
Hi
I have installed varaible translation and translation management and I get a white screen trying to list links in a menu. The httpd error log shows:
PHP Fatal error: Call to undefined function _i18n_variable_init() in [path edited]/drupal/sites/all/modules/translation_management/icl_content/icl_content.menus.inc on line 209
Grepping through the source of the entire Drupal installation directory shows no function _i18n_variable_init() anywhere, but referenced in 2 translation management files:
sites/all/modules/translation_management/icl_content/icl_content.module: $i18n_v_target = _i18n_variable_init($code);
sites/all/modules/translation_management/icl_content/icl_content.menus.inc: $i18n_v_orig = _i18n_variable_init($default->language);
Comments
Comment #1
moltra CreditAttribution: moltra commentedNot sure if this is caused by the same bug, but here is the error I am getting. I had to type this in by hand, so I hope there is not something I typed wrong.
Undefined property: stdClass::$nid in icl_content_nodeapi()(line 1000 of /home/content/20/8959120/html/sites/all/modules/translation_management/icl_content/icl_content.module).
Comment #2
spyckedelic CreditAttribution: spyckedelic commentedI am having the same problem. I can't access structure > menu > main menu
It gives me this error:
"Fatal error: Call to undefined function _i18n_variable_init() in ... sites/all/modules/translation_management/icl_content/icl_content.menus.inc on line 209"
I am using panopoly drupal and I would love a fix for this as this is VERY crucial to make my site work ...
Comment #3
zhuber CreditAttribution: zhuber commentedThis is a duplicate of http://drupal.org/node/1115426
It looks like this issue has been resolved by this patch http://drupal.org/node/1115426#comment-4735122, and should be included in the next dev release.