RC6 works perfectly but I get the following errors when I create a node or edit the taxonomy of one

* warning: array_map() [function.array-map]: Argument #2 should be an array in D:\apache\htdocs\mediadev\sites\all\modules\hierarchical_select\modules\hs_taxonomy.module on line 425.
* warning: implode() [function.implode]: Invalid arguments passed in D:\apache\htdocs\mediadev\sites\all\modules\hierarchical_select\modules\hs_taxonomy.module on line 425.
* warning: implode() [function.implode]: Invalid arguments passed in D:\apache\htdocs\mediadev\sites\all\modules\hierarchical_select\modules\hs_taxonomy.module on line 426.
* warning: array_map() [function.array-map]: Argument #2 should be an array in D:\apache\htdocs\mediadev\sites\all\modules\hierarchical_select\modules\hs_taxonomy.module on line 425.
* warning: implode() [function.implode]: Invalid arguments passed in D:\apache\htdocs\mediadev\sites\all\modules\hierarchical_select\modules\hs_taxonomy.module on line 425.
* warning: implode() [function.implode]: Invalid arguments passed in D:\apache\htdocs\mediadev\sites\all\modules\hierarchical_select\modules\hs_taxonomy.module on line 426.

The nodes seem to be created/modified properly. Roll back to RC6 and errors go away.

CommentFileSizeAuthor
#1 340878_taxonomy_token.patch665 byteswim leers

Comments

wim leers’s picture

Title: HS Taxonomy errors in RC7 » HS Taxonomy token errors in RC7
Assigned: Unassigned » wim leers
Status: Active » Fixed
StatusFileSize
new665 bytes

Thanks for the report. Was easy to track down.

Please install RC7 again. Then open modules/hs_taxonomy.module and change line 494 from
return $values;
to
return $terms;

Or apply the attached patch, which I've also committed.

If you would do that, I wouldn't have to put another RC online. Thanks :)

grahamba’s picture

That fixed it! Thanks bunches.

wim leers’s picture

Great, thanks for confirming! :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.