Doctrine\DBAL\Exception\DriverException {#18446 -query: Doctrine\DBAL\Query {#18449 -sql: "SELECT `rule`.`id` as `rule.id`, `rule`.`name` as `rule.name`, `rule`.`priority` as `rule.priority`, `rule`.`description` as `rule.description`, `rule`.`payload` as `rule.payload`, `rule`.`invalid` as `rule.invalid`, `rule`.`areas` as `rule.areas`, `rule`.`custom_fields` as `rule.customFields`, `rule`.`module_types` as `rule.moduleTypes`, `rule`.`created_at` as `rule.createdAt`, `rule`.`updated_at` as `rule.updatedAt` FROM `rule` WHERE `rule`.`id` IN (?, ?, ?, ?, ?)" -params: array:5 [ 0 => b"\x18˜\x15\f‹–AÞ¶bªY¼\fÿ" 1 => b"@-‚Oq~KF™|oZÁ—ç\x02" 2 => b"Û¢è½\x18ÉKM«B»\x7FѨŠò" 3 => b"V(¸&üýD\x12‘ˆ\x17T‚Li" 4 => b"é†eÚ$õOê€"à³Z£~" ] -types: array:5 [ 0 => Doctrine\DBAL\ParameterType {#1886 +name: "BINARY" } 1 => Doctrine\DBAL\ParameterType {#1886} 2 => Doctrine\DBAL\ParameterType {#1886} 3 => Doctrine\DBAL\ParameterType {#1886} 4 => Doctrine\DBAL\ParameterType {#1886} ] } }
1171, 1252, 1263, 1364, 1566 => new NotNullConstraintViolationException($exception, $query), default => new DriverException($exception, $query), }; }} private function handleDriverException( Driver\Exception $driverException, ?Query $query, ): DriverException { $this->exceptionConverter ??= $this->driver->getExceptionConverter(); $exception = $this->exceptionConverter->convert($driverException, $query); if ($exception instanceof ConnectionLost) { $this->close(); } Driver\Exception $e, string $sql, array $params = [], array $types = [], ): DriverException { return $this->handleDriverException($e, new Query($sql, $params, $types)); } /** @internal */ final public function convertException(Driver\Exception $e): DriverException { $result = $connection->query($sql); } return new Result($result, $this); } catch (Driver\Exception $e) { throw $this->convertExceptionDuringQuery($e, $sql, $params, $types); } } /** * Executes a caching query. * * @throws Exception */ public function executeQuery(): Result { return $this->connection->executeQuery( $this->getSQL(), $this->params, $this->types, $this->resultCacheProfile, ); if ($criteria->getTitle()) { $query->setTitle($criteria->getTitle() . '::read'); } return $query->executeQuery()->fetchAllAssociative(); } /** * @param EntityCollection<Entity> $collection * @param array<string, mixed> $partial if ($definition->isInheritanceAware() && $criteria->hasAssociation('parent')) { throw DataAbstractionLayerException::parentAssociationCannotBeFetched(); } $rows = $this->fetch($criteria, $definition, $context, $fields, $partial); $collection = $this->hydrator->hydrate($collection, $definition->getEntityClass(), $definition, $rows, $definition->getEntityName(), $context, $partial); $collection = $this->fetchAssociations($criteria, $definition, $context, $collection, $fields, $partial); /** @var EntityCollection<Entity> $collectionClass */ $collectionClass = $definition->getCollectionClass(); $fields = $this->criteriaFieldsResolver->resolve($criteria, $definition); return $this->_read( $criteria, $definition, $context, new $collectionClass(), $definition->getFields()->getBasicFields(), { $criteria = clone $criteria; /** @var TEntityCollection $entities */ // @phpstan-ignore varTag.type (phpstan can't detect that TEntityCollection is always an EntityCollection<Entity>) $entities = $this->reader->read($this->definition, $criteria, $context); if ($criteria->getFields() === []) { $event = $this->eventFactory->create($entities->getElements(), $context); } else { $event = $this->eventFactory->createPartial($entities->getElements(), $context); if (!RepositorySearchDetector::isSearchRequired($this->definition, $criteria)) { $this->eventDispatcher->dispatch( new EntitySearchedEvent($criteria, $this->definition, $context) ); $entities = $this->read($criteria, $context); return new EntitySearchResult($this->definition->getEntityName(), $entities->count(), $entities, $aggregations, $criteria, $context); } $ids = $this->searchIds($criteria, $context); * @return EntitySearchResult<TEntityCollection> */ public function search(Criteria $criteria, Context $context): EntitySearchResult { if (!$criteria->getTitle()) { return $this->_search($criteria, $context); } return Profiler::trace($criteria->getTitle(), fn () => $this->_search($criteria, $context), 'repository'); } return new RuleCollection(); } $criteria = new Criteria($this->ruleIds); return $this->ruleRepository->search($criteria, Context::createDefaultContext())->getEntities(); }} return \count($this->data); } public function collect(Request $request, Response $response, ?\Throwable $exception = null): void { $this->data = $this->getMatchingRules()->getElements(); } public static function getTemplate(): string { return '@Profiling/Collector/rules.html.twig'; } $response->headers->set('X-Debug-Token', $profile->getToken()); foreach ($this->collectors as $collector) { $collector->collect($request, $response, $exception); // we need to clone for sub-requests $profile->addCollector(clone $collector); } $usageIndexValue = $usageIndexReference = &$session->getUsageIndex(); $usageIndexReference = \PHP_INT_MIN; } try { if (!$profile = $this->profiler->collect($request, $event->getResponse(), $exception)) { return; } } finally { if ($session instanceof Session) { $usageIndexReference = $usageIndexValue; $this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener); $e = $this->stopwatch->start($this->name, 'event_listener'); try { ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher); } finally { if ($e->isStarted()) { $e->stop(); } } foreach ($listeners as $listener) { if ($stoppable && $event->isPropagationStopped()) { break; } $listener($event, $eventName, $this); } } /** * Sorts the internal list of listeners for the given event by priority. } else { $listeners = $this->getListeners($eventName); } if ($listeners) { $this->callListeners($listeners, $eventName, $event); } return $event; } * * @return TEvent */ public function dispatch(object $event, ?string $eventName = null): object { $event = $this->dispatcher->dispatch($event, $eventName); if (!$event instanceof FlowEventAware) { return $event; } ) { } public function dispatch(object $event, ?string $eventName = null): object { $event = $this->dispatcher->dispatch($event, $eventName); if (!HookableEventFactory::isHookable($event)) { return $event; } } $this->dispatch($nested, $name); } } return $this->dispatcher->dispatch($event, $eventName); } /** * @param callable $listener can not use native type declaration @see https://github.com/symfony/symfony/issues/42283 */ try { $this->beforeDispatch($eventName, $event); try { $e = $this->stopwatch->start($eventName, 'section'); try { $this->dispatcher->dispatch($event, $eventName); } finally { if ($e->isStarted()) { $e->stop(); } } */ private function filterResponse(Response $response, Request $request, int $type): Response { $event = new ResponseEvent($this, $request, $type, $response); $this->dispatcher->dispatch($event, KernelEvents::RESPONSE); $this->finishRequest($request, $type); return $event->getResponse(); } throw new ControllerDoesNotReturnResponseException($msg, $controller, __FILE__, __LINE__ - 17); } } return $this->filterResponse($response, $request, $type); } /** * Filters a response object. * $request->headers->set('X-Php-Ob-Level', (string) ob_get_level()); $this->requestStack->push($request); $response = null; try { return $response = $this->handleRaw($request, $type); } catch (\Throwable $e) { if ($e instanceof \Error && !$this->handleAllThrowables) { throw $e; } } public function handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response { if ($request->attributes->get('exception') !== null) { return parent::handle($request, $type, $catch); } if (!$request->attributes->has('sw-skip-transformer')) { try { $request = $this->requestTransformer->transform($request); } $request = $this->duplicateRequest($throwable, $event->getRequest()); try { $response = $event->getKernel()->handle($request, HttpKernelInterface::SUB_REQUEST, false); } catch (\Exception $e) { $f = FlattenException::createFromThrowable($e); $this->logException($e, \sprintf('Exception thrown when handling an exception (%s: %s at %s line %s)', $f->getClass(), $f->getMessage(), basename($e->getFile()), $e->getLine())); $this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener); $e = $this->stopwatch->start($this->name, 'event_listener'); try { ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher); } finally { if ($e->isStarted()) { $e->stop(); } } foreach ($listeners as $listener) { if ($stoppable && $event->isPropagationStopped()) { break; } $listener($event, $eventName, $this); } } /** * Sorts the internal list of listeners for the given event by priority. } else { $listeners = $this->getListeners($eventName); } if ($listeners) { $this->callListeners($listeners, $eventName, $event); } return $event; } * * @return TEvent */ public function dispatch(object $event, ?string $eventName = null): object { $event = $this->dispatcher->dispatch($event, $eventName); if (!$event instanceof FlowEventAware) { return $event; } ) { } public function dispatch(object $event, ?string $eventName = null): object { $event = $this->dispatcher->dispatch($event, $eventName); if (!HookableEventFactory::isHookable($event)) { return $event; } } $this->dispatch($nested, $name); } } return $this->dispatcher->dispatch($event, $eventName); } /** * @param callable $listener can not use native type declaration @see https://github.com/symfony/symfony/issues/42283 */ try { $this->beforeDispatch($eventName, $event); try { $e = $this->stopwatch->start($eventName, 'section'); try { $this->dispatcher->dispatch($event, $eventName); } finally { if ($e->isStarted()) { $e->stop(); } } * Handles a throwable by trying to convert it to a Response. */ private function handleThrowable(\Throwable $e, Request $request, int $type): Response { $event = new ExceptionEvent($this, $request, $type, $e, isKernelTerminating: $this->terminating); $this->dispatcher->dispatch($event, KernelEvents::EXCEPTION); // a listener might have replaced the exception $e = $event->getThrowable(); if (!$event->hasResponse()) { if ($pop = $request !== $this->requestStack->getMainRequest()) { $this->requestStack->push($request); } try { $response = $this->handleThrowable($exception, $request, self::MAIN_REQUEST); } finally { if ($pop) { $this->requestStack->pop(); } } if ($hasRun) { throw $e; } $hasRun = true; $kernel->terminateWithException($e, $request); }; } } elseif ($event instanceof ConsoleEvent && $app = $event->getCommand()->getApplication()) { $output = $event->getOutput(); if ($output instanceof ConsoleOutputInterface) { $this->exceptionHandler = null; } try { if (null !== $exceptionHandler) { $exceptionHandler($exception); return; } $handlerException ??= $exception; } catch (\Throwable $handlerException) { } try { if (null !== $fatalError) { self::$exitCode = 255; $handler->handleException($fatalError); } } catch (FatalError) { // Ignore this re-throw } } else { $code = $exception->getCode(); $sqlState = null; } return new self($exception->getMessage(), $sqlState, $code, $exception); }} public function execute(): Result { try { $this->stmt->execute(); } catch (PDOException $exception) { throw Exception::new($exception); } return new Result($this->stmt); } $stmt = $connection->prepare($sql); $this->bindParameters($stmt, $params, $types); $result = $stmt->execute(); } else { $result = $connection->query($sql); } return new Result($result, $this); * * @throws Exception */ public function executeQuery(): Result { return $this->connection->executeQuery( $this->getSQL(), $this->params, $this->types, $this->resultCacheProfile, ); if ($criteria->getTitle()) { $query->setTitle($criteria->getTitle() . '::read'); } return $query->executeQuery()->fetchAllAssociative(); } /** * @param EntityCollection<Entity> $collection * @param array<string, mixed> $partial if ($definition->isInheritanceAware() && $criteria->hasAssociation('parent')) { throw DataAbstractionLayerException::parentAssociationCannotBeFetched(); } $rows = $this->fetch($criteria, $definition, $context, $fields, $partial); $collection = $this->hydrator->hydrate($collection, $definition->getEntityClass(), $definition, $rows, $definition->getEntityName(), $context, $partial); $collection = $this->fetchAssociations($criteria, $definition, $context, $collection, $fields, $partial); /** @var EntityCollection<Entity> $collectionClass */ $collectionClass = $definition->getCollectionClass(); $fields = $this->criteriaFieldsResolver->resolve($criteria, $definition); return $this->_read( $criteria, $definition, $context, new $collectionClass(), $definition->getFields()->getBasicFields(), { $criteria = clone $criteria; /** @var TEntityCollection $entities */ // @phpstan-ignore varTag.type (phpstan can't detect that TEntityCollection is always an EntityCollection<Entity>) $entities = $this->reader->read($this->definition, $criteria, $context); if ($criteria->getFields() === []) { $event = $this->eventFactory->create($entities->getElements(), $context); } else { $event = $this->eventFactory->createPartial($entities->getElements(), $context); if (!RepositorySearchDetector::isSearchRequired($this->definition, $criteria)) { $this->eventDispatcher->dispatch( new EntitySearchedEvent($criteria, $this->definition, $context) ); $entities = $this->read($criteria, $context); return new EntitySearchResult($this->definition->getEntityName(), $entities->count(), $entities, $aggregations, $criteria, $context); } $ids = $this->searchIds($criteria, $context); * @return EntitySearchResult<TEntityCollection> */ public function search(Criteria $criteria, Context $context): EntitySearchResult { if (!$criteria->getTitle()) { return $this->_search($criteria, $context); } return Profiler::trace($criteria->getTitle(), fn () => $this->_search($criteria, $context), 'repository'); } return new RuleCollection(); } $criteria = new Criteria($this->ruleIds); return $this->ruleRepository->search($criteria, Context::createDefaultContext())->getEntities(); }} return \count($this->data); } public function collect(Request $request, Response $response, ?\Throwable $exception = null): void { $this->data = $this->getMatchingRules()->getElements(); } public static function getTemplate(): string { return '@Profiling/Collector/rules.html.twig'; } $response->headers->set('X-Debug-Token', $profile->getToken()); foreach ($this->collectors as $collector) { $collector->collect($request, $response, $exception); // we need to clone for sub-requests $profile->addCollector(clone $collector); } $usageIndexValue = $usageIndexReference = &$session->getUsageIndex(); $usageIndexReference = \PHP_INT_MIN; } try { if (!$profile = $this->profiler->collect($request, $event->getResponse(), $exception)) { return; } } finally { if ($session instanceof Session) { $usageIndexReference = $usageIndexValue; $this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener); $e = $this->stopwatch->start($this->name, 'event_listener'); try { ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher); } finally { if ($e->isStarted()) { $e->stop(); } } foreach ($listeners as $listener) { if ($stoppable && $event->isPropagationStopped()) { break; } $listener($event, $eventName, $this); } } /** * Sorts the internal list of listeners for the given event by priority. } else { $listeners = $this->getListeners($eventName); } if ($listeners) { $this->callListeners($listeners, $eventName, $event); } return $event; } * * @return TEvent */ public function dispatch(object $event, ?string $eventName = null): object { $event = $this->dispatcher->dispatch($event, $eventName); if (!$event instanceof FlowEventAware) { return $event; } ) { } public function dispatch(object $event, ?string $eventName = null): object { $event = $this->dispatcher->dispatch($event, $eventName); if (!HookableEventFactory::isHookable($event)) { return $event; } } $this->dispatch($nested, $name); } } return $this->dispatcher->dispatch($event, $eventName); } /** * @param callable $listener can not use native type declaration @see https://github.com/symfony/symfony/issues/42283 */ try { $this->beforeDispatch($eventName, $event); try { $e = $this->stopwatch->start($eventName, 'section'); try { $this->dispatcher->dispatch($event, $eventName); } finally { if ($e->isStarted()) { $e->stop(); } } */ private function filterResponse(Response $response, Request $request, int $type): Response { $event = new ResponseEvent($this, $request, $type, $response); $this->dispatcher->dispatch($event, KernelEvents::RESPONSE); $this->finishRequest($request, $type); return $event->getResponse(); } throw new ControllerDoesNotReturnResponseException($msg, $controller, __FILE__, __LINE__ - 17); } } return $this->filterResponse($response, $request, $type); } /** * Filters a response object. * $request->headers->set('X-Php-Ob-Level', (string) ob_get_level()); $this->requestStack->push($request); $response = null; try { return $response = $this->handleRaw($request, $type); } catch (\Throwable $e) { if ($e instanceof \Error && !$this->handleAllThrowables) { throw $e; } } public function handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response { if ($request->attributes->get('exception') !== null) { return parent::handle($request, $type, $catch); } if (!$request->attributes->has('sw-skip-transformer')) { try { $request = $this->requestTransformer->transform($request); } $request = $this->duplicateRequest($throwable, $event->getRequest()); try { $response = $event->getKernel()->handle($request, HttpKernelInterface::SUB_REQUEST, false); } catch (\Exception $e) { $f = FlattenException::createFromThrowable($e); $this->logException($e, \sprintf('Exception thrown when handling an exception (%s: %s at %s line %s)', $f->getClass(), $f->getMessage(), basename($e->getFile()), $e->getLine())); $this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener); $e = $this->stopwatch->start($this->name, 'event_listener'); try { ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher); } finally { if ($e->isStarted()) { $e->stop(); } } foreach ($listeners as $listener) { if ($stoppable && $event->isPropagationStopped()) { break; } $listener($event, $eventName, $this); } } /** * Sorts the internal list of listeners for the given event by priority. } else { $listeners = $this->getListeners($eventName); } if ($listeners) { $this->callListeners($listeners, $eventName, $event); } return $event; } * * @return TEvent */ public function dispatch(object $event, ?string $eventName = null): object { $event = $this->dispatcher->dispatch($event, $eventName); if (!$event instanceof FlowEventAware) { return $event; } ) { } public function dispatch(object $event, ?string $eventName = null): object { $event = $this->dispatcher->dispatch($event, $eventName); if (!HookableEventFactory::isHookable($event)) { return $event; } } $this->dispatch($nested, $name); } } return $this->dispatcher->dispatch($event, $eventName); } /** * @param callable $listener can not use native type declaration @see https://github.com/symfony/symfony/issues/42283 */ try { $this->beforeDispatch($eventName, $event); try { $e = $this->stopwatch->start($eventName, 'section'); try { $this->dispatcher->dispatch($event, $eventName); } finally { if ($e->isStarted()) { $e->stop(); } } * Handles a throwable by trying to convert it to a Response. */ private function handleThrowable(\Throwable $e, Request $request, int $type): Response { $event = new ExceptionEvent($this, $request, $type, $e, isKernelTerminating: $this->terminating); $this->dispatcher->dispatch($event, KernelEvents::EXCEPTION); // a listener might have replaced the exception $e = $event->getThrowable(); if (!$event->hasResponse()) { if ($pop = $request !== $this->requestStack->getMainRequest()) { $this->requestStack->push($request); } try { $response = $this->handleThrowable($exception, $request, self::MAIN_REQUEST); } finally { if ($pop) { $this->requestStack->pop(); } } if ($hasRun) { throw $e; } $hasRun = true; $kernel->terminateWithException($e, $request); }; } } elseif ($event instanceof ConsoleEvent && $app = $event->getCommand()->getApplication()) { $output = $event->getOutput(); if ($output instanceof ConsoleOutputInterface) { $this->exceptionHandler = null; } try { if (null !== $exceptionHandler) { $exceptionHandler($exception); return; } $handlerException ??= $exception; } catch (\Throwable $handlerException) { } try { if (null !== $fatalError) { self::$exitCode = 255; $handler->handleException($fatalError); } } catch (FatalError) { // Ignore this re-throw } } public function execute(): Result { try { $this->stmt->execute(); } catch (PDOException $exception) { throw Exception::new($exception); } return new Result($this->stmt); } public function execute(): Result { try { $this->stmt->execute(); } catch (PDOException $exception) { throw Exception::new($exception); } return new Result($this->stmt); $stmt = $connection->prepare($sql); $this->bindParameters($stmt, $params, $types); $result = $stmt->execute(); } else { $result = $connection->query($sql); } return new Result($result, $this); * * @throws Exception */ public function executeQuery(): Result { return $this->connection->executeQuery( $this->getSQL(), $this->params, $this->types, $this->resultCacheProfile, ); if ($criteria->getTitle()) { $query->setTitle($criteria->getTitle() . '::read'); } return $query->executeQuery()->fetchAllAssociative(); } /** * @param EntityCollection<Entity> $collection * @param array<string, mixed> $partial if ($definition->isInheritanceAware() && $criteria->hasAssociation('parent')) { throw DataAbstractionLayerException::parentAssociationCannotBeFetched(); } $rows = $this->fetch($criteria, $definition, $context, $fields, $partial); $collection = $this->hydrator->hydrate($collection, $definition->getEntityClass(), $definition, $rows, $definition->getEntityName(), $context, $partial); $collection = $this->fetchAssociations($criteria, $definition, $context, $collection, $fields, $partial); /** @var EntityCollection<Entity> $collectionClass */ $collectionClass = $definition->getCollectionClass(); $fields = $this->criteriaFieldsResolver->resolve($criteria, $definition); return $this->_read( $criteria, $definition, $context, new $collectionClass(), $definition->getFields()->getBasicFields(), { $criteria = clone $criteria; /** @var TEntityCollection $entities */ // @phpstan-ignore varTag.type (phpstan can't detect that TEntityCollection is always an EntityCollection<Entity>) $entities = $this->reader->read($this->definition, $criteria, $context); if ($criteria->getFields() === []) { $event = $this->eventFactory->create($entities->getElements(), $context); } else { $event = $this->eventFactory->createPartial($entities->getElements(), $context); if (!RepositorySearchDetector::isSearchRequired($this->definition, $criteria)) { $this->eventDispatcher->dispatch( new EntitySearchedEvent($criteria, $this->definition, $context) ); $entities = $this->read($criteria, $context); return new EntitySearchResult($this->definition->getEntityName(), $entities->count(), $entities, $aggregations, $criteria, $context); } $ids = $this->searchIds($criteria, $context); * @return EntitySearchResult<TEntityCollection> */ public function search(Criteria $criteria, Context $context): EntitySearchResult { if (!$criteria->getTitle()) { return $this->_search($criteria, $context); } return Profiler::trace($criteria->getTitle(), fn () => $this->_search($criteria, $context), 'repository'); } return new RuleCollection(); } $criteria = new Criteria($this->ruleIds); return $this->ruleRepository->search($criteria, Context::createDefaultContext())->getEntities(); }} return \count($this->data); } public function collect(Request $request, Response $response, ?\Throwable $exception = null): void { $this->data = $this->getMatchingRules()->getElements(); } public static function getTemplate(): string { return '@Profiling/Collector/rules.html.twig'; } $response->headers->set('X-Debug-Token', $profile->getToken()); foreach ($this->collectors as $collector) { $collector->collect($request, $response, $exception); // we need to clone for sub-requests $profile->addCollector(clone $collector); } $usageIndexValue = $usageIndexReference = &$session->getUsageIndex(); $usageIndexReference = \PHP_INT_MIN; } try { if (!$profile = $this->profiler->collect($request, $event->getResponse(), $exception)) { return; } } finally { if ($session instanceof Session) { $usageIndexReference = $usageIndexValue; $this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener); $e = $this->stopwatch->start($this->name, 'event_listener'); try { ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher); } finally { if ($e->isStarted()) { $e->stop(); } } foreach ($listeners as $listener) { if ($stoppable && $event->isPropagationStopped()) { break; } $listener($event, $eventName, $this); } } /** * Sorts the internal list of listeners for the given event by priority. } else { $listeners = $this->getListeners($eventName); } if ($listeners) { $this->callListeners($listeners, $eventName, $event); } return $event; } * * @return TEvent */ public function dispatch(object $event, ?string $eventName = null): object { $event = $this->dispatcher->dispatch($event, $eventName); if (!$event instanceof FlowEventAware) { return $event; } ) { } public function dispatch(object $event, ?string $eventName = null): object { $event = $this->dispatcher->dispatch($event, $eventName); if (!HookableEventFactory::isHookable($event)) { return $event; } } $this->dispatch($nested, $name); } } return $this->dispatcher->dispatch($event, $eventName); } /** * @param callable $listener can not use native type declaration @see https://github.com/symfony/symfony/issues/42283 */ try { $this->beforeDispatch($eventName, $event); try { $e = $this->stopwatch->start($eventName, 'section'); try { $this->dispatcher->dispatch($event, $eventName); } finally { if ($e->isStarted()) { $e->stop(); } } */ private function filterResponse(Response $response, Request $request, int $type): Response { $event = new ResponseEvent($this, $request, $type, $response); $this->dispatcher->dispatch($event, KernelEvents::RESPONSE); $this->finishRequest($request, $type); return $event->getResponse(); } throw new ControllerDoesNotReturnResponseException($msg, $controller, __FILE__, __LINE__ - 17); } } return $this->filterResponse($response, $request, $type); } /** * Filters a response object. * $request->headers->set('X-Php-Ob-Level', (string) ob_get_level()); $this->requestStack->push($request); $response = null; try { return $response = $this->handleRaw($request, $type); } catch (\Throwable $e) { if ($e instanceof \Error && !$this->handleAllThrowables) { throw $e; } } public function handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response { if ($request->attributes->get('exception') !== null) { return parent::handle($request, $type, $catch); } if (!$request->attributes->has('sw-skip-transformer')) { try { $request = $this->requestTransformer->transform($request); } $request = $this->duplicateRequest($throwable, $event->getRequest()); try { $response = $event->getKernel()->handle($request, HttpKernelInterface::SUB_REQUEST, false); } catch (\Exception $e) { $f = FlattenException::createFromThrowable($e); $this->logException($e, \sprintf('Exception thrown when handling an exception (%s: %s at %s line %s)', $f->getClass(), $f->getMessage(), basename($e->getFile()), $e->getLine())); $this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener); $e = $this->stopwatch->start($this->name, 'event_listener'); try { ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher); } finally { if ($e->isStarted()) { $e->stop(); } } foreach ($listeners as $listener) { if ($stoppable && $event->isPropagationStopped()) { break; } $listener($event, $eventName, $this); } } /** * Sorts the internal list of listeners for the given event by priority. } else { $listeners = $this->getListeners($eventName); } if ($listeners) { $this->callListeners($listeners, $eventName, $event); } return $event; } * * @return TEvent */ public function dispatch(object $event, ?string $eventName = null): object { $event = $this->dispatcher->dispatch($event, $eventName); if (!$event instanceof FlowEventAware) { return $event; } ) { } public function dispatch(object $event, ?string $eventName = null): object { $event = $this->dispatcher->dispatch($event, $eventName); if (!HookableEventFactory::isHookable($event)) { return $event; } } $this->dispatch($nested, $name); } } return $this->dispatcher->dispatch($event, $eventName); } /** * @param callable $listener can not use native type declaration @see https://github.com/symfony/symfony/issues/42283 */ try { $this->beforeDispatch($eventName, $event); try { $e = $this->stopwatch->start($eventName, 'section'); try { $this->dispatcher->dispatch($event, $eventName); } finally { if ($e->isStarted()) { $e->stop(); } } * Handles a throwable by trying to convert it to a Response. */ private function handleThrowable(\Throwable $e, Request $request, int $type): Response { $event = new ExceptionEvent($this, $request, $type, $e, isKernelTerminating: $this->terminating); $this->dispatcher->dispatch($event, KernelEvents::EXCEPTION); // a listener might have replaced the exception $e = $event->getThrowable(); if (!$event->hasResponse()) { if ($pop = $request !== $this->requestStack->getMainRequest()) { $this->requestStack->push($request); } try { $response = $this->handleThrowable($exception, $request, self::MAIN_REQUEST); } finally { if ($pop) { $this->requestStack->pop(); } } if ($hasRun) { throw $e; } $hasRun = true; $kernel->terminateWithException($e, $request); }; } } elseif ($event instanceof ConsoleEvent && $app = $event->getCommand()->getApplication()) { $output = $event->getOutput(); if ($output instanceof ConsoleOutputInterface) { $this->exceptionHandler = null; } try { if (null !== $exceptionHandler) { $exceptionHandler($exception); return; } $handlerException ??= $exception; } catch (\Throwable $handlerException) { } try { if (null !== $fatalError) { self::$exitCode = 255; $handler->handleException($fatalError); } } catch (FatalError) { // Ignore this re-throw } } public function execute(): Result { try { $this->stmt->execute(); } catch (PDOException $exception) { throw Exception::new($exception); } return new Result($this->stmt);|
[4/4]
DriverException
|
|---|
Doctrine\DBAL\Exception\DriverException:
An exception occurred while executing a query: SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuffered queries are active. Consider using PDOStatement::fetchAll(). Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute.
at /var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:102
at Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/doctrine/dbal/src/Connection.php:1460)
at Doctrine\DBAL\Connection->handleDriverException()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/doctrine/dbal/src/Connection.php:1396)
at Doctrine\DBAL\Connection->convertExceptionDuringQuery()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/doctrine/dbal/src/Connection.php:809)
at Doctrine\DBAL\Connection->executeQuery()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/doctrine/dbal/src/Query/QueryBuilder.php:323)
at Doctrine\DBAL\Query\QueryBuilder->executeQuery()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:317)
at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->fetch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:133)
at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->_read()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:76)
at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->read()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php:208)
at Shopware\Core\Framework\DataAbstractionLayer\EntityRepository->read()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php:236)
at Shopware\Core\Framework\DataAbstractionLayer\EntityRepository->_search()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php:65)
at Shopware\Core\Framework\DataAbstractionLayer\EntityRepository->search()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Profiling/Subscriber/ActiveRulesDataCollectorSubscriber.php:90)
at Shopware\Core\Profiling\Subscriber\ActiveRulesDataCollectorSubscriber->getMatchingRules()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Profiling/Subscriber/ActiveRulesDataCollectorSubscriber.php:69)
at Shopware\Core\Profiling\Subscriber\ActiveRulesDataCollectorSubscriber->collect()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/http-kernel/Profiler/Profiler.php:158)
at Symfony\Component\HttpKernel\Profiler\Profiler->collect()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/http-kernel/EventListener/ProfilerListener.php:102)
at Symfony\Component\HttpKernel\EventListener\ProfilerListener->onKernelResponse()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/event-dispatcher/EventDispatcher.php:206)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:41)
at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:28)
at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:126)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/http-kernel/HttpKernel.php:216)
at Symfony\Component\HttpKernel\HttpKernel->filterResponse()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/http-kernel/HttpKernel.php:204)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/Adapter/Kernel/HttpKernel.php:43)
at Shopware\Core\Framework\Adapter\Kernel\HttpKernel->handle()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/http-kernel/EventListener/ErrorListener.php:99)
at Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/event-dispatcher/EventDispatcher.php:206)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:41)
at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:28)
at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:126)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/http-kernel/HttpKernel.php:241)
at Symfony\Component\HttpKernel\HttpKernel->handleThrowable()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/http-kernel/HttpKernel.php:134)
at Symfony\Component\HttpKernel\HttpKernel->terminateWithException()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php:84)
at Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::Symfony\Component\HttpKernel\EventListener\{closure}()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/error-handler/ErrorHandler.php:538)
at Symfony\Component\ErrorHandler\ErrorHandler->handleException()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/error-handler/ErrorHandler.php:634)
at Symfony\Component\ErrorHandler\ErrorHandler::handleFatalError()
|
|
[3/4]
Exception
|
|---|
Doctrine\DBAL\Driver\PDO\Exception:
SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuffered queries are active. Consider using PDOStatement::fetchAll(). Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute.
at /var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:24
at Doctrine\DBAL\Driver\PDO\Exception::new()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:57)
at Doctrine\DBAL\Driver\PDO\Statement->execute()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/doctrine/dbal/src/Connection.php:802)
at Doctrine\DBAL\Connection->executeQuery()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/doctrine/dbal/src/Query/QueryBuilder.php:323)
at Doctrine\DBAL\Query\QueryBuilder->executeQuery()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:317)
at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->fetch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:133)
at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->_read()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:76)
at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->read()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php:208)
at Shopware\Core\Framework\DataAbstractionLayer\EntityRepository->read()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php:236)
at Shopware\Core\Framework\DataAbstractionLayer\EntityRepository->_search()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php:65)
at Shopware\Core\Framework\DataAbstractionLayer\EntityRepository->search()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Profiling/Subscriber/ActiveRulesDataCollectorSubscriber.php:90)
at Shopware\Core\Profiling\Subscriber\ActiveRulesDataCollectorSubscriber->getMatchingRules()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Profiling/Subscriber/ActiveRulesDataCollectorSubscriber.php:69)
at Shopware\Core\Profiling\Subscriber\ActiveRulesDataCollectorSubscriber->collect()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/http-kernel/Profiler/Profiler.php:158)
at Symfony\Component\HttpKernel\Profiler\Profiler->collect()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/http-kernel/EventListener/ProfilerListener.php:102)
at Symfony\Component\HttpKernel\EventListener\ProfilerListener->onKernelResponse()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/event-dispatcher/EventDispatcher.php:206)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:41)
at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:28)
at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:126)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/http-kernel/HttpKernel.php:216)
at Symfony\Component\HttpKernel\HttpKernel->filterResponse()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/http-kernel/HttpKernel.php:204)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/Adapter/Kernel/HttpKernel.php:43)
at Shopware\Core\Framework\Adapter\Kernel\HttpKernel->handle()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/http-kernel/EventListener/ErrorListener.php:99)
at Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/event-dispatcher/EventDispatcher.php:206)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:41)
at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:28)
at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:126)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/http-kernel/HttpKernel.php:241)
at Symfony\Component\HttpKernel\HttpKernel->handleThrowable()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/http-kernel/HttpKernel.php:134)
at Symfony\Component\HttpKernel\HttpKernel->terminateWithException()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php:84)
at Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::Symfony\Component\HttpKernel\EventListener\{closure}()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/error-handler/ErrorHandler.php:538)
at Symfony\Component\ErrorHandler\ErrorHandler->handleException()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/error-handler/ErrorHandler.php:634)
at Symfony\Component\ErrorHandler\ErrorHandler::handleFatalError()
|
|
[2/4]
PDOException
|
|---|
PDOException:
SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuffered queries are active. Consider using PDOStatement::fetchAll(). Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute.
at /var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:55
at PDOStatement->execute()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:55)
at Doctrine\DBAL\Driver\PDO\Statement->execute()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/doctrine/dbal/src/Connection.php:802)
at Doctrine\DBAL\Connection->executeQuery()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/doctrine/dbal/src/Query/QueryBuilder.php:323)
at Doctrine\DBAL\Query\QueryBuilder->executeQuery()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:317)
at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->fetch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:133)
at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->_read()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:76)
at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->read()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php:208)
at Shopware\Core\Framework\DataAbstractionLayer\EntityRepository->read()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php:236)
at Shopware\Core\Framework\DataAbstractionLayer\EntityRepository->_search()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php:65)
at Shopware\Core\Framework\DataAbstractionLayer\EntityRepository->search()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Profiling/Subscriber/ActiveRulesDataCollectorSubscriber.php:90)
at Shopware\Core\Profiling\Subscriber\ActiveRulesDataCollectorSubscriber->getMatchingRules()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Profiling/Subscriber/ActiveRulesDataCollectorSubscriber.php:69)
at Shopware\Core\Profiling\Subscriber\ActiveRulesDataCollectorSubscriber->collect()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/http-kernel/Profiler/Profiler.php:158)
at Symfony\Component\HttpKernel\Profiler\Profiler->collect()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/http-kernel/EventListener/ProfilerListener.php:102)
at Symfony\Component\HttpKernel\EventListener\ProfilerListener->onKernelResponse()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/event-dispatcher/EventDispatcher.php:206)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:41)
at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:28)
at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:126)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/http-kernel/HttpKernel.php:216)
at Symfony\Component\HttpKernel\HttpKernel->filterResponse()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/http-kernel/HttpKernel.php:204)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/Adapter/Kernel/HttpKernel.php:43)
at Shopware\Core\Framework\Adapter\Kernel\HttpKernel->handle()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/http-kernel/EventListener/ErrorListener.php:99)
at Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/event-dispatcher/EventDispatcher.php:206)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:41)
at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:28)
at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:126)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/http-kernel/HttpKernel.php:241)
at Symfony\Component\HttpKernel\HttpKernel->handleThrowable()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/http-kernel/HttpKernel.php:134)
at Symfony\Component\HttpKernel\HttpKernel->terminateWithException()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php:84)
at Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::Symfony\Component\HttpKernel\EventListener\{closure}()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/error-handler/ErrorHandler.php:538)
at Symfony\Component\ErrorHandler\ErrorHandler->handleException()
(/var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/symfony/error-handler/ErrorHandler.php:634)
at Symfony\Component\ErrorHandler\ErrorHandler::handleFatalError()
|
|
[1/4]
OutOfMemoryError
|
|---|
Symfony\Component\ErrorHandler\Error\OutOfMemoryError: Error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 4604576 bytes) at /var/www/unexstage.dev.fourdegrees.de/htdocs_67_test/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:55 |