^ Doctrine\ORM\NonUniqueResultException {#1804
  #message: "The query returned multiple rows. Change the query or use a different result function like getScalarResult()."
  #code: 0
  #file: "/var/www/www-root/data/www/steelline.by/vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/SingleScalarHydrator.php"
  #line: 32
  trace: {
    /var/www/www-root/data/www/steelline.by/vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/SingleScalarHydrator.php:32 {
      Doctrine\ORM\Internal\Hydration\SingleScalarHydrator->hydrateAllData() …
      › if ($numRows > 1) {    throw new NonUniqueResultException('The query returned multiple rows. Change the query or use a different result function like getScalarResult().');}
    }
    /var/www/www-root/data/www/steelline.by/vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php:268 {
      Doctrine\ORM\Internal\Hydration\AbstractHydrator->hydrateAll($stmt, $resultSetMapping, array $hints = []) …
      › try {    $result = $this->hydrateAllData();} finally {
    }
    /var/www/www-root/data/www/steelline.by/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:1194 {
      Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache($parameters = null, $hydrationMode = null) …
      › 
      › $data = $this->_em->newHydrator($this->_hydrationMode)->hydrateAll($stmt, $rsm, $this->_hints);arguments: {
        $stmt: Doctrine\DBAL\ForwardCompatibility\Result {#1782 …}
        $resultSetMapping: Doctrine\ORM\Query\ResultSetMapping {#1805 …}
        $hints: []
      }
    }
    /var/www/www-root/data/www/steelline.by/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:1135 {
      Doctrine\ORM\AbstractQuery->execute($parameters = null, $hydrationMode = null) …
      › 
      ›     return $this->executeIgnoreQueryCache($parameters, $hydrationMode);}
      arguments: {
        $parameters: null
        $hydrationMode: 4
      }
    }
    /var/www/www-root/data/www/steelline.by/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:961 {
      Doctrine\ORM\AbstractQuery->getSingleResult($hydrationMode = null) …
      › {    $result = $this->execute(null, $hydrationMode);arguments: {
        $parameters: null
        $hydrationMode: 4
      }
    }
    /var/www/www-root/data/www/steelline.by/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:990 {
      Doctrine\ORM\AbstractQuery->getSingleScalarResult() …
      › {    return $this->getSingleResult(self::HYDRATE_SINGLE_SCALAR);}
      arguments: {
        $hydrationMode: 4
      }
    }
    /var/www/www-root/data/www/steelline.by/src/Repository/AbstractRepository.php:421 {
      Application\Repository\AbstractRepository->_getSingleScalarResult(QueryBuilder $qb, bool $useCache = false, $fallbackValue = null) …
      › try {    $result = $this->_getQuery($qb, $useCache)->getSingleScalarResult();} catch (Exception $ex) {
    }
    /var/www/www-root/data/www/steelline.by/src/Repository/CityRepository.php:296 {
      Application\Repository\CityRepository->checkCityByUrlKey(string $urlKey): bool …
      › 
      ›     return (bool) $this->_getSingleScalarResult($qb);}
      arguments: {
        $qb: Doctrine\ORM\QueryBuilder {#1796 …}
      }
    }
    /var/www/www-root/data/www/steelline.by/src/Model/App/TradeStoreModel.php:144 {
      Application\Model\App\TradeStoreModel->getRegionalDataForSSR(?string $place): array …
      › $isCity = 0 === strncmp($place, 'v-', 2);$placeExists = $isCity ? $this->cityRepository->checkCityByUrlKey($place) : $this->regionRepository->checkRegionByUrlKey($place);arguments: {
        $urlKey: "v-timashevske"
      }
    }
    /var/www/www-root/data/www/steelline.by/src/Controller/App/TradeStoreController.php:67 {
      Application\Controller\App\TradeStoreController->Application\Controller\App\{closure} …
      › return $this->renderWithCache('@app/base.html.twig', function () use ($place) {    return $this->_tradeStoreModel->getRegionalDataForSSR($place);});
      arguments: {
        $place: "v-timashevske"
      }
    }
    /var/www/www-root/data/www/steelline.by/src/Controller/App/AbstractSSRCacheController.php:61 {
      Application\Controller\App\AbstractSSRCacheController->renderWithCache(string $view, callable $func, Response $response = null): Response …
      › if (!$render) {    $render = $this->render($view, $func(), $response);    $this->cacheProvider->set($cacheKey, $render);
    }
    /var/www/www-root/data/www/steelline.by/src/Controller/App/TradeStoreController.php:68 {
      Application\Controller\App\TradeStoreController->getCityData(Request $request, ?string $place): Response …
      ›         return $this->_tradeStoreModel->getRegionalDataForSSR($place);    });} catch (\Exception $ex) {
      arguments: {
        $view: "@app/base.html.twig"
        $func: Closure() {#1773 …}
      }
    }
    /var/www/www-root/data/www/steelline.by/vendor/symfony/http-kernel/HttpKernel.php:156 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#8 …}
        $place: "v-timashevske"
      }
    }
    /var/www/www-root/data/www/steelline.by/vendor/symfony/http-kernel/HttpKernel.php:78 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->handleRaw($request, $type);} catch (\Exception $e) {
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#8 …}
        $type: 1
      }
    }
    /var/www/www-root/data/www/steelline.by/vendor/symfony/http-kernel/Kernel.php:199 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#8 …}
        $type: 1
        $catch: true
      }
    }
    /var/www/www-root/data/www/steelline.by/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:37 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);    $response->send();
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#8 …}
      }
    }
    /var/www/www-root/data/www/steelline.by/vendor/autoload_runtime.php:35 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/www-root/data/www/steelline.by/public/index.php:8 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/www/www-root/data/www/steelline.by/vendor/autoload_runtime.php"
      }
    }
  }
}
Ошибка 404 - Стальная Линия

Добро пожаловать на «страницу 404» нашего сайта.

Вы находитесь здесь, потому что ввели адрес страницы, которая уже не существует или была перемещена по другому адресу. Чтобы найти интересующую Вас информацию – воспользуйтесь формой поиска.

Добро пожаловать на «страницу 404» нашего сайта.