reverted: --- b/core/modules/comment/src/Entity/Comment.php +++ a/core/modules/comment/src/Entity/Comment.php @@ -339,7 +339,7 @@ * {@inheritdoc} */ public function hasParentComment() { + return (bool) $this->get('pid')->target_id; - return (bool) $this->get('pid')->target_id && !empty($this->get('pid')->entity); } /**