Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
[18-May-2008 00:12:43] PHP Fatal error: Cannot use object of type stdClass as array in /Users/bart/htdocs/nederdev/modules/i18n/i18n.module on line 264
I am getting this error when I have enabled Multilingual Taxonomy. I have set up two vocabs, one for English pages, another for Dutch pages. I have also created one node in each language with one term each. After that I tried to check out the terms per vocabulary at /admin/content/taxonomy/2 and my PHP log showed this error message.
Comment | File | Size | Author |
---|---|---|---|
#7 | i18n_259722.patch | 912 bytes | drewish |
Comments
Comment #1
markus_petrux CreditAttribution: markus_petrux commentedAlso found this error. Sorry for not having the tools to generate a patch at hand, though the fix is pretty simple. That line 264 looks like:
and it should look like:
Comment #2
AaronCollier CreditAttribution: AaronCollier commentedComment #3
andershal CreditAttribution: andershal commentedI can confirm both the problem and the patch suggested here. Don't know if thats enough to qualify for "reviewed and tested by the community" :-)
Comment #4
AaronCollier CreditAttribution: AaronCollier commentedIf that's three people, it works for me.
Comment #5
gmknowles CreditAttribution: gmknowles commentedThank you for the fix. That worked.
Comment #6
Skiller-1 CreditAttribution: Skiller-1 commentedSame here. Fix worked.
Best wishes
C.
Comment #7
drewish CreditAttribution: drewish commentedsimple fix and jose seems really busy so committing the attached to head.
Comment #8
drewish CreditAttribution: drewish commentedmarked #256223: Fatal error upong adding terms as a duplicate
Comment #9
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.