From 4b36addbaa92af3d0cb4b7545a4f4c1cdfb772bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Ku=C3=9Fmann?= Date: Wed, 13 Nov 2024 14:11:40 +0100 Subject: [PATCH] [BUGFIX] fix TYPO3 Exception: Too few arguments to function Aoe\Restler\Controller\BeUserAuthenticationController::__construct() --- Classes/Controller/BeUserAuthenticationController.php | 3 ++- Classes/Controller/FeUserAuthenticationController.php | 3 ++- ext_emconf.php | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Classes/Controller/BeUserAuthenticationController.php b/Classes/Controller/BeUserAuthenticationController.php index fd1125a..7f0c6c7 100644 --- a/Classes/Controller/BeUserAuthenticationController.php +++ b/Classes/Controller/BeUserAuthenticationController.php @@ -30,12 +30,13 @@ use Luracast\Restler\iAuthenticate; use Luracast\Restler\Restler; use Luracast\Restler\Scope; +use TYPO3\CMS\Core\SingletonInterface; /** * This class checks, if client is allowed to access the requested and protected API-class * This class checks, if BE-user is logged in */ -class BeUserAuthenticationController implements iAuthenticate +class BeUserAuthenticationController implements iAuthenticate, SingletonInterface { /** * This property defines (when it's set), that this controller should check authentication diff --git a/Classes/Controller/FeUserAuthenticationController.php b/Classes/Controller/FeUserAuthenticationController.php index 63f0dbb..d00139d 100644 --- a/Classes/Controller/FeUserAuthenticationController.php +++ b/Classes/Controller/FeUserAuthenticationController.php @@ -30,12 +30,13 @@ use Luracast\Restler\iAuthenticate; use Luracast\Restler\Restler; use Luracast\Restler\Scope; +use TYPO3\CMS\Core\SingletonInterface; /** * This class checks, if client is allowed to access the requested and protected API-class * This class checks, if FE-user is logged in */ -class FeUserAuthenticationController implements iAuthenticate +class FeUserAuthenticationController implements iAuthenticate, SingletonInterface { /** * This property defines (when it's set), the argument-name, which contains the pageId, diff --git a/ext_emconf.php b/ext_emconf.php index 3b2ae3e..bac2c59 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -20,7 +20,7 @@ 'state' => 'stable', 'uploadfolder' => 0, 'clearCacheOnLoad' => 0, - 'version' => '12.0.3', + 'version' => '12.0.4', 'constraints' => [ 'depends' => [ 'typo3' => '12.4.0-12.4.99'