0

Drupal 7.14 でサイト全体のインデックスを作成すると、Solr に次のエラーが表示されます。

AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. 
Path: /batch?id=1938&op=do StatusText: Service unavailable (with message)
ResponseText: EntityMalformedException: Missing bundle property on entity of type taxonomy_term. in entity_extract_ids() (line 7539 of /project/path/includes/common.inc).


/includes/common.incしたがって、 (行の周り:7537)の行を調べると:

// Explicitly fail for malformed entities missing the bundle property.
if (!isset($entity->{$info['entity keys']['bundle']}) || $entity->{$info['entity keys']['bundle']} === '') {
  throw new EntityMalformedException(t('Missing bundle property on entity of type @entity_type.', array('@entity_type' => $entity_type)));
}
  • そのコードのチャンク (in common.inc) は実際に何をしているのですか?
  • どうすればそのエラーを克服できますか?
4

1 に答える 1

0

このモジュールhttps://drupal.org/project/taxonomy_orphanageを試してください。空のバンドルがすべて削除されます。

于 2013-08-06T14:18:53.780 に答える