In i18taxonomy.module function i18ntaxonomy_taxonomy() declares global $language; and then on line 261 overwrites it with local value.
The result is lots of Notices "Trying to get property of non-object" because global $language is an object yet it is overwritten with a string.

Solution: rename local variable $language from line 261 onwards to avoid collision.

CommentFileSizeAuthor
#2 global_var_corruption_fix.patch1.25 KBAnonymous (not verified)

Comments

hass’s picture

Provide a patch, please

Anonymous’s picture

StatusFileSize
new1.25 KB

Oh, sorry. Here it is. (Works with 6.x-1.x-dev)

hass’s picture

Status: Active » Needs review
jose reyero’s picture

Status: Needs review » Fixed

Fixed, thanks

Status: Fixed » Closed (fixed)

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