Trying to access index.php?q=albums/any_number/edit
gives :

Fatal error: Cannot use object of type stdClass as array in E:\Web Sites\mdb\drupal\modules\taxonomy\taxonomy.module on line 359

I traced this to acidfree.module, on line 226 :
the taxonomy_get_term($path[1]) returns a stdClass object by design, and it's later being used as an array, witch gives errors.

replacing:
$term = taxonomy_get_term($path[1]);
with
$term = (array)taxonomy_get_term($path[1]);

on line 226 fixes the error.

Comments

vhmauery’s picture

I am planning on reworking this part of taxonomy interaction, so this should go away soon...

vhmauery’s picture

Status: Active » Fixed

this should be fixed now in the latest CVS.

vhmauery’s picture

Status: Fixed » Closed (fixed)