https://mirbusin.ru/uk/api/checkout/citydetect

Exceptions

An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mirb_mir.city_translation' doesn't exist

Exceptions 3

Doctrine\DBAL\Exception\ TableNotFoundException

  1.             case 1050:
  2.                 return new TableExistsException($exception$query);
  3.             case 1051:
  4.             case 1146:
  5.                 return new TableNotFoundException($exception$query);
  6.             case 1216:
  7.             case 1217:
  8.             case 1451:
  9.             case 1452:
  1.     private function handleDriverException(
  2.         Driver\Exception $driverException,
  3.         ?Query $query
  4.     ): DriverException {
  5.         $this->exceptionConverter ??= $this->_driver->getExceptionConverter();
  6.         $exception                  $this->exceptionConverter->convert($driverException$query);
  7.         if ($exception instanceof ConnectionLost) {
  8.             $this->close();
  9.         }
in vendor/doctrine/dbal/src/Connection.php -> handleDriverException (line 1918)
  1.         Driver\Exception $e,
  2.         string $sql,
  3.         array $params = [],
  4.         array $types = []
  5.     ): DriverException {
  6.         return $this->handleDriverException($e, new Query($sql$params$types));
  7.     }
  8.     /** @internal */
  9.     final public function convertException(Driver\Exception $e): DriverException
  10.     {
in vendor/doctrine/dbal/src/Connection.php -> convertExceptionDuringQuery (line 1111)
  1.                 $result $connection->query($sql);
  2.             }
  3.             return new Result($result$this);
  4.         } catch (Driver\Exception $e) {
  5.             throw $this->convertExceptionDuringQuery($e$sql$params$types);
  6.         } finally {
  7.             if ($logger !== null) {
  8.                 $logger->stopQuery();
  9.             }
  10.         }
  1.         }
  2.         $sql              $this->getSelectSQL($criteria$assocnull$limit$offset);
  3.         [$params$types] = $this->expandToManyParameters($parameters);
  4.         return $this->conn->executeQuery($sql$params$types);
  5.     }
  6.     /**
  7.      * {@inheritDoc}
  8.      */
  1.     /**
  2.      * {@inheritDoc}
  3.      */
  4.     public function loadOneToManyCollection(array $assoc$sourceEntityPersistentCollection $collection)
  5.     {
  6.         $stmt $this->getOneToManyStatement($assoc$sourceEntity);
  7.         return $this->loadCollectionFromStatement($assoc$stmt$collection);
  8.     }
  9.     /**
in vendor/doctrine/orm/src/UnitOfWork.php -> loadOneToManyCollection (line 3301)
  1.         $assoc     $collection->getMapping();
  2.         $persister $this->getEntityPersister($assoc['targetEntity']);
  3.         switch ($assoc['type']) {
  4.             case ClassMetadata::ONE_TO_MANY:
  5.                 $persister->loadOneToManyCollection($assoc$collection->getOwner(), $collection);
  6.                 break;
  7.             case ClassMetadata::MANY_TO_MANY:
  8.                 $persister->loadManyToManyCollection($assoc$collection->getOwner(), $collection);
  9.                 break;
  1.         if ($this->isDirty) {
  2.             $newlyAddedDirtyObjects $this->unwrap()->toArray();
  3.         }
  4.         $this->unwrap()->clear();
  5.         $this->getUnitOfWork()->loadCollection($this);
  6.         $this->takeSnapshot();
  7.         if ($newlyAddedDirtyObjects) {
  8.             $this->restoreNewObjectsInDirtyCollection($newlyAddedDirtyObjects);
  9.         }
  1.     {
  2.         if ($this->initialized || ! $this->association) {
  3.             return;
  4.         }
  5.         $this->doInitialize();
  6.         $this->initialized true;
  7.     }
  8.     /**
  1.      * @psalm-return Traversable<TKey,T>
  2.      */
  3.     #[ReturnTypeWillChange]
  4.     public function getIterator()
  5.     {
  6.         $this->initialize();
  7.         return $this->collection->getIterator();
  8.     }
  9.     /**
  1.                     && 'object' === $assoc['mappedBy']
  2.                     && EntityClassMetadata::ONE_TO_MANY === $assoc['type']
  3.                 ;
  4.                 if ($isRightCollection) {
  5.                     $collection $wrapped->getPropertyValue($assoc['fieldName']);
  6.                     foreach ($collection as $trans) {
  7.                         if ($trans->getLocale() === $locale) {
  8.                             $result[] = [
  9.                                 'field' => $trans->getField(),
  10.                                 'content' => $trans->getContent(),
  11.                             ];
  1.             $translationClass $this->getTranslationClass($ea$config['useObjectClass']);
  2.             $result $ea->loadTranslations(
  3.                 $object,
  4.                 $translationClass,
  5.                 $locale,
  6.                 $config['useObjectClass']
  7.             );
  8.             // translate object's translatable properties
  9.             foreach ($config['fields'] as $field) {
  10.                 $translated $this->defaultTranslationValue;
  1.         if (!isset($this->initialized[$eventName])) {
  2.             $this->initializeListeners($eventName);
  3.         }
  4.         foreach ($this->listeners[$eventName] as $hash => $listener) {
  5.             $listener->{$this->methods[$eventName][$hash]}($eventArgs);
  6.         }
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  1.                 $instance->$method($entity$event);
  2.             }
  3.         }
  4.         if ($invoke self::INVOKE_MANAGER) {
  5.             $this->eventManager->dispatchEvent($eventName$event);
  6.         }
  7.     }
  8. }
  1.         foreach ($toInvoke as $classAndEntity) {
  2.             [$class$invoke$entity] = $classAndEntity;
  3.             $this->listenersInvoker->invoke(
  4.                 $class,
  5.                 Events::postLoad,
  6.                 $entity,
  7.                 new PostLoadEventArgs($entity$this->em),
  8.                 $invoke
  9.             );
in vendor/doctrine/orm/src/UnitOfWork.php -> hydrationComplete (line 3981)
  1.      *
  2.      * @return void
  3.      */
  4.     public function hydrationComplete()
  5.     {
  6.         $this->hydrationCompleteHandler->hydrationComplete();
  7.     }
  8.     private function clearIdentityMapForEntityName(string $entityName): void
  9.     {
  10.         if (! isset($this->identityMap[$entityName])) {
  1.     protected function cleanup()
  2.     {
  3.         parent::cleanup();
  4.         $this->_uow->triggerEagerLoads();
  5.         $this->_uow->hydrationComplete();
  6.     }
  7.     /**
  8.      * {@inheritDoc}
  9.      */
  1.         $this->prepare();
  2.         try {
  3.             $result $this->hydrateAllData();
  4.         } finally {
  5.             $this->cleanup();
  6.         }
  7.         return $result;
  8.     }
  1.             $hints[Query::HINT_REFRESH]        = true;
  2.             $hints[Query::HINT_REFRESH_ENTITY] = $entity;
  3.         }
  4.         $hydrator $this->em->newHydrator($this->currentPersisterContext->selectJoinSql Query::HYDRATE_OBJECT Query::HYDRATE_SIMPLEOBJECT);
  5.         $entities $hydrator->hydrateAll($stmt$this->currentPersisterContext->rsm$hints);
  6.         return $entities $entities[0] : null;
  7.     }
  8.     /**
  1.      */
  2.     public function findOneBy(array $criteria, ?array $orderBy null)
  3.     {
  4.         $persister $this->_em->getUnitOfWork()->getEntityPersister($this->_entityName);
  5.         return $persister->load($criterianullnull, [], null1$orderBy);
  6.     }
  7.     /**
  8.      * Counts entities by a set of criteria.
  9.      *
EntityRepository->findOneBy() in src/Controller/Api/CheckoutController.php (line 185)
  1.                 curl_setopt($curlCURLOPT_HTTPHEADER$headers);
  2.                 $response json_decode(curl_exec($curl));
  3.                 if ($response->location == null) {
  4.                     $region $this->Regions->findOneBy(['fias_id' => $this->default_region_id]);
  5.                     $city $this->Cities->findOneBy(['fias_id' => $this->default_city_id]);
  6.                     $this->Checkout->setRegion_fias_id($region->getFiasId());
  7.                     $this->Checkout->setRegion_name($region->getName());
  8.                     $this->Checkout->setCity_fias_id($city->getFiasId());
  9.                     $this->Checkout->setCity_name($city->getName());
  10.                     $this->Checkout->setCity_post_code($city->getPostalCode());
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  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.         if (!IpUtils::checkIp('127.0.0.1'$trustedProxies)) {
  2.             Request::setTrustedProxies(array_merge($trustedProxies, ['127.0.0.1']), Request::getTrustedHeaderSet());
  3.         }
  4.         try {
  5.             return $kernel->handle($request$type$catch);
  6.         } finally {
  7.             // restore global state
  8.             Request::setTrustedProxies($trustedProxies$trustedHeaderSet);
  9.         }
  10.     }
  1.         if ($this->surrogate) {
  2.             $this->surrogate->addSurrogateCapability($request);
  3.         }
  4.         // always a "master" request (as the real master request can be in cache)
  5.         $response SubRequestHandler::handle($this->kernel$requestHttpKernelInterface::MAIN_REQUEST$catch);
  6.         /*
  7.          * Support stale-if-error given on Responses or as a config option.
  8.          * RFC 7234 summarizes in Section 4.2.4 (but also mentions with the individual
  9.          * Cache-Control directives) that
  1.     protected function forward(Request $requestbool $catch falseResponse $entry null): Response
  2.     {
  3.         $this->getKernel()->boot();
  4.         $this->getKernel()->getContainer()->set('cache'$this);
  5.         return parent::forward($request$catch$entry);
  6.     }
  7.     /**
  8.      * Returns an array of options to customize the Cache configuration.
  9.      */
  1.         // avoid that the backend sends no content
  2.         $subRequest->headers->remove('If-Modified-Since');
  3.         $subRequest->headers->remove('If-None-Match');
  4.         $response $this->forward($subRequest$catch);
  5.         if ($response->isCacheable()) {
  6.             $this->store($request$response);
  7.         }
  1.         }
  2.         if (null === $entry) {
  3.             $this->record($request'miss');
  4.             return $this->fetch($request$catch);
  5.         }
  6.         if (!$this->isFreshEnough($request$entry)) {
  7.             $this->record($request'stale');
  1.                 reload the cache by fetching a fresh response and caching it (if possible).
  2.             */
  3.             $this->record($request'reload');
  4.             $response $this->fetch($request$catch);
  5.         } else {
  6.             $response $this->lookup($request$catch);
  7.         }
  8.         $this->restoreResponseBody($request$response);
  9.         if (HttpKernelInterface::MAIN_REQUEST === $type) {
  1.     {
  2.         if (!$this->booted) {
  3.             $container $this->container ?? $this->preBoot();
  4.             if ($container->has('http_cache')) {
  5.                 return $container->get('http_cache')->handle($request$type$catch);
  6.             }
  7.         }
  8.         $this->boot();
  9.         ++$this->requestStackSize;
  1.         $this->request $request;
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         $response->send();
  7.         if ($this->kernel instanceof TerminableInterface) {
  8.             $this->kernel->terminate($this->request$response);
  9.         }
in vendor/autoload_runtime.php -> run (line 29)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/home/mirbusin.ru/public_html/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {    
  5.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

Doctrine\DBAL\Driver\PDO\ Exception

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mirb_mir.city_translation' doesn't exist

  1.         } else {
  2.             $code     $exception->getCode();
  3.             $sqlState null;
  4.         }
  5.         return new self($exception->getMessage(), $sqlState$code$exception);
  6.     }
  7. }
  1.         }
  2.         try {
  3.             $this->stmt->execute($params);
  4.         } catch (PDOException $exception) {
  5.             throw Exception::new($exception);
  6.         }
  7.         return new Result($this->stmt);
  8.     }
  9. }
  1.     /**
  2.      * {@inheritDoc}
  3.      */
  4.     public function execute($params null): Result
  5.     {
  6.         return $this->wrappedStatement->execute($params);
  7.     }
  8. }
  1.         $this->debugDataHolder->addQuery($this->connectionName$query = clone $this->query);
  2.         $query->start();
  3.         try {
  4.             $result parent::execute($params);
  5.         } finally {
  6.             $query->stop();
  7.         }
  8.         return $result;
  1.                 $stmt $connection->prepare($sql);
  2.                 $this->bindParameters($stmt$params$types);
  3.                 $result $stmt->execute();
  4.             } else {
  5.                 $result $connection->query($sql);
  6.             }
  7.             return new Result($result$this);
  1.         }
  2.         $sql              $this->getSelectSQL($criteria$assocnull$limit$offset);
  3.         [$params$types] = $this->expandToManyParameters($parameters);
  4.         return $this->conn->executeQuery($sql$params$types);
  5.     }
  6.     /**
  7.      * {@inheritDoc}
  8.      */
  1.     /**
  2.      * {@inheritDoc}
  3.      */
  4.     public function loadOneToManyCollection(array $assoc$sourceEntityPersistentCollection $collection)
  5.     {
  6.         $stmt $this->getOneToManyStatement($assoc$sourceEntity);
  7.         return $this->loadCollectionFromStatement($assoc$stmt$collection);
  8.     }
  9.     /**
in vendor/doctrine/orm/src/UnitOfWork.php -> loadOneToManyCollection (line 3301)
  1.         $assoc     $collection->getMapping();
  2.         $persister $this->getEntityPersister($assoc['targetEntity']);
  3.         switch ($assoc['type']) {
  4.             case ClassMetadata::ONE_TO_MANY:
  5.                 $persister->loadOneToManyCollection($assoc$collection->getOwner(), $collection);
  6.                 break;
  7.             case ClassMetadata::MANY_TO_MANY:
  8.                 $persister->loadManyToManyCollection($assoc$collection->getOwner(), $collection);
  9.                 break;
  1.         if ($this->isDirty) {
  2.             $newlyAddedDirtyObjects $this->unwrap()->toArray();
  3.         }
  4.         $this->unwrap()->clear();
  5.         $this->getUnitOfWork()->loadCollection($this);
  6.         $this->takeSnapshot();
  7.         if ($newlyAddedDirtyObjects) {
  8.             $this->restoreNewObjectsInDirtyCollection($newlyAddedDirtyObjects);
  9.         }
  1.     {
  2.         if ($this->initialized || ! $this->association) {
  3.             return;
  4.         }
  5.         $this->doInitialize();
  6.         $this->initialized true;
  7.     }
  8.     /**
  1.      * @psalm-return Traversable<TKey,T>
  2.      */
  3.     #[ReturnTypeWillChange]
  4.     public function getIterator()
  5.     {
  6.         $this->initialize();
  7.         return $this->collection->getIterator();
  8.     }
  9.     /**
  1.                     && 'object' === $assoc['mappedBy']
  2.                     && EntityClassMetadata::ONE_TO_MANY === $assoc['type']
  3.                 ;
  4.                 if ($isRightCollection) {
  5.                     $collection $wrapped->getPropertyValue($assoc['fieldName']);
  6.                     foreach ($collection as $trans) {
  7.                         if ($trans->getLocale() === $locale) {
  8.                             $result[] = [
  9.                                 'field' => $trans->getField(),
  10.                                 'content' => $trans->getContent(),
  11.                             ];
  1.             $translationClass $this->getTranslationClass($ea$config['useObjectClass']);
  2.             $result $ea->loadTranslations(
  3.                 $object,
  4.                 $translationClass,
  5.                 $locale,
  6.                 $config['useObjectClass']
  7.             );
  8.             // translate object's translatable properties
  9.             foreach ($config['fields'] as $field) {
  10.                 $translated $this->defaultTranslationValue;
  1.         if (!isset($this->initialized[$eventName])) {
  2.             $this->initializeListeners($eventName);
  3.         }
  4.         foreach ($this->listeners[$eventName] as $hash => $listener) {
  5.             $listener->{$this->methods[$eventName][$hash]}($eventArgs);
  6.         }
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  1.                 $instance->$method($entity$event);
  2.             }
  3.         }
  4.         if ($invoke self::INVOKE_MANAGER) {
  5.             $this->eventManager->dispatchEvent($eventName$event);
  6.         }
  7.     }
  8. }
  1.         foreach ($toInvoke as $classAndEntity) {
  2.             [$class$invoke$entity] = $classAndEntity;
  3.             $this->listenersInvoker->invoke(
  4.                 $class,
  5.                 Events::postLoad,
  6.                 $entity,
  7.                 new PostLoadEventArgs($entity$this->em),
  8.                 $invoke
  9.             );
in vendor/doctrine/orm/src/UnitOfWork.php -> hydrationComplete (line 3981)
  1.      *
  2.      * @return void
  3.      */
  4.     public function hydrationComplete()
  5.     {
  6.         $this->hydrationCompleteHandler->hydrationComplete();
  7.     }
  8.     private function clearIdentityMapForEntityName(string $entityName): void
  9.     {
  10.         if (! isset($this->identityMap[$entityName])) {
  1.     protected function cleanup()
  2.     {
  3.         parent::cleanup();
  4.         $this->_uow->triggerEagerLoads();
  5.         $this->_uow->hydrationComplete();
  6.     }
  7.     /**
  8.      * {@inheritDoc}
  9.      */
  1.         $this->prepare();
  2.         try {
  3.             $result $this->hydrateAllData();
  4.         } finally {
  5.             $this->cleanup();
  6.         }
  7.         return $result;
  8.     }
  1.             $hints[Query::HINT_REFRESH]        = true;
  2.             $hints[Query::HINT_REFRESH_ENTITY] = $entity;
  3.         }
  4.         $hydrator $this->em->newHydrator($this->currentPersisterContext->selectJoinSql Query::HYDRATE_OBJECT Query::HYDRATE_SIMPLEOBJECT);
  5.         $entities $hydrator->hydrateAll($stmt$this->currentPersisterContext->rsm$hints);
  6.         return $entities $entities[0] : null;
  7.     }
  8.     /**
  1.      */
  2.     public function findOneBy(array $criteria, ?array $orderBy null)
  3.     {
  4.         $persister $this->_em->getUnitOfWork()->getEntityPersister($this->_entityName);
  5.         return $persister->load($criterianullnull, [], null1$orderBy);
  6.     }
  7.     /**
  8.      * Counts entities by a set of criteria.
  9.      *
EntityRepository->findOneBy() in src/Controller/Api/CheckoutController.php (line 185)
  1.                 curl_setopt($curlCURLOPT_HTTPHEADER$headers);
  2.                 $response json_decode(curl_exec($curl));
  3.                 if ($response->location == null) {
  4.                     $region $this->Regions->findOneBy(['fias_id' => $this->default_region_id]);
  5.                     $city $this->Cities->findOneBy(['fias_id' => $this->default_city_id]);
  6.                     $this->Checkout->setRegion_fias_id($region->getFiasId());
  7.                     $this->Checkout->setRegion_name($region->getName());
  8.                     $this->Checkout->setCity_fias_id($city->getFiasId());
  9.                     $this->Checkout->setCity_name($city->getName());
  10.                     $this->Checkout->setCity_post_code($city->getPostalCode());
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  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.         if (!IpUtils::checkIp('127.0.0.1'$trustedProxies)) {
  2.             Request::setTrustedProxies(array_merge($trustedProxies, ['127.0.0.1']), Request::getTrustedHeaderSet());
  3.         }
  4.         try {
  5.             return $kernel->handle($request$type$catch);
  6.         } finally {
  7.             // restore global state
  8.             Request::setTrustedProxies($trustedProxies$trustedHeaderSet);
  9.         }
  10.     }
  1.         if ($this->surrogate) {
  2.             $this->surrogate->addSurrogateCapability($request);
  3.         }
  4.         // always a "master" request (as the real master request can be in cache)
  5.         $response SubRequestHandler::handle($this->kernel$requestHttpKernelInterface::MAIN_REQUEST$catch);
  6.         /*
  7.          * Support stale-if-error given on Responses or as a config option.
  8.          * RFC 7234 summarizes in Section 4.2.4 (but also mentions with the individual
  9.          * Cache-Control directives) that
  1.     protected function forward(Request $requestbool $catch falseResponse $entry null): Response
  2.     {
  3.         $this->getKernel()->boot();
  4.         $this->getKernel()->getContainer()->set('cache'$this);
  5.         return parent::forward($request$catch$entry);
  6.     }
  7.     /**
  8.      * Returns an array of options to customize the Cache configuration.
  9.      */
  1.         // avoid that the backend sends no content
  2.         $subRequest->headers->remove('If-Modified-Since');
  3.         $subRequest->headers->remove('If-None-Match');
  4.         $response $this->forward($subRequest$catch);
  5.         if ($response->isCacheable()) {
  6.             $this->store($request$response);
  7.         }
  1.         }
  2.         if (null === $entry) {
  3.             $this->record($request'miss');
  4.             return $this->fetch($request$catch);
  5.         }
  6.         if (!$this->isFreshEnough($request$entry)) {
  7.             $this->record($request'stale');
  1.                 reload the cache by fetching a fresh response and caching it (if possible).
  2.             */
  3.             $this->record($request'reload');
  4.             $response $this->fetch($request$catch);
  5.         } else {
  6.             $response $this->lookup($request$catch);
  7.         }
  8.         $this->restoreResponseBody($request$response);
  9.         if (HttpKernelInterface::MAIN_REQUEST === $type) {
  1.     {
  2.         if (!$this->booted) {
  3.             $container $this->container ?? $this->preBoot();
  4.             if ($container->has('http_cache')) {
  5.                 return $container->get('http_cache')->handle($request$type$catch);
  6.             }
  7.         }
  8.         $this->boot();
  9.         ++$this->requestStackSize;
  1.         $this->request $request;
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         $response->send();
  7.         if ($this->kernel instanceof TerminableInterface) {
  8.             $this->kernel->terminate($this->request$response);
  9.         }
in vendor/autoload_runtime.php -> run (line 29)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/home/mirbusin.ru/public_html/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {    
  5.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

PDOException

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mirb_mir.city_translation' doesn't exist

  1.                     ' Statement::bindParam() or Statement::bindValue() instead.',
  2.             );
  3.         }
  4.         try {
  5.             $this->stmt->execute($params);
  6.         } catch (PDOException $exception) {
  7.             throw Exception::new($exception);
  8.         }
  9.         return new Result($this->stmt);
  1.                     ' Statement::bindParam() or Statement::bindValue() instead.',
  2.             );
  3.         }
  4.         try {
  5.             $this->stmt->execute($params);
  6.         } catch (PDOException $exception) {
  7.             throw Exception::new($exception);
  8.         }
  9.         return new Result($this->stmt);
  1.     /**
  2.      * {@inheritDoc}
  3.      */
  4.     public function execute($params null): Result
  5.     {
  6.         return $this->wrappedStatement->execute($params);
  7.     }
  8. }
  1.         $this->debugDataHolder->addQuery($this->connectionName$query = clone $this->query);
  2.         $query->start();
  3.         try {
  4.             $result parent::execute($params);
  5.         } finally {
  6.             $query->stop();
  7.         }
  8.         return $result;
  1.                 $stmt $connection->prepare($sql);
  2.                 $this->bindParameters($stmt$params$types);
  3.                 $result $stmt->execute();
  4.             } else {
  5.                 $result $connection->query($sql);
  6.             }
  7.             return new Result($result$this);
  1.         }
  2.         $sql              $this->getSelectSQL($criteria$assocnull$limit$offset);
  3.         [$params$types] = $this->expandToManyParameters($parameters);
  4.         return $this->conn->executeQuery($sql$params$types);
  5.     }
  6.     /**
  7.      * {@inheritDoc}
  8.      */
  1.     /**
  2.      * {@inheritDoc}
  3.      */
  4.     public function loadOneToManyCollection(array $assoc$sourceEntityPersistentCollection $collection)
  5.     {
  6.         $stmt $this->getOneToManyStatement($assoc$sourceEntity);
  7.         return $this->loadCollectionFromStatement($assoc$stmt$collection);
  8.     }
  9.     /**
in vendor/doctrine/orm/src/UnitOfWork.php -> loadOneToManyCollection (line 3301)
  1.         $assoc     $collection->getMapping();
  2.         $persister $this->getEntityPersister($assoc['targetEntity']);
  3.         switch ($assoc['type']) {
  4.             case ClassMetadata::ONE_TO_MANY:
  5.                 $persister->loadOneToManyCollection($assoc$collection->getOwner(), $collection);
  6.                 break;
  7.             case ClassMetadata::MANY_TO_MANY:
  8.                 $persister->loadManyToManyCollection($assoc$collection->getOwner(), $collection);
  9.                 break;
  1.         if ($this->isDirty) {
  2.             $newlyAddedDirtyObjects $this->unwrap()->toArray();
  3.         }
  4.         $this->unwrap()->clear();
  5.         $this->getUnitOfWork()->loadCollection($this);
  6.         $this->takeSnapshot();
  7.         if ($newlyAddedDirtyObjects) {
  8.             $this->restoreNewObjectsInDirtyCollection($newlyAddedDirtyObjects);
  9.         }
  1.     {
  2.         if ($this->initialized || ! $this->association) {
  3.             return;
  4.         }
  5.         $this->doInitialize();
  6.         $this->initialized true;
  7.     }
  8.     /**
  1.      * @psalm-return Traversable<TKey,T>
  2.      */
  3.     #[ReturnTypeWillChange]
  4.     public function getIterator()
  5.     {
  6.         $this->initialize();
  7.         return $this->collection->getIterator();
  8.     }
  9.     /**
  1.                     && 'object' === $assoc['mappedBy']
  2.                     && EntityClassMetadata::ONE_TO_MANY === $assoc['type']
  3.                 ;
  4.                 if ($isRightCollection) {
  5.                     $collection $wrapped->getPropertyValue($assoc['fieldName']);
  6.                     foreach ($collection as $trans) {
  7.                         if ($trans->getLocale() === $locale) {
  8.                             $result[] = [
  9.                                 'field' => $trans->getField(),
  10.                                 'content' => $trans->getContent(),
  11.                             ];
  1.             $translationClass $this->getTranslationClass($ea$config['useObjectClass']);
  2.             $result $ea->loadTranslations(
  3.                 $object,
  4.                 $translationClass,
  5.                 $locale,
  6.                 $config['useObjectClass']
  7.             );
  8.             // translate object's translatable properties
  9.             foreach ($config['fields'] as $field) {
  10.                 $translated $this->defaultTranslationValue;
  1.         if (!isset($this->initialized[$eventName])) {
  2.             $this->initializeListeners($eventName);
  3.         }
  4.         foreach ($this->listeners[$eventName] as $hash => $listener) {
  5.             $listener->{$this->methods[$eventName][$hash]}($eventArgs);
  6.         }
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  1.                 $instance->$method($entity$event);
  2.             }
  3.         }
  4.         if ($invoke self::INVOKE_MANAGER) {
  5.             $this->eventManager->dispatchEvent($eventName$event);
  6.         }
  7.     }
  8. }
  1.         foreach ($toInvoke as $classAndEntity) {
  2.             [$class$invoke$entity] = $classAndEntity;
  3.             $this->listenersInvoker->invoke(
  4.                 $class,
  5.                 Events::postLoad,
  6.                 $entity,
  7.                 new PostLoadEventArgs($entity$this->em),
  8.                 $invoke
  9.             );
in vendor/doctrine/orm/src/UnitOfWork.php -> hydrationComplete (line 3981)
  1.      *
  2.      * @return void
  3.      */
  4.     public function hydrationComplete()
  5.     {
  6.         $this->hydrationCompleteHandler->hydrationComplete();
  7.     }
  8.     private function clearIdentityMapForEntityName(string $entityName): void
  9.     {
  10.         if (! isset($this->identityMap[$entityName])) {
  1.     protected function cleanup()
  2.     {
  3.         parent::cleanup();
  4.         $this->_uow->triggerEagerLoads();
  5.         $this->_uow->hydrationComplete();
  6.     }
  7.     /**
  8.      * {@inheritDoc}
  9.      */
  1.         $this->prepare();
  2.         try {
  3.             $result $this->hydrateAllData();
  4.         } finally {
  5.             $this->cleanup();
  6.         }
  7.         return $result;
  8.     }
  1.             $hints[Query::HINT_REFRESH]        = true;
  2.             $hints[Query::HINT_REFRESH_ENTITY] = $entity;
  3.         }
  4.         $hydrator $this->em->newHydrator($this->currentPersisterContext->selectJoinSql Query::HYDRATE_OBJECT Query::HYDRATE_SIMPLEOBJECT);
  5.         $entities $hydrator->hydrateAll($stmt$this->currentPersisterContext->rsm$hints);
  6.         return $entities $entities[0] : null;
  7.     }
  8.     /**
  1.      */
  2.     public function findOneBy(array $criteria, ?array $orderBy null)
  3.     {
  4.         $persister $this->_em->getUnitOfWork()->getEntityPersister($this->_entityName);
  5.         return $persister->load($criterianullnull, [], null1$orderBy);
  6.     }
  7.     /**
  8.      * Counts entities by a set of criteria.
  9.      *
EntityRepository->findOneBy() in src/Controller/Api/CheckoutController.php (line 185)
  1.                 curl_setopt($curlCURLOPT_HTTPHEADER$headers);
  2.                 $response json_decode(curl_exec($curl));
  3.                 if ($response->location == null) {
  4.                     $region $this->Regions->findOneBy(['fias_id' => $this->default_region_id]);
  5.                     $city $this->Cities->findOneBy(['fias_id' => $this->default_city_id]);
  6.                     $this->Checkout->setRegion_fias_id($region->getFiasId());
  7.                     $this->Checkout->setRegion_name($region->getName());
  8.                     $this->Checkout->setCity_fias_id($city->getFiasId());
  9.                     $this->Checkout->setCity_name($city->getName());
  10.                     $this->Checkout->setCity_post_code($city->getPostalCode());
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  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.         if (!IpUtils::checkIp('127.0.0.1'$trustedProxies)) {
  2.             Request::setTrustedProxies(array_merge($trustedProxies, ['127.0.0.1']), Request::getTrustedHeaderSet());
  3.         }
  4.         try {
  5.             return $kernel->handle($request$type$catch);
  6.         } finally {
  7.             // restore global state
  8.             Request::setTrustedProxies($trustedProxies$trustedHeaderSet);
  9.         }
  10.     }
  1.         if ($this->surrogate) {
  2.             $this->surrogate->addSurrogateCapability($request);
  3.         }
  4.         // always a "master" request (as the real master request can be in cache)
  5.         $response SubRequestHandler::handle($this->kernel$requestHttpKernelInterface::MAIN_REQUEST$catch);
  6.         /*
  7.          * Support stale-if-error given on Responses or as a config option.
  8.          * RFC 7234 summarizes in Section 4.2.4 (but also mentions with the individual
  9.          * Cache-Control directives) that
  1.     protected function forward(Request $requestbool $catch falseResponse $entry null): Response
  2.     {
  3.         $this->getKernel()->boot();
  4.         $this->getKernel()->getContainer()->set('cache'$this);
  5.         return parent::forward($request$catch$entry);
  6.     }
  7.     /**
  8.      * Returns an array of options to customize the Cache configuration.
  9.      */
  1.         // avoid that the backend sends no content
  2.         $subRequest->headers->remove('If-Modified-Since');
  3.         $subRequest->headers->remove('If-None-Match');
  4.         $response $this->forward($subRequest$catch);
  5.         if ($response->isCacheable()) {
  6.             $this->store($request$response);
  7.         }
  1.         }
  2.         if (null === $entry) {
  3.             $this->record($request'miss');
  4.             return $this->fetch($request$catch);
  5.         }
  6.         if (!$this->isFreshEnough($request$entry)) {
  7.             $this->record($request'stale');
  1.                 reload the cache by fetching a fresh response and caching it (if possible).
  2.             */
  3.             $this->record($request'reload');
  4.             $response $this->fetch($request$catch);
  5.         } else {
  6.             $response $this->lookup($request$catch);
  7.         }
  8.         $this->restoreResponseBody($request$response);
  9.         if (HttpKernelInterface::MAIN_REQUEST === $type) {
  1.     {
  2.         if (!$this->booted) {
  3.             $container $this->container ?? $this->preBoot();
  4.             if ($container->has('http_cache')) {
  5.                 return $container->get('http_cache')->handle($request$type$catch);
  6.             }
  7.         }
  8.         $this->boot();
  9.         ++$this->requestStackSize;
  1.         $this->request $request;
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         $response->send();
  7.         if ($this->kernel instanceof TerminableInterface) {
  8.             $this->kernel->terminate($this->request$response);
  9.         }
in vendor/autoload_runtime.php -> run (line 29)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/home/mirbusin.ru/public_html/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {    
  5.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

Stack Traces 3

[3/3] TableNotFoundException
Doctrine\DBAL\Exception\TableNotFoundException:
An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mirb_mir.city_translation' doesn't exist

  at vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:49
  at Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert()
     (vendor/doctrine/dbal/src/Connection.php:1976)
  at Doctrine\DBAL\Connection->handleDriverException()
     (vendor/doctrine/dbal/src/Connection.php:1918)
  at Doctrine\DBAL\Connection->convertExceptionDuringQuery()
     (vendor/doctrine/dbal/src/Connection.php:1111)
  at Doctrine\DBAL\Connection->executeQuery()
     (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:1928)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->getOneToManyStatement()
     (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:1869)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadOneToManyCollection()
     (vendor/doctrine/orm/src/UnitOfWork.php:3301)
  at Doctrine\ORM\UnitOfWork->loadCollection()
     (vendor/doctrine/orm/src/PersistentCollection.php:706)
  at Doctrine\ORM\PersistentCollection->doInitialize()
     (vendor/doctrine/orm/src/PersistentCollection.php:218)
  at Doctrine\ORM\PersistentCollection->initialize()
     (vendor/doctrine/collections/src/AbstractLazyCollection.php:313)
  at Doctrine\Common\Collections\AbstractLazyCollection->getIterator()
     (vendor/gedmo/doctrine-extensions/src/Translatable/Mapping/Event/Adapter/ORM.php:64)
  at Gedmo\Translatable\Mapping\Event\Adapter\ORM->loadTranslations()
     (vendor/gedmo/doctrine-extensions/src/Translatable/TranslatableListener.php:529)
  at Gedmo\Translatable\TranslatableListener->postLoad()
     (vendor/symfony/doctrine-bridge/ContainerAwareEventManager.php:66)
  at Symfony\Bridge\Doctrine\ContainerAwareEventManager->dispatchEvent()
     (vendor/doctrine/orm/src/Event/ListenersInvoker.php:98)
  at Doctrine\ORM\Event\ListenersInvoker->invoke()
     (vendor/doctrine/orm/src/Internal/HydrationCompleteHandler.php:67)
  at Doctrine\ORM\Internal\HydrationCompleteHandler->hydrationComplete()
     (vendor/doctrine/orm/src/UnitOfWork.php:3981)
  at Doctrine\ORM\UnitOfWork->hydrationComplete()
     (vendor/doctrine/orm/src/Internal/Hydration/SimpleObjectHydrator.php:55)
  at Doctrine\ORM\Internal\Hydration\SimpleObjectHydrator->cleanup()
     (vendor/doctrine/orm/src/Internal/Hydration/AbstractHydrator.php:274)
  at Doctrine\ORM\Internal\Hydration\AbstractHydrator->hydrateAll()
     (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:787)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load()
     (vendor/doctrine/orm/src/EntityRepository.php:240)
  at Doctrine\ORM\EntityRepository->findOneBy()
     (src/Controller/Api/CheckoutController.php:185)
  at App\Controller\Api\CheckoutController->citydetect()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php:86)
  at Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle()
     (vendor/symfony/http-kernel/HttpCache/HttpCache.php:457)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->forward()
     (vendor/symfony/framework-bundle/HttpCache/HttpCache.php:71)
  at Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache->forward()
     (vendor/symfony/http-kernel/HttpCache/HttpCache.php:430)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch()
     (vendor/symfony/http-kernel/HttpCache/HttpCache.php:328)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup()
     (vendor/symfony/http-kernel/HttpCache/HttpCache.php:212)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->handle()
     (vendor/symfony/http-kernel/Kernel.php:193)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:29)
  at require_once('/home/mirbusin.ru/public_html/vendor/autoload_runtime.php')
     (public/index.php:5)                
[2/3] Exception
Doctrine\DBAL\Driver\PDO\Exception:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mirb_mir.city_translation' doesn't exist

  at vendor/doctrine/dbal/src/Driver/PDO/Exception.php:24
  at Doctrine\DBAL\Driver\PDO\Exception::new()
     (vendor/doctrine/dbal/src/Driver/PDO/Statement.php:132)
  at Doctrine\DBAL\Driver\PDO\Statement->execute()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69)
  at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute()
     (vendor/symfony/doctrine-bridge/Middleware/Debug/Statement.php:65)
  at Symfony\Bridge\Doctrine\Middleware\Debug\Statement->execute()
     (vendor/doctrine/dbal/src/Connection.php:1104)
  at Doctrine\DBAL\Connection->executeQuery()
     (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:1928)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->getOneToManyStatement()
     (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:1869)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadOneToManyCollection()
     (vendor/doctrine/orm/src/UnitOfWork.php:3301)
  at Doctrine\ORM\UnitOfWork->loadCollection()
     (vendor/doctrine/orm/src/PersistentCollection.php:706)
  at Doctrine\ORM\PersistentCollection->doInitialize()
     (vendor/doctrine/orm/src/PersistentCollection.php:218)
  at Doctrine\ORM\PersistentCollection->initialize()
     (vendor/doctrine/collections/src/AbstractLazyCollection.php:313)
  at Doctrine\Common\Collections\AbstractLazyCollection->getIterator()
     (vendor/gedmo/doctrine-extensions/src/Translatable/Mapping/Event/Adapter/ORM.php:64)
  at Gedmo\Translatable\Mapping\Event\Adapter\ORM->loadTranslations()
     (vendor/gedmo/doctrine-extensions/src/Translatable/TranslatableListener.php:529)
  at Gedmo\Translatable\TranslatableListener->postLoad()
     (vendor/symfony/doctrine-bridge/ContainerAwareEventManager.php:66)
  at Symfony\Bridge\Doctrine\ContainerAwareEventManager->dispatchEvent()
     (vendor/doctrine/orm/src/Event/ListenersInvoker.php:98)
  at Doctrine\ORM\Event\ListenersInvoker->invoke()
     (vendor/doctrine/orm/src/Internal/HydrationCompleteHandler.php:67)
  at Doctrine\ORM\Internal\HydrationCompleteHandler->hydrationComplete()
     (vendor/doctrine/orm/src/UnitOfWork.php:3981)
  at Doctrine\ORM\UnitOfWork->hydrationComplete()
     (vendor/doctrine/orm/src/Internal/Hydration/SimpleObjectHydrator.php:55)
  at Doctrine\ORM\Internal\Hydration\SimpleObjectHydrator->cleanup()
     (vendor/doctrine/orm/src/Internal/Hydration/AbstractHydrator.php:274)
  at Doctrine\ORM\Internal\Hydration\AbstractHydrator->hydrateAll()
     (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:787)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load()
     (vendor/doctrine/orm/src/EntityRepository.php:240)
  at Doctrine\ORM\EntityRepository->findOneBy()
     (src/Controller/Api/CheckoutController.php:185)
  at App\Controller\Api\CheckoutController->citydetect()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php:86)
  at Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle()
     (vendor/symfony/http-kernel/HttpCache/HttpCache.php:457)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->forward()
     (vendor/symfony/framework-bundle/HttpCache/HttpCache.php:71)
  at Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache->forward()
     (vendor/symfony/http-kernel/HttpCache/HttpCache.php:430)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch()
     (vendor/symfony/http-kernel/HttpCache/HttpCache.php:328)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup()
     (vendor/symfony/http-kernel/HttpCache/HttpCache.php:212)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->handle()
     (vendor/symfony/http-kernel/Kernel.php:193)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:29)
  at require_once('/home/mirbusin.ru/public_html/vendor/autoload_runtime.php')
     (public/index.php:5)                
