PeterProject Posted June 19, 2020 Share Posted June 19, 2020 Hi , I have recenley updated my Presta and since I am unable to install Klarna 2.09 it gives me unable to install message / FTP not working to . I have contacted dev but so far no reply to my issue . Is there anyone here who can support ? Exception Exception in src/Core/Addon/Module/ModuleManager.php (line 415) * @return bool True for success */ public function disable($name) { if (!$this->adminModuleProvider->isAllowedAccess(__FUNCTION__, $name)) { throw new Exception( $this->translator->trans( 'You are not allowed to disable the module %module%.', array( '%module%' => $name, ), ModuleManager->disable('klarnapaymentsofficial') in src/PrestaShopBundle/Controller/Admin/Improve/ModuleController.php (line 603) ] ), ]; } catch (Exception $e) { if (isset($moduleName)) { $moduleManager->disable($moduleName); } $installationResponse = [ 'status' => false, 'msg' => $e->getMessage(), ModuleController->importModuleAction(object(Request)) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 151) $this->dispatcher->dispatch(KernelEvents::CONTROLLER_ARGUMENTS, $event); $controller = $event->getController(); $arguments = $event->getArguments(); // call controller $response = \call_user_func_array($controller, $arguments); // view if (!$response instanceof Response) { $event = new GetResponseForControllerResultEvent($this, $request, $type, $response); $this->dispatcher->dispatch(KernelEvents::VIEW, $event); HttpKernel->handleRaw(object(Request), 1) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 68) public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true) { $request->headers->set('X-Php-Ob-Level', ob_get_level()); try { return $this->handleRaw($request, $type); } catch (\Exception $e) { if ($e instanceof RequestExceptionInterface) { $e = new BadRequestHttpException($e->getMessage(), $e); } if (false === $catch) { HttpKernel->handle(object(Request), 1, false) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php (line 200) $this->boot(); ++$this->requestStackSize; $this->resetServices = true; try { return $this->getHttpKernel()->handle($request, $type, $catch); } finally { --$this->requestStackSize; } } Kernel->handle(object(Request), 1, false) in admin520s7tq76/index.php (line 86) $request = Request::createFromGlobals(); Request::setTrustedProxies([], Request::HEADER_X_FORWARDED_ALL); try { require_once __DIR__.'/../autoload.php'; $response = $kernel->handle($request, HttpKernelInterface::MASTER_REQUEST, false); $response->send(); $kernel->terminate($request, $response); } catch (NotFoundHttpException $exception) { define('ADMIN_LEGACY_CONTEXT', true); // correct Apache charset (except if it's too late) Logs 2 LevelChannelMessage DEBUG 18:37:35doctrineSELECT name FROM psss_module WHERE active = 1 INFO 18:37:35requestMatched route "admin_module_import". DEBUG 18:37:35securityRead existing security token from the session. DEBUG 18:37:35securityUser was reloaded from a user provider. WARNING 18:37:36translationTranslation not found. WARNING 18:37:36translationTranslation not found. WARNING 18:37:36translationTranslation not found. WARNING 18:37:36translationTranslation not found. WARNING 18:37:36translationTranslation not found. INFO 18:37:36phpUser Deprecated: Implementing "Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface" without the "reset()" method is deprecated since Symfony 3.4 and will be unsupported in 4.0 for class "Csa\Bundle\GuzzleBundle\DataCollector\GuzzleCollector". CRITICAL 18:37:36phpUncaught Exception: You are not allowed to disable the module klarnapaymentsofficial. CRITICAL 18:37:36requestUncaught PHP Exception Exception: "You are not allowed to disable the module klarnapaymentsofficial." at /home/admin/domains/projectnails.co.uk/public_html/src/Core/Addon/Module/ModuleManager.php line 415 Stack Trace Exception Exception: You are not allowed to disable the module klarnapaymentsofficial. at src/Core/Addon/Module/ModuleManager.php:415 at PrestaShop\PrestaShop\Core\Addon\Module\ModuleManager->disable('klarnapaymentsofficial') (src/PrestaShopBundle/Controller/Admin/Improve/ModuleController.php:603) at PrestaShopBundle\Controller\Admin\Improve\ModuleController->importModuleAction(object(Request)) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, false) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200) at Symfony\Component\HttpKernel\Kernel->handle(object(Request), 1, false) (admin520s7tq76/index.php:86) Link to comment Share on other sites More sharing options...
ZackatKlarna Posted September 1, 2020 Share Posted September 1, 2020 Hello, Sorry for the delay in replying to this. The 2.0.9 version of the Klarna Payments module was unable to be installed by some of our merchants, the cause of which has been resolved. If you haven't already, you can update to the newest version of the module, which at this time is 2.1.2 for PrestaShop version 1.7. Let us know if you need any more help. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now