diff --git a/Neos.ContentRepository/Classes/Command/NodeCommandControllerPlugin.php b/Neos.ContentRepository/Classes/Command/NodeCommandControllerPlugin.php
index ede842d7371..e04bb5aaa72 100644
--- a/Neos.ContentRepository/Classes/Command/NodeCommandControllerPlugin.php
+++ b/Neos.ContentRepository/Classes/Command/NodeCommandControllerPlugin.php
@@ -833,7 +833,16 @@ public function removeBrokenEntityReferences($workspaceName)
$convertedProperty->__load();
} /** @noinspection PhpRedundantCatchClauseInspection */ catch (EntityNotFoundException $e) {
$nodesWithBrokenEntityReferences[$nodeData->getIdentifier()][$propertyName] = $nodeData;
- $this->dispatch(self::EVENT_NOTICE, sprintf('Broken reference in "%s" (%s), property "%s" (%s) referring to %s.', $nodeData->getPath(), $nodeData->getIdentifier(), $propertyName, $propertyType, $propertyValue));
+ $this->dispatch(self::EVENT_NOTICE, sprintf(
+ 'Broken reference in "%s" (%s), property "%s" (%s)%s.',
+ $nodeData->getPath(),
+ $nodeData->getIdentifier(),
+ $propertyName,
+ $propertyType,
+ method_exists($propertyValue, '__toString') ?
+ ' referring to ' . $propertyValue->__toString() . '' :
+ ''
+ ));
$brokenReferencesCount ++;
}
}