Warning: mkdir(): Permission denied in /var/www/html/modules/ps_accounts/src/Service/OAuth2/CachedFile.php on line 127

Fatal error: Uncaught Exception: File "/var/www/html/var/cache/dev//ps_accounts/openid-configuration.json" is not readable. in /var/www/html/modules/ps_accounts/src/Service/OAuth2/CachedFile.php:141 Stack trace: #0 /var/www/html/modules/ps_accounts/src/Service/OAuth2/CachedFile.php(47): PrestaShop\Module\PsAccounts\Service\OAuth2\CachedFile->assertReadable() #1 /var/www/html/modules/ps_accounts/src/Service/OAuth2/OAuth2Service.php(109): PrestaShop\Module\PsAccounts\Service\OAuth2\CachedFile->__construct('/var/www/html/v...', 86400) #2 /var/www/html/modules/ps_accounts/src/ServiceProvider/OAuth2Provider.php(50): PrestaShop\Module\PsAccounts\Service\OAuth2\OAuth2Service->__construct(Array, Object(PrestaShop\Module\PsAccounts\Service\OAuth2\OAuth2Client), '/var/www/html/v...') #3 /var/www/html/modules/ps_accounts/vendor/prestashopcorp/lightweight-container/src/ServiceContainer/ServiceContainer.php(99): PrestaShop\Module\PsAccounts\ServiceProvider\OAuth2Provider::PrestaShop\Module\PsAccounts\ServiceProvider\{closure}() #4 /var/www/html/modules/ps_accounts/src/ServiceProvider/SessionProvider.php(45): PrestaShop\Module\PsAccounts\Vendor\PrestaShopCorp\LightweightContainer\ServiceContainer\ServiceContainer->get('PrestaShop\\Modu...') #5 /var/www/html/modules/ps_accounts/vendor/prestashopcorp/lightweight-container/src/ServiceContainer/ServiceContainer.php(99): PrestaShop\Module\PsAccounts\ServiceProvider\SessionProvider::PrestaShop\Module\PsAccounts\ServiceProvider\{closure}() #6 /var/www/html/modules/ps_accounts/vendor/prestashopcorp/lightweight-container/src/ServiceContainer/ServiceContainer.php(120): PrestaShop\Module\PsAccounts\Vendor\PrestaShopCorp\LightweightContainer\ServiceContainer\ServiceContainer->get('PrestaShop\\Modu...') #7 /var/www/html/modules/ps_accounts/ps_accounts.php(252): PrestaShop\Module\PsAccounts\Vendor\PrestaShopCorp\LightweightContainer\ServiceContainer\ServiceContainer->getService('PrestaShop\\Modu...') #8 /var/www/html/modules/ps_accounts/src/Service/PsAccountsService.php(76): Ps_accounts->getService('PrestaShop\\Modu...') #9 /var/www/html/modules/ps_accounts/src/ServiceProvider/DefaultProvider.php(86): PrestaShop\Module\PsAccounts\Service\PsAccountsService->__construct(Object(Ps_accounts)) #10 /var/www/html/modules/ps_accounts/vendor/prestashopcorp/lightweight-container/src/ServiceContainer/ServiceContainer.php(99): PrestaShop\Module\PsAccounts\ServiceProvider\DefaultProvider::PrestaShop\Module\PsAccounts\ServiceProvider\{closure}() #11 /var/www/html/modules/ps_accounts/vendor/prestashopcorp/lightweight-container/src/ServiceContainer/ServiceContainer.php(120): PrestaShop\Module\PsAccounts\Vendor\PrestaShopCorp\LightweightContainer\ServiceContainer\ServiceContainer->get('PrestaShop\\Modu...') #12 /var/www/html/modules/ps_accounts/ps_accounts.php(252): PrestaShop\Module\PsAccounts\Vendor\PrestaShopCorp\LightweightContainer\ServiceContainer\ServiceContainer->getService('PrestaShop\\Modu...') #13 /var/www/html/modules/smartargetwhatsapp/vendor/prestashop/prestashop-accounts-installer/src/Installer/Facade/PsAccounts.php(47): Ps_accounts->getService('PrestaShop\\Modu...') #14 /var/www/html/modules/smartargetwhatsapp/vendor/prestashop/prestashop-accounts-installer/src/Installer/Facade/PsAccounts.php(62): PrestaShop\PsAccountsInstaller\Installer\Facade\PsAccounts->getService('PrestaShop\\Modu...') #15 /var/www/html/modules/ps_checkout/vendor/invertus/infrastructure/src/Repository/PsAccountRepository.php(41): PrestaShop\PsAccountsInstaller\Installer\Facade\PsAccounts->getPsAccountsService() #16 /var/www/html/var/cache/dev/Ps_checkout8501FrontContainer.php(1597): PsCheckout\Infrastructure\Repository\PsAccountRepository->__construct(Object(PrestaShop\PsAccountsInstaller\Installer\Facade\PsAccounts)) #17 /var/www/html/var/cache/dev/Ps_checkout8501FrontContainer.php(1637): Ps_checkout8501FrontContainer->getPsAccountRepositoryService() #18 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(257): Ps_checkout8501FrontContainer->getMerchantValidatorService() #19 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(231): Symfony\Component\DependencyInjection\Container->make('PsCheckout\\Infr...', 1) #20 /var/www/html/modules/smartargetwhatsapp/vendor/prestashop/module-lib-service-container/src/DependencyInjection/ServiceContainer.php(64): Symfony\Component\DependencyInjection\Container->get('PsCheckout\\Infr...') #21 /var/www/html/modules/ps_checkout/ps_checkout.php(1112): PrestaShop\ModuleLibServiceContainer\DependencyInjection\ServiceContainer->getService('PsCheckout\\Infr...') #22 /var/www/html/modules/ps_checkout/ps_checkout.php(1177): Ps_Checkout->getService('PsCheckout\\Infr...') #23 /var/www/html/modules/ps_checkout/ps_checkout.php(283): Ps_Checkout->merchantIsValid() #24 /var/www/html/classes/Hook.php(1083): Ps_Checkout->hookActionFrontControllerSetMedia(Array) #25 /var/www/html/classes/Hook.php(421): HookCore::coreCallHook(Object(Ps_Checkout), 'hookActionFront...', Array) #26 /var/www/html/classes/Hook.php(989): HookCore::callHookOn(Object(Ps_Checkout), 'actionFrontCont...', Array) #27 /var/www/html/classes/controller/FrontController.php(1004): HookCore::exec('actionFrontCont...', Array) #28 /var/www/html/classes/controller/Controller.php(304): FrontControllerCore->setMedia() #29 /var/www/html/classes/Dispatcher.php(510): ControllerCore->run() #30 /var/www/html/index.php(35): DispatcherCore->dispatch() #31 {main} Next PrestaShop\PrestaShop\Core\Exception\CoreException: File "/var/www/html/var/cache/dev//ps_accounts/openid-configuration.json" is not readable. in /var/www/html/classes/Hook.php:434 Stack trace: #0 /var/www/html/classes/Hook.php(989): HookCore::callHookOn(Object(Ps_Checkout), 'actionFrontCont...', Array) #1 /var/www/html/classes/controller/FrontController.php(1004): HookCore::exec('actionFrontCont...', Array) #2 /var/www/html/classes/controller/Controller.php(304): FrontControllerCore->setMedia() #3 /var/www/html/classes/Dispatcher.php(510): ControllerCore->run() #4 /var/www/html/index.php(35): DispatcherCore->dispatch() #5 {main} thrown in /var/www/html/classes/Hook.php on line 434