diff --git a/src/Content/PageInfo.php b/src/Content/PageInfo.php index d301c4d04d..8a2ee9f9d9 100644 --- a/src/Content/PageInfo.php +++ b/src/Content/PageInfo.php @@ -163,7 +163,7 @@ class PageInfo } } - $text .= ']' . $data['text'] . '[/attachment]'; + $text .= ']' . $data['text'] ?? '' . '[/attachment]'; $hashtags = ''; if (!empty($data['keywords'])) {