diff --git a/classes/controller/FrontController.php b/classes/controller/FrontController.php index 27c818bfbffdd..e94c0eeac5242 100644 --- a/classes/controller/FrontController.php +++ b/classes/controller/FrontController.php @@ -761,6 +761,7 @@ protected function displayMaintenancePage() header('HTTP/1.1 503 Service Unavailable'); header('Retry-After: 3600'); + $this->setMedia(); $this->registerStylesheet('theme-error', '/assets/css/error.css', ['media' => 'all', 'priority' => 50]); $this->context->smarty->assign([ 'urls' => $this->getTemplateVarUrls(),