core/lib/Drupal/Core/Entity/Entity.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/lib/Drupal/Core/Entity/Entity.php b/core/lib/Drupal/Core/Entity/Entity.php index b7c23c4..6e4d504 100644 --- a/core/lib/Drupal/Core/Entity/Entity.php +++ b/core/lib/Drupal/Core/Entity/Entity.php @@ -326,6 +326,9 @@ public function postSave(EntityStorageControllerInterface $storage_controller, $ // builder class, then invalidate the render cache of entities for which // this entity is a bundle. if ($update) { +// Debug output to help determine the cause of the PHP fatal error at https://qa.drupal.org/pifr/test/737993 +var_dump($this->getEntityTypeId()); +var_dump($this->id()); $bundle_of = $this->getEntityType()->getBundleOf(); $entity_manager = \Drupal::entityManager(); if ($bundle_of !== FALSE && $entity_manager->hasController($bundle_of, 'view_builder')) {