diff --git a/src/Processor/Chromium.php b/src/Processor/Chromium.php index b09ca7d..157f8df 100644 --- a/src/Processor/Chromium.php +++ b/src/Processor/Chromium.php @@ -33,7 +33,7 @@ class Chromium extends Processor protected function buildPdf(PrintAbstract $document, object $config): string { $web2printConfig = Config::getWeb2PrintConfig(); - $chromiumConfig = $web2printConfig['chromiumSettings']; + $chromiumConfig = $web2printConfig['chromiumSettings'] ?? ''; $chromiumConfig = json_decode($chromiumConfig, true); $params = [