From 3003b9c99524e23efd938a509fb42d8e4d03bd38 Mon Sep 17 00:00:00 2001 From: Oliver Eglseder Date: Tue, 30 Apr 2024 12:18:50 +0200 Subject: [PATCH] [BUGFIX] Omit default argument of RootlineUtility constructor --- Classes/Command/Foreign/Status/SiteConfigurationCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Command/Foreign/Status/SiteConfigurationCommand.php b/Classes/Command/Foreign/Status/SiteConfigurationCommand.php index a68d61138..c37222032 100644 --- a/Classes/Command/Foreign/Status/SiteConfigurationCommand.php +++ b/Classes/Command/Foreign/Status/SiteConfigurationCommand.php @@ -73,7 +73,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int $site = $this->siteFinder->getSiteByPageId($pageId); } catch (SiteNotFoundException $e) { try { - GeneralUtility::makeInstance(RootlineUtility::class, $pageId, null)->get(); + GeneralUtility::makeInstance(RootlineUtility::class, $pageId)->get(); } catch (PageNotFoundException $e) { return static::EXIT_PAGE_HIDDEN_OR_DISCONNECTED; }