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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | global_var_corruption_fix.patch | 1.25 KB | Anonymous (not verified) |
Comments
Comment #1
hass commentedProvide a patch, please
Comment #2
Anonymous (not verified) commentedOh, sorry. Here it is. (Works with 6.x-1.x-dev)
Comment #3
hass commentedComment #4
jose reyero commentedFixed, thanks