diff --git a/src/Subscriber/SystemConfigSubscriber.php b/src/Subscriber/SystemConfigSubscriber.php index 49352533e..00fb3597e 100644 --- a/src/Subscriber/SystemConfigSubscriber.php +++ b/src/Subscriber/SystemConfigSubscriber.php @@ -53,6 +53,10 @@ public static function getSubscribedEvents() public function onSystemConfigWritten(EntityWrittenEvent $event): void { foreach ($event->getPayloads() as $payload) { + if (! isset($payload['configurationKey'])) { + continue; + } + $this->checkSystemConfigChange( (string)$payload['configurationKey'], $payload['configurationValue'],