Closed (fixed)
Project:
Internationalization
Version:
6.x-1.6
Component:
Taxonomy
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Jul 2010 at 17:10 UTC
Updated:
23 Sep 2010 at 14:50 UTC
I found this error on my pages :
Fatal error: Call to undefined function i18n_taxonomy_translate_term_name() in /drupal/sites/all/modules/i18n/i18ntaxonomy/i18ntaxonomy.module on line 519
Comments
Comment #1
srobert72 commentedThis error appears since these modifications in code :
http://drupalcode.org/viewvc/drupal/contributions/modules/i18n/i18ntaxon...
Comment #2
srobert72 commentedJust a typo error.
Ligne 519 should be
$options[$vname][$term->tid] = str_repeat('-', $term->depth) . i18ntaxonomy_translate_term_name($term->tid, $term->name);
instead of
$options[$vname][$term->tid] = str_repeat('-', $term->depth) . i18n_taxonomy_translate_term_name($term->tid, $term->name);
Comment #3
srobert72 commentedError still exists
Comment #4
pomliane commentedThis typo is also present in version 6.x-1.6. Should the "Version" status be updated according to this?
Comment #5
tomsm commentedI confirm that this typo is present in 6.x-1.6.
Comment #6
LarsKramer commentedHi, I get this message when using the builtin search function of Drupal. In stead of a list of results, I get a blank screen with this error message. I am using 6.x.1.6, but not sure if the error was there before upgrading.
Comment #7
tomsm commented@Lars Kramer
The error is not present in the previous version 6.x-1.5.
This error is caused by a typo, see #2.
If you correct this (remove the _ ) the error disappears.
So the solution is very easy.
Comment #8
LarsKramer commentedThanks, it worked.
Comment #9
jose reyero commentedRight. Fixed, thanks.