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

srobert72’s picture

This error appears since these modifications in code :
http://drupalcode.org/viewvc/drupal/contributions/modules/i18n/i18ntaxon...

srobert72’s picture

Just 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);

srobert72’s picture

Priority: Major » Critical

Error still exists

pomliane’s picture

This typo is also present in version 6.x-1.6. Should the "Version" status be updated according to this?

tomsm’s picture

Version: 6.x-1.x-dev » 6.x-1.6

I confirm that this typo is present in 6.x-1.6.

LarsKramer’s picture

Hi, 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.

tomsm’s picture

@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.

LarsKramer’s picture

Thanks, it worked.

jose reyero’s picture

Status: Active » Fixed

Right. Fixed, thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.