From 4e0f58ee17eb0338a15968f5bad888ba26451085 Mon Sep 17 00:00:00 2001 From: "J. Peter M. Schuler" Date: Wed, 14 Jan 2026 19:28:15 +0100 Subject: [PATCH] [BUGFIX] trimExplode expects string --- Classes/Plugin/TtNews.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Plugin/TtNews.php b/Classes/Plugin/TtNews.php index 4ebeff99..b6286d16 100644 --- a/Classes/Plugin/TtNews.php +++ b/Classes/Plugin/TtNews.php @@ -2791,7 +2791,7 @@ protected function getImageMarkers($markerArray, $row, $lConf, $textRenderObj) $imageNum = $lConf['imageCount'] ?? 1; $imageNum = MathUtility::forceIntegerInRange($imageNum, 0, 100); $theImgCode = ''; - $imgs = GeneralUtility::trimExplode(',', $row['image'], 1); + $imgs = GeneralUtility::trimExplode(',', $row['image'] ?? '', true); $imgsCaptions = explode(chr(10), (string)$row['imagecaption']); $imgsAltTexts = explode(chr(10), (string)$row['imagealttext']); $imgsTitleTexts = explode(chr(10), (string)$row['imagetitletext']);