diff --git a/Classes/Fusion/Helper/NodeInfoHelper.php b/Classes/Fusion/Helper/NodeInfoHelper.php index 1122c27f7d..1a9ef08733 100644 --- a/Classes/Fusion/Helper/NodeInfoHelper.php +++ b/Classes/Fusion/Helper/NodeInfoHelper.php @@ -249,6 +249,9 @@ protected function getBasicNodeInformation(Node $node): array public static function isAutoCreated(Node $node, ContentSubgraphInterface $subgraph): bool { + if (!$node->nodeName) { + return false; + } $parent = $subgraph->findParentNode($node->nodeAggregateId); if ($parent) { if (array_key_exists($node->nodeName->value, $parent->nodeType->getAutoCreatedChildNodes())) {