I've found this error on taxonomy/term/% pages after disabling node listing on it using Disable Term Node Listings module.
But i think it isn't caused by Disable Term Node Listings module because it's only alter the menu return content.
So i did quick fix in i18n_taxonomy.module line 461, function i18n_taxonomy_term_name.
This works fine for my current project.
I think if i18n_taxonomy_term_name works the same functioning, this i18n_taxonomy_term_description function may also need to be fix.
Check out the screenshots
Original code

Quick fix

Please update the module with proper fixes.
Thanks.
Comments
Comment #2
thihathit commentedComment #3
thihathit commentedComment #4
kapil.ropalekar commentedHi thiha.c,
Yes i can confirm that these warnings do appear while using the Disable Term Node Listings module along with Internationalization.
I have verified and created a patch to fix this issue as per your suggested changes. Warnings also appearing on 1.x-1.x-dev thus updating version.
Thanks !
Comment #5
kapil.ropalekar commentedComment #6
joseph.olstadComment #7
joseph.olstadtrigger testbot for simpletest
Comment #8
joseph.olstadrerolled the patch to get simpletest testbot to wake up.
Comment #9
giupenni commented#8 fix for me.
Thanks
Comment #10
joseph.olstadWhile the other patch might have gotten rid of the notice when the key is invalid, this one should at least return something of a term name when the key is invalid.
Comment #11
nikolino commentedI tried to apply the patch but I keep giving that error.
Any ideas?
Thanks
Comment #12
joseph.olstadtry applying the patch to the latest 7.x-1.x dev version of i18n, or the latest release version.
Comment #13
joseph.olstadI wouldn't say this is critical.
as it's just a notice.
But the patches above don't look right.
Comment #14
rajiv.singh commentedRe Rolled Patch #8 for v. 7.x-1.25
Comment #15
joseph.olstadI don't like the patch, seems wrong to me.
what should the return value be when the condition is FALSE ?
Comment #16
wOOge commentedShould there even be something returned? I don't think so.
Comment #17
wOOge commentedI can confirm patch in #14 works.