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.
when submitting a category as a child of a container I get a wsod with the error:
Fatal error: Cannot use object of type stdClass as array in C:\wamp\www\d6test\sites\localhost.d6test\modules\category\wrappers\taxonomy\taxonomy.module on line 69
I also receive the same error when trying to delete a category or container. I have tried removing and uninstalling the module and still receive the error
Comments
Comment #1
luckysmack CreditAttribution: luckysmack commentedok this doesnt only happen if the submitted content is a child, other one i tried was a parent and onther was neither parent or child and have had the same error
Comment #2
cincy_kid CreditAttribution: cincy_kid commentedI am having the same exact issue....
any work arounds?
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedIn case you haven't solved this yet, in file modules/category/wrappers/taxonomy.module, line 69:
replace
return 'node/'. $term['tid'];
with
return 'node/'. $term->tid;
Comment #4
Jaza CreditAttribution: Jaza commented@etzel: thanks. Fix committed to HEAD. This fix will be included in the next alpha release.
There are still quite a few easy-to-fix but critical little bugs like this floating around - that's why we're still in alpha mode.
Comment #5
luckysmack CreditAttribution: luckysmack commentedEtzel: Much appreciated. Fix has worked so far.
Comment #6
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #7
cincy_kid CreditAttribution: cincy_kid commentedI haven't tried this yet but much thanks Etzel, I am going to try this on a test site soon.
Comment #8
MarioTorresp CreditAttribution: MarioTorresp commentedTry:
Tested on Drupal 7.