I want to have one vocabulary called Companies and then I'd like to have 2 fields Author and Publisher. So that when a user enters something like so into these fields:

Author:
Maxis

Publisher:
Maxis

They are created as the one entity in a vocabulary, rather than 2 entities in 2 separate vocabularies. Content Taxonomy throws errors if I use 2 fields in a node pointed to the one vocabulary. Is Content Taxonomy the best solution? How would I do something like this?

Maedi

Comments

maedi’s picture

I have 2 Content Taxonomy fields, both assigned to add terms to the 'Company' vocabulary. However I get this error multiple times after I hit 'save':

# warning: Illegal offset type in isset or empty in /var/www/html/modules/taxonomy/taxonomy.module on line 1015.
# warning: Illegal offset type in /var/www/html/modules/taxonomy/taxonomy.module on line 1016.
# warning: Illegal offset type in /var/www/html/modules/taxonomy/taxonomy.module on line 1019.
# warning: Illegal offset type in /var/www/html/modules/taxonomy/taxonomy.module on line 592.

Any help is appreciated.

mh86’s picture

Status: Active » Fixed

problem with the warnings has been fixed. see #391906: "Illegal offset type in" warnings on node preview. for more information

Status: Fixed » Closed (fixed)

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