Can anyone please help me with this?

(i18n discourages support requests in issue queue, so posting this here.)

On running update.php following upgrade from i18n 6.1.2 to i18n 6.1.4, I receive the following fatal error:

Call to undefined function i18nstrings_update_context() in sites/all/modules/i18n/i18nblocks/i18nblocks.install on line 148:

i18nstrings_update_context($old, $new);

The update process was aborted prematurely while running update #6001 in i18nblocks.module.

Can anyone please walk me through how to remedy this?

Thanks.

Comments

dddave’s picture

seg108’s picture

i18nblock.install
Add to line 142 of i18nblock.install require_once drupal_get_path('module', 'i18nstrings') .'/i18nstrings.module';
Before $ret = array();
Then run update.php

i18nprofile.install
Add to line 23 of i18nprofile.install require_once drupal_get_path('module', 'i18nstrings') .'/i18nstrings.module';
Before $items = array();
Then run update.php

Thanks ufku.