ArgumentCountError: Too few arguments to function PrestaShop\Module\PsAccounts\Provider\OAuth2\Oauth2Client::__construct(), 1 passed in /var/www/vhosts/horizonsnature.fr/httpdocs/modules/ps_accounts/src/ServiceProvider/OAuth2Provider.php on line 42 and exactly 2 expected in /var/www/vhosts/horizonsnature.fr/httpdocs/modules/ps_accounts/src/Provider/OAuth2/Oauth2Client.php:40 Stack trace: #0 /var/www/vhosts/horizonsnature.fr/httpdocs/modules/ps_accounts/src/ServiceProvider/OAuth2Provider.php(42): PrestaShop\Module\PsAccounts\Provider\OAuth2\Oauth2Client->__construct(Object(PrestaShop\Module\PsAccounts\Repository\ConfigurationRepository)) #1 /var/www/vhosts/horizonsnature.fr/httpdocs/modules/ps_accounts/vendor/prestashopcorp/lightweight-container/src/ServiceContainer/ServiceContainer.php(99): PrestaShop\Module\PsAccounts\ServiceProvider\OAuth2Provider::PrestaShop\Module\PsAccounts\ServiceProvider\{closure}() #2 /var/www/vhosts/horizonsnature.fr/httpdocs/modules/ps_accounts/vendor/prestashopcorp/lightweight-container/src/ServiceContainer/ServiceContainer.php(120): PrestaShop\Module\PsAccounts\Vendor\PrestaShopCorp\LightweightContainer\ServiceContainer\ServiceContainer->get('PrestaShop\\Modu...') #3 /var/www/vhosts/horizonsnature.fr/httpdocs/modules/ps_accounts/ps_accounts.php(254): PrestaShop\Module\PsAccounts\Vendor\PrestaShopCorp\LightweightContainer\ServiceContainer\ServiceContainer->getService('PrestaShop\\Modu...') #4 /var/www/vhosts/horizonsnature.fr/httpdocs/modules/ps_accounts/src/Provider/OAuth2/ShopProvider.php(52): Ps_accounts->getService('PrestaShop\\Modu...') #5 /var/www/vhosts/horizonsnature.fr/httpdocs/modules/ps_accounts/src/Provider/OAuth2/ShopProvider.php(77): PrestaShop\Module\PsAccounts\Provider\OAuth2\ShopProvider->__construct() #6 /var/www/vhosts/horizonsnature.fr/httpdocs/modules/ps_accounts/src/ServiceProvider/OAuth2Provider.php(49): PrestaShop\Module\PsAccounts\Provider\OAuth2\ShopProvider::create() #7 /var/www/vhosts/horizonsnature.fr/httpdocs/modules/ps_accounts/vendor/prestashopcorp/lightweight-container/src/ServiceContainer/ServiceContainer.php(99): PrestaShop\Module\PsAccounts\ServiceProvider\OAuth2Provider::PrestaShop\Module\PsAccounts\ServiceProvider\{closure}() #8 /var/www/vhosts/horizonsnature.fr/httpdocs/modules/ps_accounts/src/ServiceProvider/SessionProvider.php(45): PrestaShop\Module\PsAccounts\Vendor\PrestaShopCorp\LightweightContainer\ServiceContainer\ServiceContainer->get('PrestaShop\\Modu...') #9 /var/www/vhosts/horizonsnature.fr/httpdocs/modules/ps_accounts/vendor/prestashopcorp/lightweight-container/src/ServiceContainer/ServiceContainer.php(99): PrestaShop\Module\PsAccounts\ServiceProvider\SessionProvider::PrestaShop\Module\PsAccounts\ServiceProvider\{closure}() #10 /var/www/vhosts/horizonsnature.fr/httpdocs/modules/ps_accounts/src/ServiceProvider/SessionProvider.php(59): PrestaShop\Module\PsAccounts\Vendor\PrestaShopCorp\LightweightContainer\ServiceContainer\ServiceContainer->get('PrestaShop\\Modu...') #11 /var/www/vhosts/horizonsnature.fr/httpdocs/modules/ps_accounts/vendor/prestashopcorp/lightweight-container/src/ServiceContainer/ServiceContainer.php(99): PrestaShop\Module\PsAccounts\ServiceProvider\SessionProvider::PrestaShop\Module\PsAccounts\ServiceProvider\{closure}() #12 /var/www/vhosts/horizonsnature.fr/httpdocs/modules/ps_accounts/vendor/prestashopcorp/lightweight-container/src/ServiceContainer/ServiceContainer.php(120): PrestaShop\Module\PsAccounts\Vendor\PrestaShopCorp\LightweightContainer\ServiceContainer\ServiceContainer->get('PrestaShop\\Modu...') #13 /var/www/vhosts/horizonsnature.fr/httpdocs/modules/ps_accounts/ps_accounts.php(254): PrestaShop\Module\PsAccounts\Vendor\PrestaShopCorp\LightweightContainer\ServiceContainer\ServiceContainer->getService('PrestaShop\\Modu...') #14 /var/www/vhosts/horizonsnature.fr/httpdocs/modules/ps_accounts/src/Service/PsAccountsService.php(70): Ps_accounts->getService('PrestaShop\\Modu...') #15 /var/www/vhosts/horizonsnature.fr/httpdocs/modules/ps_accounts/src/ServiceProvider/DefaultProvider.php(86): PrestaShop\Module\PsAccounts\Service\PsAccountsService->__construct(Object(Ps_accounts)) #16 /var/www/vhosts/horizonsnature.fr/httpdocs/modules/ps_accounts/vendor/prestashopcorp/lightweight-container/src/ServiceContainer/ServiceContainer.php(99): PrestaShop\Module\PsAccounts\ServiceProvider\DefaultProvider::PrestaShop\Module\PsAccounts\ServiceProvider\{closure}() #17 /var/www/vhosts/horizonsnature.fr/httpdocs/modules/ps_accounts/vendor/prestashopcorp/lightweight-container/src/ServiceContainer/ServiceContainer.php(120): PrestaShop\Module\PsAccounts\Vendor\PrestaShopCorp\LightweightContainer\ServiceContainer\ServiceContainer->get('PrestaShop\\Modu...') #18 /var/www/vhosts/horizonsnature.fr/httpdocs/modules/ps_accounts/ps_accounts.php(254): PrestaShop\Module\PsAccounts\Vendor\PrestaShopCorp\LightweightContainer\ServiceContainer\ServiceContainer->getService('PrestaShop\\Modu...') #19 /var/www/vhosts/horizonsnature.fr/httpdocs/modules/ps_checkout/vendor/prestashop/prestashop-accounts-installer/src/Installer/Facade/PsAccounts.php(47): Ps_accounts->getService('PrestaShop\\Modu...') #20 /var/www/vhosts/horizonsnature.fr/httpdocs/modules/ps_checkout/vendor/prestashop/prestashop-accounts-installer/src/Installer/Facade/PsAccounts.php(62): PrestaShop\PsAccountsInstaller\Installer\Facade\PsAccounts->getService('PrestaShop\\Modu...') #21 /var/www/vhosts/horizonsnature.fr/httpdocs/modules/ps_checkout/src/Repository/PsAccountRepository.php(46): PrestaShop\PsAccountsInstaller\Installer\Facade\PsAccounts->getPsAccountsService() #22 /var/www/vhosts/horizonsnature.fr/httpdocs/var/cache/prod/Ps_checkout7440FrontContainer.php(1273): PrestaShop\Module\PrestashopCheckout\Repository\PsAccountRepository->__construct(Object(PrestaShop\Module\PrestashopCheckout\Configuration\PrestaShopConfiguration), Object(PrestaShop\PsAccountsInstaller\Installer\Facade\PsAccounts)) #23 /var/www/vhosts/horizonsnature.fr/httpdocs/var/cache/prod/Ps_checkout7440FrontContainer.php(1363): Ps_checkout7440FrontContainer->getPsAccountRepositoryService() #24 /var/www/vhosts/horizonsnature.fr/httpdocs/var/cache/prod/Ps_checkout7440FrontContainer.php(1353): Ps_checkout7440FrontContainer->getMerchantValidatorService() #25 /var/www/vhosts/horizonsnature.fr/httpdocs/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(306): Ps_checkout7440FrontContainer->getFrontControllerValidatorService() #26 /var/www/vhosts/horizonsnature.fr/httpdocs/modules/ps_checkout/vendor/prestashop/module-lib-service-container/src/DependencyInjection/ServiceContainer.php(64): Symfony\Component\DependencyInjection\Container->get('PrestaShop\\Modu...') #27 /var/www/vhosts/horizonsnature.fr/httpdocs/modules/ps_checkout/ps_checkout.php(1519): PrestaShop\ModuleLibServiceContainer\DependencyInjection\ServiceContainer->getService('PrestaShop\\Modu...') #28 /var/www/vhosts/horizonsnature.fr/httpdocs/modules/ps_checkout/ps_checkout.php(913): Ps_checkout->getService('PrestaShop\\Modu...') #29 /var/www/vhosts/horizonsnature.fr/httpdocs/classes/Hook.php(990): Ps_checkout->hookActionFrontControllerSetMedia(Array) #30 /var/www/vhosts/horizonsnature.fr/httpdocs/classes/Hook.php(414): HookCore::coreCallHook(Object(Ps_checkout), 'hookActionFront...', Array) #31 /var/www/vhosts/horizonsnature.fr/httpdocs/classes/Hook.php(927): HookCore::callHookOn(Object(Ps_checkout), 'actionFrontCont...', Array) #32 /var/www/vhosts/horizonsnature.fr/httpdocs/classes/controller/FrontController.php(949): HookCore::exec('actionFrontCont...', Array) #33 /var/www/vhosts/horizonsnature.fr/httpdocs/classes/controller/Controller.php(291): FrontControllerCore->setMedia() #34 /var/www/vhosts/horizonsnature.fr/httpdocs/classes/Dispatcher.php(518): ControllerCore->run() #35 /var/www/vhosts/horizonsnature.fr/httpdocs/index.php(28): DispatcherCore->dispatch() #36 {main}