By seg108 on
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
Found this #766658: Call to
Found this #766658: Call to undefined function i18nstrings_update_object()
The i18nstrings module seems to cause loads of problems (#780976: Replace obsolete functions tt() & to() with i18nstrings() & i18nstrings_update() - WSOD(!), #768948: Replace obsolete functions tt() & to() with i18nstrings() & i18nstrings_update()) so if you have a test install you could check out the dev version of i18n.
SOLVED :)
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.