try this on line 713 of image.module, otherwise it gives an error:
$arr = array('name' => t('Image Galleries'), 'multiple' => '0', 'required' => '0', 'hierarchy' => '1', 'relations' => '0', 'module' => 'image', 'nodes' => array('image'))
$vocabulary = taxonomy_save_vocabulary($arr); // here: this is a variable containing an array, not the array itself.
Comments
Comment #1
drewish commentedthis has been fixed in recent versions.