Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291721

The entity () did not specify a storage.

$
0
0

On node view, if "Entity Reference" field in not empty, I get error:
"The entity () did not specify a storage." at .../core/lib/Drupal/Core/Entity/EntityManager.php line 107

In:
core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/formatter/EntityReferenceFormatterBase.php

I needed to change this:
$target_type = $this->field['settings']['target_type'];
to:
$target_type = $this->fieldDefinition['field']['settings']['target_type'];


Viewing all articles
Browse latest Browse all 291721

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>