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 [internal function]: 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/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php(1176): ReflectionClass->newInstanceArgs(Array) #24 /var/www/vhosts/horizonsnature.fr/httpdocs/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php(634): Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object(Symfony\Component\DependencyInjection\Definition), Array, true, 'PrestaShop\\Modu...') #25 /var/www/vhosts/horizonsnature.fr/httpdocs/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php(1281): Symfony\Component\DependencyInjection\ContainerBuilder->doGet('PrestaShop\\Modu...', 1, Array, true) #26 /var/www/vhosts/horizonsnature.fr/httpdocs/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php(1238): Symfony\Component\DependencyInjection\ContainerBuilder->doResolveServices(Object(Symfony\Component\DependencyInjection\Reference), Array, true) #27 /var/www/vhosts/horizonsnature.fr/httpdocs/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php(1149): Symfony\Component\DependencyInjection\ContainerBuilder->doResolveServices(Array, Array, true) #28 /var/www/vhosts/horizonsnature.fr/httpdocs/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php(634): Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object(Symfony\Component\DependencyInjection\Definition), Array, true, 'PrestaShop\\Modu...') #29 /var/www/vhosts/horizonsnature.fr/httpdocs/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php(1281): Symfony\Component\DependencyInjection\ContainerBuilder->doGet('PrestaShop\\Modu...', 1, Array, true) #30 /var/www/vhosts/horizonsnature.fr/httpdocs/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php(1238): Symfony\Component\DependencyInjection\ContainerBuilder->doResolveServices(Object(Symfony\Component\DependencyInjection\Reference), Array, true) #31 /var/www/vhosts/horizonsnature.fr/httpdocs/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php(1149): Symfony\Component\DependencyInjection\ContainerBuilder->doResolveServices(Array, Array, true) #32 /var/www/vhosts/horizonsnature.fr/httpdocs/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php(634): Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object(Symfony\Component\DependencyInjection\Definition), Array, true, 'PrestaShop\\Modu...') #33 /var/www/vhosts/horizonsnature.fr/httpdocs/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php(588): Symfony\Component\DependencyInjection\ContainerBuilder->doGet('PrestaShop\\Modu...', 1) #34 /var/www/vhosts/horizonsnature.fr/httpdocs/modules/ps_checkout/vendor/prestashop/module-lib-service-container/src/DependencyInjection/ServiceContainer.php(64): Symfony\Component\DependencyInjection\ContainerBuilder->get('PrestaShop\\Modu...') #35 /var/www/vhosts/horizonsnature.fr/httpdocs/modules/ps_checkout/ps_checkout.php(1519): PrestaShop\ModuleLibServiceContainer\DependencyInjection\ServiceContainer->getService('PrestaShop\\Modu...') #36 /var/www/vhosts/horizonsnature.fr/httpdocs/modules/ps_checkout/ps_checkout.php(913): Ps_checkout->getService('PrestaShop\\Modu...') #37 /var/www/vhosts/horizonsnature.fr/httpdocs/classes/Hook.php(990): Ps_checkout->hookActionFrontControllerSetMedia(Array) #38 /var/www/vhosts/horizonsnature.fr/httpdocs/classes/Hook.php(414): HookCore::coreCallHook(Object(Ps_checkout), 'hookActionFront...', Array) #39 /var/www/vhosts/horizonsnature.fr/httpdocs/classes/Hook.php(927): HookCore::callHookOn(Object(Ps_checkout), 'actionFrontCont...', Array) #40 /var/www/vhosts/horizonsnature.fr/httpdocs/classes/controller/FrontController.php(949): HookCore::exec('actionFrontCont...', Array) #41 /var/www/vhosts/horizonsnature.fr/httpdocs/classes/controller/Controller.php(291): FrontControllerCore->setMedia() #42 /var/www/vhosts/horizonsnature.fr/httpdocs/classes/Dispatcher.php(518): ControllerCore->run() #43 /var/www/vhosts/horizonsnature.fr/httpdocs/index.php(28): DispatcherCore->dispatch() #44 {main}