Drupal Association members fund grants that make connections all over the world.
I am getting this error:
EntityMalformedException: Missing bundle property on entity of type taxonomy_term. in entity_extract_ids() (line 7562 of /includes/common.inc).
I'm stuck debugging this. All I have is:
- The nodes this is about have several taxonomy terms.
- At the spot where the exception is thrown, some taxonomy fields only contain one element: the tid. Others contain more elements including the object "taxonomy_term".
- The reason why the exception is thrown is, that in taxonomy.module::taxonomy_field_formatter_view() the $term passed to entity_uri() (and then to entity_extract_ids() is
$term = $item['taxonomy_term'];, which for some fields does not exisit (as mentioned above).
- Maybe it's helpful to know that I'm coming from d6 with this site.
I'd be really grateful for every hint. I can't find why some taxonomy fields are not populated.