From b917c6fda693714a9573062904b794f8a6bcaf50 Mon Sep 17 00:00:00 2001 From: Christoph Lehmann <4953689+christophlehmann@users.noreply.github.com> Date: Wed, 4 Sep 2024 22:01:29 +0200 Subject: [PATCH] Make sure to pass a string to GU::trimExplode() --- Classes/Service/ConfigurationService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Service/ConfigurationService.php b/Classes/Service/ConfigurationService.php index e62aa6a..5c6bfbd 100644 --- a/Classes/Service/ConfigurationService.php +++ b/Classes/Service/ConfigurationService.php @@ -81,7 +81,7 @@ public static function showEventId(): bool public static function getLogWriterComponentIgnorelist(): array { $ignoreList = self::getExtensionConfiguration('logWriterComponentBlacklist') ?? self::getExtensionConfiguration(self::LOGWRITER_COMPONENT_IGNORELIST); - return GeneralUtility::trimExplode(',', $ignoreList, true); + return GeneralUtility::trimExplode(',', $ignoreList ?? '', true); } public static function shouldDisableDatabaseLogging(): bool