exception 'Aws\SecretsManager\Exception\SecretsManagerException' with message 'Error executing "GetSecretValue" on "https://secretsmanager.eu-west-1.amazonaws.com"; AWS HTTP error: Client error: `POST https://secretsmanager.eu-west-1.amazonaws.com` resulted in a `400 Bad Request` response: {"__type":"AccessDeniedException","Message":"User: arn:aws:iam::607561809515:user/getVariablesEnvironnement is not autho (truncated...) AccessDeniedException (client): User: arn:aws:iam::607561809515:user/getVariablesEnvironnement is not authorized to perform: secretsmanager:GetSecretValue on resource: arn:aws:secretsmanager:eu-west-1:607561809515:secret:/-tS3PMY - {"__type":"AccessDeniedException","Message":"User: arn:aws:iam::607561809515:user/getVariablesEnvironnement is not authorized to perform: secretsmanager:GetSecretValue on resource: arn:aws:secretsmanager:eu-west-1:607561809515:secret:/-tS3PMY"}' GuzzleHttp\Exception\ClientException: Client error: `POST https://secretsmanager.eu-west-1.amazonaws.com` resulted in a `400 Bad Request` response: {"__type":"AccessDeniedException","Message":"User: arn:aws:iam::607561809515:user/getVariablesEnvironnement is not autho (truncated...) in /var/www/123roulement.com/web/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113 Stack trace: #0 /var/www/123roulement.com/web/vendor/guzzlehttp/guzzle/src/Middleware.php(65): GuzzleHttp\Exception\RequestException::create() #1 /var/www/123roulement.com/web/vendor/guzzlehttp/promises/src/Promise.php(204): GuzzleHttp\Middleware::GuzzleHttp\{closure}() #2 /var/www/123roulement.com/web/vendor/guzzlehttp/promises/src/Promise.php(153): GuzzleHttp\Promise\Promise::callHandler() #3 /var/www/123roulement.com/web/vendor/guzzlehttp/promises/src/TaskQueue.php(48): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}() #4 /var/www/123roulement.com/web/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php(118): GuzzleHttp\Promise\TaskQueue->run() #5 /var/www/123roulement.com/web/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php(145): GuzzleHttp\Handler\CurlMultiHandler->tick() #6 /var/www/123roulement.com/web/vendor/guzzlehttp/promises/src/Promise.php(248): GuzzleHttp\Handler\CurlMultiHandler->execute() #7 /var/www/123roulement.com/web/vendor/guzzlehttp/promises/src/Promise.php(224): GuzzleHttp\Promise\Promise->invokeWaitFn() #8 /var/www/123roulement.com/web/vendor/guzzlehttp/promises/src/Promise.php(269): GuzzleHttp\Promise\Promise->waitIfPending() #9 /var/www/123roulement.com/web/vendor/guzzlehttp/promises/src/Promise.php(226): GuzzleHttp\Promise\Promise->invokeWaitList() #10 /var/www/123roulement.com/web/vendor/guzzlehttp/promises/src/Promise.php(269): GuzzleHttp\Promise\Promise->waitIfPending() #11 /var/www/123roulement.com/web/vendor/guzzlehttp/promises/src/Promise.php(226): GuzzleHttp\Promise\Promise->invokeWaitList() #12 /var/www/123roulement.com/web/vendor/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending() #13 /var/www/123roulement.com/web/vendor/aws/aws-sdk-php/src/AwsClientTrait.php(58): GuzzleHttp\Promise\Promise->wait() #14 /var/www/123roulement.com/web/vendor/aws/aws-sdk-php/src/AwsClientTrait.php(86): Aws\AwsClient->execute() #15 /var/www/123roulement.com/web/src/Util/AWS/SecretsManager.php(46): Aws\AwsClient->__call() #16 /var/www/123roulement.com/web/.env.local.php(72): App\Util\AWS\SecretsManager->getSecrets() #17 /var/www/123roulement.com/web/config/bootstrap.php(9): include('/var/www/123rou...') #18 /var/www/123roulement.com/web/public/index.php(7): require('/var/www/123rou...') #19 {main} Next Aws\SecretsManager\Exception\SecretsManagerException: Error executing "GetSecretValue" on "https://secretsmanager.eu-west-1.amazonaws.com"; AWS HTTP error: Client error: `POST https://secretsmanager.eu-west-1.amazonaws.com` resulted in a `400 Bad Request` response: {"__type":"AccessDeniedException","Message":"User: arn:aws:iam::607561809515:user/getVariablesEnvironnement is not autho (truncated...) AccessDeniedException (client): User: arn:aws:iam::607561809515:user/getVariablesEnvironnement is not authorized to perform: secretsmanager:GetSecretValue on resource: arn:aws:secretsmanager:eu-west-1:607561809515:secret:/-tS3PMY - {"__type":"AccessDeniedException","Message":"User: arn:aws:iam::607561809515:user/getVariablesEnvironnement is not authorized to perform: secretsmanager:GetSecretValue on resource: arn:aws:secretsmanager:eu-west-1:607561809515:secret:/-tS3PMY"} in /var/www/123roulement.com/web/vendor/aws/aws-sdk-php/src/WrappedHttpHandler.php:195 Stack trace: #0 /var/www/123roulement.com/web/vendor/aws/aws-sdk-php/src/WrappedHttpHandler.php(97): Aws\WrappedHttpHandler->parseError() #1 /var/www/123roulement.com/web/vendor/guzzlehttp/promises/src/Promise.php(204): Aws\WrappedHttpHandler->Aws\{closure}() #2 /var/www/123roulement.com/web/vendor/guzzlehttp/promises/src/Promise.php(169): GuzzleHttp\Promise\Promise::callHandler() #3 /var/www/123roulement.com/web/vendor/guzzlehttp/promises/src/RejectedPromise.php(42): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}() #4 /var/www/123roulement.com/web/vendor/guzzlehttp/promises/src/TaskQueue.php(48): GuzzleHttp\Promise\RejectedPromise::GuzzleHttp\Promise\{closure}() #5 /var/www/123roulement.com/web/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php(118): GuzzleHttp\Promise\TaskQueue->run() #6 /var/www/123roulement.com/web/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php(145): GuzzleHttp\Handler\CurlMultiHandler->tick() #7 /var/www/123roulement.com/web/vendor/guzzlehttp/promises/src/Promise.php(248): GuzzleHttp\Handler\CurlMultiHandler->execute() #8 /var/www/123roulement.com/web/vendor/guzzlehttp/promises/src/Promise.php(224): GuzzleHttp\Promise\Promise->invokeWaitFn() #9 /var/www/123roulement.com/web/vendor/guzzlehttp/promises/src/Promise.php(269): GuzzleHttp\Promise\Promise->waitIfPending() #10 /var/www/123roulement.com/web/vendor/guzzlehttp/promises/src/Promise.php(226): GuzzleHttp\Promise\Promise->invokeWaitList() #11 /var/www/123roulement.com/web/vendor/guzzlehttp/promises/src/Promise.php(269): GuzzleHttp\Promise\Promise->waitIfPending() #12 /var/www/123roulement.com/web/vendor/guzzlehttp/promises/src/Promise.php(226): GuzzleHttp\Promise\Promise->invokeWaitList() #13 /var/www/123roulement.com/web/vendor/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending() #14 /var/www/123roulement.com/web/vendor/aws/aws-sdk-php/src/AwsClientTrait.php(58): GuzzleHttp\Promise\Promise->wait() #15 /var/www/123roulement.com/web/vendor/aws/aws-sdk-php/src/AwsClientTrait.php(86): Aws\AwsClient->execute() #16 /var/www/123roulement.com/web/src/Util/AWS/SecretsManager.php(46): Aws\AwsClient->__call() #17 /var/www/123roulement.com/web/.env.local.php(72): App\Util\AWS\SecretsManager->getSecrets() #18 /var/www/123roulement.com/web/config/bootstrap.php(9): include('/var/www/123rou...') #19 /var/www/123roulement.com/web/public/index.php(7): require('/var/www/123rou...') #20 {main} Connection refused (500 Internal Server Error)

Symfony Exception

RedisException RedisException

HTTP 500 Internal Server Error

Connection refused

Exceptions 2

RedisException

  1.      * @return \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage
  2.      */
  3.     protected function getSession_Storage_NativeService()
  4.     {
  5.         $a = new \Redis();
  6.         $a->connect($this->getEnv('REDIS_HOST'), $this->getEnv('int:REDIS_PORT'));
  7.         return $this->privates['session.storage.native'] = new \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage($this->parameters['session.storage.options'], new \Symfony\Component\HttpFoundation\Session\Storage\Handler\RedisSessionHandler($a), new \Symfony\Component\HttpFoundation\Session\Storage\MetadataBag('_sf2_meta'0));
  8.     }
  9.     /**
  1.      * @return \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage
  2.      */
  3.     protected function getSession_Storage_NativeService()
  4.     {
  5.         $a = new \Redis();
  6.         $a->connect($this->getEnv('REDIS_HOST'), $this->getEnv('int:REDIS_PORT'));
  7.         return $this->privates['session.storage.native'] = new \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage($this->parameters['session.storage.options'], new \Symfony\Component\HttpFoundation\Session\Storage\Handler\RedisSessionHandler($a), new \Symfony\Component\HttpFoundation\Session\Storage\MetadataBag('_sf2_meta'0));
  8.     }
  9.     /**
App_KernelDevDebugContainer->getSession_Storage_NativeService() in /tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php (line 2334)
  1.      *
  2.      * @return \Symfony\Component\HttpFoundation\Session\Session
  3.      */
  4.     protected function getSessionService()
  5.     {
  6.         return $this->services['session'] = new \Symfony\Component\HttpFoundation\Session\Session(($this->privates['session.storage.native'] ?? $this->getSession_Storage_NativeService()), NULLNULL, [=> ($this->privates['session_listener'] ?? $this->getSessionListenerService()), => 'onSessionUsage']);
  7.     }
  8.     /**
  9.      * Gets the public 'translator' shared service.
  10.      *
App_KernelDevDebugContainer->getSessionService() in /tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php (line 938)
  1.         if (isset($this->services['Mycelium\\Bundle\\SymfonyOrderBundle\\Repository\\BasketRepository'])) {
  2.             return $this->services['Mycelium\\Bundle\\SymfonyOrderBundle\\Repository\\BasketRepository'];
  3.         }
  4.         return $this->services['Mycelium\\Bundle\\SymfonyOrderBundle\\Repository\\BasketRepository'] = new \Mycelium\Bundle\SymfonyOrderBundle\Repository\BasketRepository(($this->services['doctrine'] ?? $this->getDoctrineService()), ($this->services['session'] ?? $this->getSessionService()), $a$b, ($this->services['cache.app'] ?? $this->getCache_AppService()));
  5.     }
  6.     /**
  7.      * Gets the public 'Mycelium\Bundle\SymfonyOrderBundle\Repository\DiscountCodeRepository' shared service.
  8.      *
App_KernelDevDebugContainer->getBasketRepositoryService() in /tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php (line 850)
  1.      *
  2.      * @return \Mycelium\Bundle\SymfonyOrderBundle\Manager\BasketManager
  3.      */
  4.     protected function getBasketManagerService()
  5.     {
  6.         $a = ($this->services['Mycelium\\Bundle\\SymfonyOrderBundle\\Repository\\BasketRepository'] ?? $this->getBasketRepositoryService());
  7.         if (isset($this->services['Mycelium\\Bundle\\SymfonyOrderBundle\\Manager\\BasketManager'])) {
  8.             return $this->services['Mycelium\\Bundle\\SymfonyOrderBundle\\Manager\\BasketManager'];
  9.         }
  10.         $b = ($this->privates['Mycelium\\Bundle\\SymfonyProductBundle\\ProductService'] ?? $this->getProductServiceService());
App_KernelDevDebugContainer->getBasketManagerService() in /tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php (line 495)
  1.      *
  2.      * @return \App\Service\ApplicationGlobalsVariablesService
  3.      */
  4.     protected function getApplicationGlobalsVariablesService2Service()
  5.     {
  6.         $this->services['ApplicationGlobalsVariablesService'] = $instance = new \App\Service\ApplicationGlobalsVariablesService(($this->services['Mycelium\\Bundle\\SymfonyOrderBundle\\Manager\\BasketManager'] ?? $this->getBasketManagerService()), ($this->services['App\\Service\\VatService'] ?? $this->getVatServiceService()));
  7.         $instance->setContainer(($this->privates['.service_locator.g9CqTPp'] ?? $this->get_ServiceLocator_G9CqTPpService())->withContext('ApplicationGlobalsVariablesService'$this));
  8.         return $instance;
  9.     }
App_KernelDevDebugContainer->getApplicationGlobalsVariablesService2Service() in /tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php (line 3973)
  1.      *
  2.      * @return \App\EventSubscriber\applicationGlobalsVariablesSubscriber
  3.      */
  4.     protected function getApplicationGlobalsVariablesSubscriberService()
  5.     {
  6.         return $this->privates['App\\EventSubscriber\\applicationGlobalsVariablesSubscriber'] = new \App\EventSubscriber\applicationGlobalsVariablesSubscriber(($this->services['ApplicationGlobalsVariablesService'] ?? $this->getApplicationGlobalsVariablesService2Service()));
  7.     }
  8.     /**
  9.      * Gets the private 'App\Form\FilterFormType' shared autowired service.
  10.      *
App_KernelDevDebugContainer->getApplicationGlobalsVariablesSubscriberService() in /tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php (line 1627)
  1.         }, => 'onKernelRequest'], 20);
  2.         $instance->addListener('kernel.response', [=> function () {
  3.             return ($this->privates['App\\EventSubscriber\\ResponseSubscriber'] ?? ($this->privates['App\\EventSubscriber\\ResponseSubscriber'] = new \App\EventSubscriber\ResponseSubscriber()));
  4.         }, => 'onKernelResponse'], 0);
  5.         $instance->addListener('kernel.request', [=> function () {
  6.             return ($this->privates['App\\EventSubscriber\\applicationGlobalsVariablesSubscriber'] ?? $this->getApplicationGlobalsVariablesSubscriberService());
  7.         }, => 'onKernelRequest'], 4096);
  8.         $instance->addListener('console.command', [=> function () {
  9.             return ($this->privates['App\\EventSubscriber\\applicationGlobalsVariablesSubscriber'] ?? $this->getApplicationGlobalsVariablesSubscriberService());
  10.         }, => 'onCommandStart'], 4096);
  11.         $instance->addListener('kernel.response', [=> function () {
  1.             foreach ($listeners as &$listener) {
  2.                 $closure = &$this->optimized[$eventName][];
  3.                 if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && >= \count($listener)) {
  4.                     $closure = static function (...$args) use (&$listener, &$closure) {
  5.                         if ($listener[0] instanceof \Closure) {
  6.                             $listener[0] = $listener[0]();
  7.                             $listener[1] = $listener[1] ?? '__invoke';
  8.                         }
  9.                         ($closure = \Closure::fromCallable($listener))(...$args);
  10.                     };
  11.                 } else {
in /var/www/123roulement.com/web/vendor/symfony/event-dispatcher/EventDispatcher.php :: Symfony\Component\EventDispatcher\{closure} (line 230)
  1.         foreach ($listeners as $listener) {
  2.             if ($stoppable && $event->isPropagationStopped()) {
  3.                 break;
  4.             }
  5.             $listener($event$eventName$this);
  6.         }
  7.     }
  8.     /**
  9.      * Sorts the internal list of listeners for the given event by priority.
  1.         } else {
  2.             $listeners $this->getListeners($eventName);
  3.         }
  4.         if ($listeners) {
  5.             $this->callListeners($listeners$eventName$event);
  6.         }
  7.         return $event;
  8.     }
  1.         try {
  2.             $this->beforeDispatch($eventName$event);
  3.             try {
  4.                 $e $this->stopwatch->start($eventName'section');
  5.                 try {
  6.                     $this->dispatcher->dispatch($event$eventName);
  7.                 } finally {
  8.                     if ($e->isStarted()) {
  9.                         $e->stop();
  10.                     }
  11.                 }
  1.     {
  2.         $this->requestStack->push($request);
  3.         // request
  4.         $event = new RequestEvent($this$request$type);
  5.         $this->dispatcher->dispatch($eventKernelEvents::REQUEST);
  6.         if ($event->hasResponse()) {
  7.             return $this->filterResponse($event->getResponse(), $request$type);
  8.         }
  1.     public function handle(Request $requestint $type HttpKernelInterface::MASTER_REQUESTbool $catch true)
  2.     {
  3.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $exception $event->getThrowable();
  2.         $request $this->duplicateRequest($exception$event->getRequest());
  3.         try {
  4.             $response $event->getKernel()->handle($requestHttpKernelInterface::SUB_REQUESTfalse);
  5.         } catch (\Exception $e) {
  6.             $f FlattenException::createFromThrowable($e);
  7.             $this->logException($esprintf('Exception thrown when handling an exception (%s: %s at %s line %s)'$f->getClass(), $f->getMessage(), $e->getFile(), $e->getLine()));
  1.         $this->called true;
  2.         $this->priority $dispatcher->getListenerPriority($eventName$this->listener);
  3.         $e $this->stopwatch->start($this->name'event_listener');
  4.         ($this->optimizedListener ?? $this->listener)($event$eventName$dispatcher);
  5.         if ($e->isStarted()) {
  6.             $e->stop();
  7.         }
  1.         foreach ($listeners as $listener) {
  2.             if ($stoppable && $event->isPropagationStopped()) {
  3.                 break;
  4.             }
  5.             $listener($event$eventName$this);
  6.         }
  7.     }
  8.     /**
  9.      * Sorts the internal list of listeners for the given event by priority.
  1.         } else {
  2.             $listeners $this->getListeners($eventName);
  3.         }
  4.         if ($listeners) {
  5.             $this->callListeners($listeners$eventName$event);
  6.         }
  7.         return $event;
  8.     }
  1.         try {
  2.             $this->beforeDispatch($eventName$event);
  3.             try {
  4.                 $e $this->stopwatch->start($eventName'section');
  5.                 try {
  6.                     $this->dispatcher->dispatch($event$eventName);
  7.                 } finally {
  8.                     if ($e->isStarted()) {
  9.                         $e->stop();
  10.                     }
  11.                 }
  1.      * @throws \Exception
  2.      */
  3.     private function handleThrowable(\Throwable $eRequest $requestint $type): Response
  4.     {
  5.         $event = new ExceptionEvent($this$request$type$e);
  6.         $this->dispatcher->dispatch($eventKernelEvents::EXCEPTION);
  7.         // a listener might have replaced the exception
  8.         $e $event->getThrowable();
  9.         if (!$event->hasResponse()) {
  1.                 $this->finishRequest($request$type);
  2.                 throw $e;
  3.             }
  4.             return $this->handleThrowable($e$request$type);
  5.         }
  6.     }
  7.     /**
  8.      * {@inheritdoc}
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
  1.     Request::setTrustedHosts([$trustedHosts]);
  2. }
  3. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

RedisException

Connection refused

  1.      * @return \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage
  2.      */
  3.     protected function getSession_Storage_NativeService()
  4.     {
  5.         $a = new \Redis();
  6.         $a->connect($this->getEnv('REDIS_HOST'), $this->getEnv('int:REDIS_PORT'));
  7.         return $this->privates['session.storage.native'] = new \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage($this->parameters['session.storage.options'], new \Symfony\Component\HttpFoundation\Session\Storage\Handler\RedisSessionHandler($a), new \Symfony\Component\HttpFoundation\Session\Storage\MetadataBag('_sf2_meta'0));
  8.     }
  9.     /**
  1.      * @return \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage
  2.      */
  3.     protected function getSession_Storage_NativeService()
  4.     {
  5.         $a = new \Redis();
  6.         $a->connect($this->getEnv('REDIS_HOST'), $this->getEnv('int:REDIS_PORT'));
  7.         return $this->privates['session.storage.native'] = new \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage($this->parameters['session.storage.options'], new \Symfony\Component\HttpFoundation\Session\Storage\Handler\RedisSessionHandler($a), new \Symfony\Component\HttpFoundation\Session\Storage\MetadataBag('_sf2_meta'0));
  8.     }
  9.     /**
App_KernelDevDebugContainer->getSession_Storage_NativeService() in /tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php (line 2334)
  1.      *
  2.      * @return \Symfony\Component\HttpFoundation\Session\Session
  3.      */
  4.     protected function getSessionService()
  5.     {
  6.         return $this->services['session'] = new \Symfony\Component\HttpFoundation\Session\Session(($this->privates['session.storage.native'] ?? $this->getSession_Storage_NativeService()), NULLNULL, [=> ($this->privates['session_listener'] ?? $this->getSessionListenerService()), => 'onSessionUsage']);
  7.     }
  8.     /**
  9.      * Gets the public 'translator' shared service.
  10.      *
App_KernelDevDebugContainer->getSessionService() in /tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php (line 938)
  1.         if (isset($this->services['Mycelium\\Bundle\\SymfonyOrderBundle\\Repository\\BasketRepository'])) {
  2.             return $this->services['Mycelium\\Bundle\\SymfonyOrderBundle\\Repository\\BasketRepository'];
  3.         }
  4.         return $this->services['Mycelium\\Bundle\\SymfonyOrderBundle\\Repository\\BasketRepository'] = new \Mycelium\Bundle\SymfonyOrderBundle\Repository\BasketRepository(($this->services['doctrine'] ?? $this->getDoctrineService()), ($this->services['session'] ?? $this->getSessionService()), $a$b, ($this->services['cache.app'] ?? $this->getCache_AppService()));
  5.     }
  6.     /**
  7.      * Gets the public 'Mycelium\Bundle\SymfonyOrderBundle\Repository\DiscountCodeRepository' shared service.
  8.      *
App_KernelDevDebugContainer->getBasketRepositoryService() in /tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php (line 850)
  1.      *
  2.      * @return \Mycelium\Bundle\SymfonyOrderBundle\Manager\BasketManager
  3.      */
  4.     protected function getBasketManagerService()
  5.     {
  6.         $a = ($this->services['Mycelium\\Bundle\\SymfonyOrderBundle\\Repository\\BasketRepository'] ?? $this->getBasketRepositoryService());
  7.         if (isset($this->services['Mycelium\\Bundle\\SymfonyOrderBundle\\Manager\\BasketManager'])) {
  8.             return $this->services['Mycelium\\Bundle\\SymfonyOrderBundle\\Manager\\BasketManager'];
  9.         }
  10.         $b = ($this->privates['Mycelium\\Bundle\\SymfonyProductBundle\\ProductService'] ?? $this->getProductServiceService());
App_KernelDevDebugContainer->getBasketManagerService() in /tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php (line 2429)
  1.         $instance->addExtension(new \Symfony\Bridge\Twig\Extension\DumpExtension(($this->services['var_dumper.cloner'] ?? $this->getVarDumper_ClonerService()), ($this->privates['var_dumper.html_dumper'] ?? $this->getVarDumper_HtmlDumperService())));
  2.         $instance->addExtension(new \Twig\Extensions\ArrayExtension());
  3.         $instance->addExtension(new \Twig\Extensions\DateExtension());
  4.         $instance->addExtension(new \Twig\Extensions\IntlExtension());
  5.         $instance->addExtension(new \Twig\Extensions\TextExtension());
  6.         $instance->addExtension(new \App\Twig\AppExtension($f, ($this->privates['Mycelium\\Bundle\\SymfonyProductBundle\\ProductService'] ?? $this->getProductServiceService()), ($this->services['Mycelium\\Bundle\\SymfonyOrderBundle\\Manager\\BasketManager'] ?? $this->getBasketManagerService()), ($this->services['App\\Controller\\CustomerController'] ?? $this->getCustomerControllerService()), ($this->services['Mycelium\\Bundle\\SymfonyCustomerBundle\\Manager\\ContactManager'] ?? $this->getContactManagerService()), ($this->services['Mycelium\\Bundle\\SymfonyCustomerBundle\\Helper\\CountryHelper'] ?? $this->getCountryHelperService()), $this$instance, ($this->services['doctrine'] ?? $this->getDoctrineService()), $g, ($this->services['Mycelium\\Bundle\\SymfonyOrderBundle\\Manager\\OrderManager'] ?? $this->getOrderManagerService()), ($this->privates['App\\Util\\Mycelium\\API'] ?? ($this->privates['App\\Util\\Mycelium\\API'] = new \App\Util\Mycelium\API()))));
  7.         $instance->addExtension(new \Twig\CacheExtension\Extension(new \Twig\CacheExtension\CacheStrategy\LifetimeCacheStrategy(new \Twig\CacheExtension\CacheProvider\PsrCacheAdapter($g))));
  8.         $instance->addExtension(new \Twig\Extra\Intl\IntlExtension());
  9.         $instance->addExtension(new \Doctrine\Bundle\DoctrineBundle\Twig\DoctrineExtension());
  10.         $instance->addExtension(new \Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension($h));
  11.         $instance->addExtension(new \Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension(new \Symfony\Component\DependencyInjection\Argument\ServiceLocator($this->getService, [
App_KernelDevDebugContainer->getTwigService() in /tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php (line 4173)
  1.      *
  2.      * @return \Mycelium\Bundle\SymfonyProductBundle\ProductService
  3.      */
  4.     protected function getProductServiceService()
  5.     {
  6.         $a = ($this->services['twig'] ?? $this->getTwigService());
  7.         if (isset($this->privates['Mycelium\\Bundle\\SymfonyProductBundle\\ProductService'])) {
  8.             return $this->privates['Mycelium\\Bundle\\SymfonyProductBundle\\ProductService'];
  9.         }
App_KernelDevDebugContainer->getProductServiceService() in /tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php (line 927)
  1.      *
  2.      * @return \Mycelium\Bundle\SymfonyOrderBundle\Repository\BasketRepository
  3.      */
  4.     protected function getBasketRepositoryService()
  5.     {
  6.         $a = ($this->privates['Mycelium\\Bundle\\SymfonyProductBundle\\ProductService'] ?? $this->getProductServiceService());
  7.         if (isset($this->services['Mycelium\\Bundle\\SymfonyOrderBundle\\Repository\\BasketRepository'])) {
  8.             return $this->services['Mycelium\\Bundle\\SymfonyOrderBundle\\Repository\\BasketRepository'];
  9.         }
  10.         $b = ($this->services['twig'] ?? $this->getTwigService());
App_KernelDevDebugContainer->getBasketRepositoryService() in /tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php (line 850)
  1.      *
  2.      * @return \Mycelium\Bundle\SymfonyOrderBundle\Manager\BasketManager
  3.      */
  4.     protected function getBasketManagerService()
  5.     {
  6.         $a = ($this->services['Mycelium\\Bundle\\SymfonyOrderBundle\\Repository\\BasketRepository'] ?? $this->getBasketRepositoryService());
  7.         if (isset($this->services['Mycelium\\Bundle\\SymfonyOrderBundle\\Manager\\BasketManager'])) {
  8.             return $this->services['Mycelium\\Bundle\\SymfonyOrderBundle\\Manager\\BasketManager'];
  9.         }
  10.         $b = ($this->privates['Mycelium\\Bundle\\SymfonyProductBundle\\ProductService'] ?? $this->getProductServiceService());
App_KernelDevDebugContainer->getBasketManagerService() in /tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php (line 495)
  1.      *
  2.      * @return \App\Service\ApplicationGlobalsVariablesService
  3.      */
  4.     protected function getApplicationGlobalsVariablesService2Service()
  5.     {
  6.         $this->services['ApplicationGlobalsVariablesService'] = $instance = new \App\Service\ApplicationGlobalsVariablesService(($this->services['Mycelium\\Bundle\\SymfonyOrderBundle\\Manager\\BasketManager'] ?? $this->getBasketManagerService()), ($this->services['App\\Service\\VatService'] ?? $this->getVatServiceService()));
  7.         $instance->setContainer(($this->privates['.service_locator.g9CqTPp'] ?? $this->get_ServiceLocator_G9CqTPpService())->withContext('ApplicationGlobalsVariablesService'$this));
  8.         return $instance;
  9.     }
App_KernelDevDebugContainer->getApplicationGlobalsVariablesService2Service() in /tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php (line 3973)
  1.      *
  2.      * @return \App\EventSubscriber\applicationGlobalsVariablesSubscriber
  3.      */
  4.     protected function getApplicationGlobalsVariablesSubscriberService()
  5.     {
  6.         return $this->privates['App\\EventSubscriber\\applicationGlobalsVariablesSubscriber'] = new \App\EventSubscriber\applicationGlobalsVariablesSubscriber(($this->services['ApplicationGlobalsVariablesService'] ?? $this->getApplicationGlobalsVariablesService2Service()));
  7.     }
  8.     /**
  9.      * Gets the private 'App\Form\FilterFormType' shared autowired service.
  10.      *
App_KernelDevDebugContainer->getApplicationGlobalsVariablesSubscriberService() in /tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php (line 1627)
  1.         }, => 'onKernelRequest'], 20);
  2.         $instance->addListener('kernel.response', [=> function () {
  3.             return ($this->privates['App\\EventSubscriber\\ResponseSubscriber'] ?? ($this->privates['App\\EventSubscriber\\ResponseSubscriber'] = new \App\EventSubscriber\ResponseSubscriber()));
  4.         }, => 'onKernelResponse'], 0);
  5.         $instance->addListener('kernel.request', [=> function () {
  6.             return ($this->privates['App\\EventSubscriber\\applicationGlobalsVariablesSubscriber'] ?? $this->getApplicationGlobalsVariablesSubscriberService());
  7.         }, => 'onKernelRequest'], 4096);
  8.         $instance->addListener('console.command', [=> function () {
  9.             return ($this->privates['App\\EventSubscriber\\applicationGlobalsVariablesSubscriber'] ?? $this->getApplicationGlobalsVariablesSubscriberService());
  10.         }, => 'onCommandStart'], 4096);
  11.         $instance->addListener('kernel.response', [=> function () {
  1.         $this->sorted[$eventName] = [];
  2.         foreach ($this->listeners[$eventName] as &$listeners) {
  3.             foreach ($listeners as $k => &$listener) {
  4.                 if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && >= \count($listener)) {
  5.                     $listener[0] = $listener[0]();
  6.                     $listener[1] = $listener[1] ?? '__invoke';
  7.                 }
  8.                 $this->sorted[$eventName][] = $listener;
  9.             }
  10.         }
  1.             if (empty($this->listeners[$eventName])) {
  2.                 return [];
  3.             }
  4.             if (!isset($this->sorted[$eventName])) {
  5.                 $this->sortListeners($eventName);
  6.             }
  7.             return $this->sorted[$eventName];
  8.         }
  1.             $this->orphanedEvents[$this->currentRequestHash][] = $eventName;
  2.             return;
  3.         }
  4.         foreach ($this->dispatcher->getListeners($eventName) as $listener) {
  5.             $priority $this->getListenerPriority($eventName$listener);
  6.             $wrappedListener = new WrappedListener($listener instanceof WrappedListener $listener->getWrappedListener() : $listenernull$this->stopwatch$this);
  7.             $this->wrappedListeners[$eventName][] = $wrappedListener;
  8.             $this->dispatcher->removeListener($eventName$listener);
  9.             $this->dispatcher->addListener($eventName$wrappedListener$priority);
  1.         if (null !== $this->logger && $event instanceof StoppableEventInterface && $event->isPropagationStopped()) {
  2.             $this->logger->debug(sprintf('The "%s" event is already stopped. No listeners have been called.'$eventName));
  3.         }
  4.         $this->preProcess($eventName);
  5.         try {
  6.             $this->beforeDispatch($eventName$event);
  7.             try {
  8.                 $e $this->stopwatch->start($eventName'section');
  9.                 try {
  1.     {
  2.         $this->requestStack->push($request);
  3.         // request
  4.         $event = new RequestEvent($this$request$type);
  5.         $this->dispatcher->dispatch($eventKernelEvents::REQUEST);
  6.         if ($event->hasResponse()) {
  7.             return $this->filterResponse($event->getResponse(), $request$type);
  8.         }
  1.     public function handle(Request $requestint $type HttpKernelInterface::MASTER_REQUESTbool $catch true)
  2.     {
  3.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
  1.     Request::setTrustedHosts([$trustedHosts]);
  2. }
  3. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Stack Traces 2

[2/2] RedisException

RedisException:
Connection refused

  at /tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php:7101
  at Redis->connect()
     (/tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php:7101)
  at ContainerZq4asV7\App_KernelDevDebugContainer->getSession_Storage_NativeService()
     (/tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php:2334)
  at ContainerZq4asV7\App_KernelDevDebugContainer->getSessionService()
     (/tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php:938)
  at ContainerZq4asV7\App_KernelDevDebugContainer->getBasketRepositoryService()
     (/tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php:850)
  at ContainerZq4asV7\App_KernelDevDebugContainer->getBasketManagerService()
     (/tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php:495)
  at ContainerZq4asV7\App_KernelDevDebugContainer->getApplicationGlobalsVariablesService2Service()
     (/tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php:3973)
  at ContainerZq4asV7\App_KernelDevDebugContainer->getApplicationGlobalsVariablesSubscriberService()
     (/tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php:1627)
  at ContainerZq4asV7\App_KernelDevDebugContainer->ContainerZq4asV7\{closure}()
     (/var/www/123roulement.com/web/vendor/symfony/event-dispatcher/EventDispatcher.php:267)
  at Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}()
     (/var/www/123roulement.com/web/vendor/symfony/event-dispatcher/EventDispatcher.php:230)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
     (/var/www/123roulement.com/web/vendor/symfony/event-dispatcher/EventDispatcher.php:59)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
     (/var/www/123roulement.com/web/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:151)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (/var/www/123roulement.com/web/vendor/symfony/http-kernel/HttpKernel.php:133)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (/var/www/123roulement.com/web/vendor/symfony/http-kernel/HttpKernel.php:79)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (/var/www/123roulement.com/web/vendor/symfony/http-kernel/EventListener/ErrorListener.php:60)
  at Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException()
     (/var/www/123roulement.com/web/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:117)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
     (/var/www/123roulement.com/web/vendor/symfony/event-dispatcher/EventDispatcher.php:230)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
     (/var/www/123roulement.com/web/vendor/symfony/event-dispatcher/EventDispatcher.php:59)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
     (/var/www/123roulement.com/web/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:151)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (/var/www/123roulement.com/web/vendor/symfony/http-kernel/HttpKernel.php:218)
  at Symfony\Component\HttpKernel\HttpKernel->handleThrowable()
     (/var/www/123roulement.com/web/vendor/symfony/http-kernel/HttpKernel.php:90)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (/var/www/123roulement.com/web/vendor/symfony/http-kernel/Kernel.php:196)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (/var/www/123roulement.com/web/public/index.php:25)                

[1/2] RedisException

RedisException:
Connection refused

  at /tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php:7101
  at Redis->connect()
     (/tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php:7101)
  at ContainerZq4asV7\App_KernelDevDebugContainer->getSession_Storage_NativeService()
     (/tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php:2334)
  at ContainerZq4asV7\App_KernelDevDebugContainer->getSessionService()
     (/tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php:938)
  at ContainerZq4asV7\App_KernelDevDebugContainer->getBasketRepositoryService()
     (/tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php:850)
  at ContainerZq4asV7\App_KernelDevDebugContainer->getBasketManagerService()
     (/tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php:2429)
  at ContainerZq4asV7\App_KernelDevDebugContainer->getTwigService()
     (/tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php:4173)
  at ContainerZq4asV7\App_KernelDevDebugContainer->getProductServiceService()
     (/tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php:927)
  at ContainerZq4asV7\App_KernelDevDebugContainer->getBasketRepositoryService()
     (/tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php:850)
  at ContainerZq4asV7\App_KernelDevDebugContainer->getBasketManagerService()
     (/tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php:495)
  at ContainerZq4asV7\App_KernelDevDebugContainer->getApplicationGlobalsVariablesService2Service()
     (/tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php:3973)
  at ContainerZq4asV7\App_KernelDevDebugContainer->getApplicationGlobalsVariablesSubscriberService()
     (/tmp/symfony/var/dev/cache/ContainerZq4asV7/App_KernelDevDebugContainer.php:1627)
  at ContainerZq4asV7\App_KernelDevDebugContainer->ContainerZq4asV7\{closure}()
     (/var/www/123roulement.com/web/vendor/symfony/event-dispatcher/EventDispatcher.php:245)
  at Symfony\Component\EventDispatcher\EventDispatcher->sortListeners()
     (/var/www/123roulement.com/web/vendor/symfony/event-dispatcher/EventDispatcher.php:76)
  at Symfony\Component\EventDispatcher\EventDispatcher->getListeners()
     (/var/www/123roulement.com/web/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:290)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->preProcess()
     (/var/www/123roulement.com/web/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:145)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (/var/www/123roulement.com/web/vendor/symfony/http-kernel/HttpKernel.php:133)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (/var/www/123roulement.com/web/vendor/symfony/http-kernel/HttpKernel.php:79)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (/var/www/123roulement.com/web/vendor/symfony/http-kernel/Kernel.php:196)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (/var/www/123roulement.com/web/public/index.php:25)