When trying to delete a Taxonomy Term the following PHP error is thrown:

[Sun Jun 15 15:43:52 2014] [warn] [client *.*.*.*] mod_fcgid: stderr: PHP Fatal error:  Cannot use object of type stdClass as array in <path>/sites/all/modules/taxonomy_subterms/taxonomy_subterms.module on line 123, referer: http://<domain>/taxonomy/term/3/edit?destination=admin%2Fstructure%2Ftaxonomy%2Finfomration_pages&render=overlay

Comments

aout’s picture

I experienced the same problem. I was able to fix the issue by changing line 123 of taxonomy_subterms.module from:

$term=$form['#term'];

to:

$term=get_object_vars($form['#term']);

I have not had an opportunity to do much testing/validation on this however. Any thoughts on this fix?

matolog’s picture

Thanks, This fix resolves this problem