Hello,
i'm unsure how this has happened.
But i had a solr search, which throwed this error in log:

EntityMalformedException: Missing bundle-property on entity of type taxonomy_term. in entity_extract_ids() (line 7721 of /www/includes/common.inc).

And the site just showed and "Error-page"

I don't know how my node has an ref to a taxonomy, but the taxonomy is not in the "taxonomy-list / table".

But if the code handling the display of the taxonomy was like:

ds/ds.module line: 1227 - 1237

$term = taxonomy_term_load($item['tid']); //At this point, $term is FALSE
if($term){ //This check would make the code "skip" the empty / missing taxonomy. (would this be a stupid check?)
  if ($display['type'] == 'ds_taxonomy_separator_localized' && function_exists('i18n_taxonomy_term_name')) {
    $term->name = i18n_taxonomy_term_name($term, $language->language);
  }
  $item_display = check_plain($term->name);
  if ($linked) {
    $uri = entity_uri('taxonomy_term', $term);
    $item_display = l($term->name, $uri['path']);
  }
}

Comments

jakobdo’s picture

Issue summary: View changes
jakobdo’s picture

Issue summary: View changes
aspilicious’s picture

Is this also happening on the dev version? I remember fixing this a month ago.

jakobdo’s picture

aspilicious’s picture

Status: Active » Closed (fixed)