Hi,
I had this issue for RC4, and it remained in RC5...
When I select the lineage of two terms in the content taxonomy field, I get this error message:

>> warning: array_keys() [function.array-keys]: The first argument should be an array in
...\sites\all\modules\hierarchical_select\modules\hs_taxonomy.module on line 388

Nothing is getting saved to the node.
The HS widget save option is set to "Save as tag", but other options don’t change this behavior.

Comments

wim leers’s picture

Title: An error when saving content taxonomy field. » Token support in HS Taxonomy prevents content_taxonomy from working
Component: Code - Content Taxonomy » Code - Taxonomy
Assigned: Unassigned » wim leers
Status: Active » Fixed

Ok so Token works in unexpected(ly stupid) ways… an easy fix though.

Taras Zavaliy’s picture

Thank you for the quick fix Wim!

HS widget for Content_taxonomy is still working with some issues though. For the Multiple values setting it says "This setting is now managed by the Hierarchical Select widget configuration", but if you want to save lineage of terms, you need to enable "Multiple values" setting first, and only then enable HS widget. Otherwise it throws an error in content_taxonomy.module at line 134.

So, I believe, HS widget doesn't automatically manage "Multiple values" setting properly.

wim leers’s picture

Please repeat what you just posted in a separate issue. That's easier to track things. Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)

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