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.
XMLSiteMap fails when i18n is enabled because i18n_get_lang_prefix does not exists in i18n module for 6.x
In xmlsitemap.module, line 772:
if (module_exists('i18n')) {
i18n_get_lang_prefix($result, TRUE);
}
It fail when i 18n is installed because i18n for 6.x has dropped the i18n_get_lang_prefix function.
I suggest comment the code while it is fixed.
Comment | File | Size | Author |
---|---|---|---|
#1 | xmlsitemap_fix_i18n.txt | 706 bytes | wayland76 |
Comments
Comment #1
wayland76 CreditAttribution: wayland76 commentedThis one's my fault. An earlier version of the 6.x patch had these already commented out. I now also realise why they worked on my test system. Patch attached.
Comment #2
Darren OhFixed in CVS commit 118256.
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.