[1/3] PDOException
PDOException:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mirb_mir.city_translation' doesn't exist

  at vendor/doctrine/dbal/src/Driver/PDO/Statement.php:130
  at PDOStatement->execute()
     (vendor/doctrine/dbal/src/Driver/PDO/Statement.php:130)
  at Doctrine\DBAL\Driver\PDO\Statement->execute()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69)
  at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute()
     (vendor/symfony/doctrine-bridge/Middleware/Debug/Statement.php:65)
  at Symfony\Bridge\Doctrine\Middleware\Debug\Statement->execute()
     (vendor/doctrine/dbal/src/Connection.php:1104)
  at Doctrine\DBAL\Connection->executeQuery()
     (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:1928)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->getOneToManyStatement()
     (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:1869)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadOneToManyCollection()
     (vendor/doctrine/orm/src/UnitOfWork.php:3301)
  at Doctrine\ORM\UnitOfWork->loadCollection()
     (vendor/doctrine/orm/src/PersistentCollection.php:706)
  at Doctrine\ORM\PersistentCollection->doInitialize()
     (vendor/doctrine/orm/src/PersistentCollection.php:218)
  at Doctrine\ORM\PersistentCollection->initialize()
     (vendor/doctrine/collections/src/AbstractLazyCollection.php:313)
  at Doctrine\Common\Collections\AbstractLazyCollection->getIterator()
     (vendor/gedmo/doctrine-extensions/src/Translatable/Mapping/Event/Adapter/ORM.php:64)
  at Gedmo\Translatable\Mapping\Event\Adapter\ORM->loadTranslations()
     (vendor/gedmo/doctrine-extensions/src/Translatable/TranslatableListener.php:529)
  at Gedmo\Translatable\TranslatableListener->postLoad()
     (vendor/symfony/doctrine-bridge/ContainerAwareEventManager.php:66)
  at Symfony\Bridge\Doctrine\ContainerAwareEventManager->dispatchEvent()
     (vendor/doctrine/orm/src/Event/ListenersInvoker.php:98)
  at Doctrine\ORM\Event\ListenersInvoker->invoke()
     (vendor/doctrine/orm/src/Internal/HydrationCompleteHandler.php:67)
  at Doctrine\ORM\Internal\HydrationCompleteHandler->hydrationComplete()
     (vendor/doctrine/orm/src/UnitOfWork.php:3981)
  at Doctrine\ORM\UnitOfWork->hydrationComplete()
     (vendor/doctrine/orm/src/Internal/Hydration/SimpleObjectHydrator.php:55)
  at Doctrine\ORM\Internal\Hydration\SimpleObjectHydrator->cleanup()
     (vendor/doctrine/orm/src/Internal/Hydration/AbstractHydrator.php:274)
  at Doctrine\ORM\Internal\Hydration\AbstractHydrator->hydrateAll()
     (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:787)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load()
     (vendor/doctrine/orm/src/EntityRepository.php:240)
  at Doctrine\ORM\EntityRepository->findOneBy()
     (src/Controller/Api/CheckoutController.php:185)
  at App\Controller\Api\CheckoutController->citydetect()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php:86)
  at Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle()
     (vendor/symfony/http-kernel/HttpCache/HttpCache.php:457)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->forward()
     (vendor/symfony/framework-bundle/HttpCache/HttpCache.php:71)
  at Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache->forward()
     (vendor/symfony/http-kernel/HttpCache/HttpCache.php:430)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch()
     (vendor/symfony/http-kernel/HttpCache/HttpCache.php:328)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup()
     (vendor/symfony/http-kernel/HttpCache/HttpCache.php:212)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->handle()
     (vendor/symfony/http-kernel/Kernel.php:193)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:29)
  at require_once('/home/mirbusin.ru/public_html/vendor/autoload_runtime.php')
     (public/index.php:5)