diff --git a/Classes/Controller/NewsController.php b/Classes/Controller/NewsController.php index 3e146c2f47..944beb5568 100644 --- a/Classes/Controller/NewsController.php +++ b/Classes/Controller/NewsController.php @@ -645,7 +645,7 @@ public function buildSettings(): void $typoScriptArray = $typoScriptService->convertPlainArrayToTypoScriptArray($originalSettings); $stdWrapProperties = GeneralUtility::trimExplode(',', $originalSettings['useStdWrap'], true); foreach ($stdWrapProperties as $key) { - if (is_array($typoScriptArray[$key . '.'])) { + if (is_array($typoScriptArray[$key . '.'] ?? null)) { $originalSettings[$key] = $this->configurationManager->getContentObject()->stdWrap( $typoScriptArray[$key] ?? '', $typoScriptArray[$key . '.']