Exceptions
Exceptions 3
Doctrine\DBAL\Exception\ TableNotFoundException
case 1050:
return new TableExistsException($exception, $query);
case 1051:
case 1146:
return new TableNotFoundException($exception, $query);
case 1216:
case 1217:
case 1451:
case 1452:
in
vendor/doctrine/dbal/src/Connection.php
->
convert
(line 1976)
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();
}
in
vendor/doctrine/dbal/src/Connection.php
->
handleDriverException
(line 1918)
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
{
in
vendor/doctrine/dbal/src/Connection.php
->
convertExceptionDuringQuery
(line 1111)
$result = $connection->query($sql);
}
return new Result($result, $this);
} catch (Driver\Exception $e) {
throw $this->convertExceptionDuringQuery($e, $sql, $params, $types);
} finally {
if ($logger !== null) {
$logger->stopQuery();
}
}
in
vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php
->
executeQuery
(line 1928)
}
$sql = $this->getSelectSQL($criteria, $assoc, null, $limit, $offset);
[$params, $types] = $this->expandToManyParameters($parameters);
return $this->conn->executeQuery($sql, $params, $types);
}
/**
* {@inheritDoc}
*/
in
vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php
->
getOneToManyStatement
(line 1869)
/**
* {@inheritDoc}
*/
public function loadOneToManyCollection(array $assoc, $sourceEntity, PersistentCollection $collection)
{
$stmt = $this->getOneToManyStatement($assoc, $sourceEntity);
return $this->loadCollectionFromStatement($assoc, $stmt, $collection);
}
/**
in
vendor/doctrine/orm/src/UnitOfWork.php
->
loadOneToManyCollection
(line 3301)
$assoc = $collection->getMapping();
$persister = $this->getEntityPersister($assoc['targetEntity']);
switch ($assoc['type']) {
case ClassMetadata::ONE_TO_MANY:
$persister->loadOneToManyCollection($assoc, $collection->getOwner(), $collection);
break;
case ClassMetadata::MANY_TO_MANY:
$persister->loadManyToManyCollection($assoc, $collection->getOwner(), $collection);
break;
in
vendor/doctrine/orm/src/PersistentCollection.php
->
loadCollection
(line 706)
if ($this->isDirty) {
$newlyAddedDirtyObjects = $this->unwrap()->toArray();
}
$this->unwrap()->clear();
$this->getUnitOfWork()->loadCollection($this);
$this->takeSnapshot();
if ($newlyAddedDirtyObjects) {
$this->restoreNewObjectsInDirtyCollection($newlyAddedDirtyObjects);
}
in
vendor/doctrine/orm/src/PersistentCollection.php
->
doInitialize
(line 218)
{
if ($this->initialized || ! $this->association) {
return;
}
$this->doInitialize();
$this->initialized = true;
}
/**
in
vendor/doctrine/collections/src/AbstractLazyCollection.php
->
initialize
(line 313)
* @psalm-return Traversable<TKey,T>
*/
#[ReturnTypeWillChange]
public function getIterator()
{
$this->initialize();
return $this->collection->getIterator();
}
/**
in
vendor/gedmo/doctrine-extensions/src/Translatable/Mapping/Event/Adapter/ORM.php
->
getIterator
(line 64)
&& 'object' === $assoc['mappedBy']
&& EntityClassMetadata::ONE_TO_MANY === $assoc['type']
;
if ($isRightCollection) {
$collection = $wrapped->getPropertyValue($assoc['fieldName']);
foreach ($collection as $trans) {
if ($trans->getLocale() === $locale) {
$result[] = [
'field' => $trans->getField(),
'content' => $trans->getContent(),
];
in
vendor/gedmo/doctrine-extensions/src/Translatable/TranslatableListener.php
->
loadTranslations
(line 529)
$translationClass = $this->getTranslationClass($ea, $config['useObjectClass']);
$result = $ea->loadTranslations(
$object,
$translationClass,
$locale,
$config['useObjectClass']
);
// translate object's translatable properties
foreach ($config['fields'] as $field) {
$translated = $this->defaultTranslationValue;
in
vendor/symfony/doctrine-bridge/ContainerAwareEventManager.php
->
postLoad
(line 66)
if (!isset($this->initialized[$eventName])) {
$this->initializeListeners($eventName);
}
foreach ($this->listeners[$eventName] as $hash => $listener) {
$listener->{$this->methods[$eventName][$hash]}($eventArgs);
}
}
/**
* {@inheritdoc}
in
vendor/doctrine/orm/src/Event/ListenersInvoker.php
->
dispatchEvent
(line 98)
$instance->$method($entity, $event);
}
}
if ($invoke & self::INVOKE_MANAGER) {
$this->eventManager->dispatchEvent($eventName, $event);
}
}
}
in
vendor/doctrine/orm/src/Internal/HydrationCompleteHandler.php
->
invoke
(line 67)
foreach ($toInvoke as $classAndEntity) {
[$class, $invoke, $entity] = $classAndEntity;
$this->listenersInvoker->invoke(
$class,
Events::postLoad,
$entity,
new PostLoadEventArgs($entity, $this->em),
$invoke
);
in
vendor/doctrine/orm/src/UnitOfWork.php
->
hydrationComplete
(line 3981)
*
* @return void
*/
public function hydrationComplete()
{
$this->hydrationCompleteHandler->hydrationComplete();
}
private function clearIdentityMapForEntityName(string $entityName): void
{
if (! isset($this->identityMap[$entityName])) {
in
vendor/doctrine/orm/src/Internal/Hydration/SimpleObjectHydrator.php
->
hydrationComplete
(line 55)
protected function cleanup()
{
parent::cleanup();
$this->_uow->triggerEagerLoads();
$this->_uow->hydrationComplete();
}
/**
* {@inheritDoc}
*/
in
vendor/doctrine/orm/src/Internal/Hydration/AbstractHydrator.php
->
cleanup
(line 274)
$this->prepare();
try {
$result = $this->hydrateAllData();
} finally {
$this->cleanup();
}
return $result;
}
in
vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php
->
hydrateAll
(line 787)
$hints[Query::HINT_REFRESH] = true;
$hints[Query::HINT_REFRESH_ENTITY] = $entity;
}
$hydrator = $this->em->newHydrator($this->currentPersisterContext->selectJoinSql ? Query::HYDRATE_OBJECT : Query::HYDRATE_SIMPLEOBJECT);
$entities = $hydrator->hydrateAll($stmt, $this->currentPersisterContext->rsm, $hints);
return $entities ? $entities[0] : null;
}
/**
in
vendor/doctrine/orm/src/EntityRepository.php
->
load
(line 240)
*/
public function findOneBy(array $criteria, ?array $orderBy = null)
{
$persister = $this->_em->getUnitOfWork()->getEntityPersister($this->_entityName);
return $persister->load($criteria, null, null, [], null, 1, $orderBy);
}
/**
* Counts entities by a set of criteria.
*
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
$response = json_decode(curl_exec($curl));
if ($response->location == null) {
$region = $this->Regions->findOneBy(['fias_id' => $this->default_region_id]);
$city = $this->Cities->findOneBy(['fias_id' => $this->default_city_id]);
$this->Checkout->setRegion_fias_id($region->getFiasId());
$this->Checkout->setRegion_name($region->getName());
$this->Checkout->setCity_fias_id($city->getFiasId());
$this->Checkout->setCity_name($city->getName());
$this->Checkout->setCity_post_code($city->getPostalCode());
in
vendor/symfony/http-kernel/HttpKernel.php
->
citydetect
(line 163)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = $controller(...$arguments);
// view
if (!$response instanceof Response) {
$event = new ViewEvent($this, $request, $type, $response);
$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 75)
{
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
$this->requestStack->push($request);
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 202)
$this->boot();
++$this->requestStackSize;
$this->resetServices = true;
try {
return $this->getHttpKernel()->handle($request, $type, $catch);
} finally {
--$this->requestStackSize;
}
}
in
vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php
->
handle
(line 86)
if (!IpUtils::checkIp('127.0.0.1', $trustedProxies)) {
Request::setTrustedProxies(array_merge($trustedProxies, ['127.0.0.1']), Request::getTrustedHeaderSet());
}
try {
return $kernel->handle($request, $type, $catch);
} finally {
// restore global state
Request::setTrustedProxies($trustedProxies, $trustedHeaderSet);
}
}
in
vendor/symfony/http-kernel/HttpCache/HttpCache.php
::
handle
(line 457)
if ($this->surrogate) {
$this->surrogate->addSurrogateCapability($request);
}
// always a "master" request (as the real master request can be in cache)
$response = SubRequestHandler::handle($this->kernel, $request, HttpKernelInterface::MAIN_REQUEST, $catch);
/*
* Support stale-if-error given on Responses or as a config option.
* RFC 7234 summarizes in Section 4.2.4 (but also mentions with the individual
* Cache-Control directives) that
in
vendor/symfony/framework-bundle/HttpCache/HttpCache.php
->
forward
(line 71)
protected function forward(Request $request, bool $catch = false, Response $entry = null): Response
{
$this->getKernel()->boot();
$this->getKernel()->getContainer()->set('cache', $this);
return parent::forward($request, $catch, $entry);
}
/**
* Returns an array of options to customize the Cache configuration.
*/
in
vendor/symfony/http-kernel/HttpCache/HttpCache.php
->
forward
(line 430)
// avoid that the backend sends no content
$subRequest->headers->remove('If-Modified-Since');
$subRequest->headers->remove('If-None-Match');
$response = $this->forward($subRequest, $catch);
if ($response->isCacheable()) {
$this->store($request, $response);
}
in
vendor/symfony/http-kernel/HttpCache/HttpCache.php
->
fetch
(line 328)
}
if (null === $entry) {
$this->record($request, 'miss');
return $this->fetch($request, $catch);
}
if (!$this->isFreshEnough($request, $entry)) {
$this->record($request, 'stale');
in
vendor/symfony/http-kernel/HttpCache/HttpCache.php
->
lookup
(line 212)
reload the cache by fetching a fresh response and caching it (if possible).
*/
$this->record($request, 'reload');
$response = $this->fetch($request, $catch);
} else {
$response = $this->lookup($request, $catch);
}
$this->restoreResponseBody($request, $response);
if (HttpKernelInterface::MAIN_REQUEST === $type) {
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 193)
{
if (!$this->booted) {
$container = $this->container ?? $this->preBoot();
if ($container->has('http_cache')) {
return $container->get('http_cache')->handle($request, $type, $catch);
}
}
$this->boot();
++$this->requestStackSize;
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 35)
$this->request = $request;
}
public function run(): int
{
$response = $this->kernel->handle($this->request);
$response->send();
if ($this->kernel instanceof TerminableInterface) {
$this->kernel->terminate($this->request, $response);
}
in
vendor/autoload_runtime.php
->
run
(line 29)
$app = $app(...$args);
exit(
$runtime
->getRunner($app)
->run()
);
require_once('/home/mirbusin.ru/public_html/vendor/autoload_runtime.php')
in
public/index.php
(line 5)
<?php
use App\Kernel;
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
return function (array $context) {
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
};
Doctrine\DBAL\Driver\PDO\ Exception
in
vendor/doctrine/dbal/src/Driver/PDO/Exception.php
(line 24)
} else {
$code = $exception->getCode();
$sqlState = null;
}
return new self($exception->getMessage(), $sqlState, $code, $exception);
}
}
in
vendor/doctrine/dbal/src/Driver/PDO/Statement.php
::
new
(line 132)
}
try {
$this->stmt->execute($params);
} catch (PDOException $exception) {
throw Exception::new($exception);
}
return new Result($this->stmt);
}
}
in
vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php
->
execute
(line 69)
/**
* {@inheritDoc}
*/
public function execute($params = null): Result
{
return $this->wrappedStatement->execute($params);
}
}
in
vendor/symfony/doctrine-bridge/Middleware/Debug/Statement.php
->
execute
(line 65)
$this->debugDataHolder->addQuery($this->connectionName, $query = clone $this->query);
$query->start();
try {
$result = parent::execute($params);
} finally {
$query->stop();
}
return $result;
in
vendor/doctrine/dbal/src/Connection.php
->
execute
(line 1104)
$stmt = $connection->prepare($sql);
$this->bindParameters($stmt, $params, $types);
$result = $stmt->execute();
} else {
$result = $connection->query($sql);
}
return new Result($result, $this);
in
vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php
->
executeQuery
(line 1928)
}
$sql = $this->getSelectSQL($criteria, $assoc, null, $limit, $offset);
[$params, $types] = $this->expandToManyParameters($parameters);
return $this->conn->executeQuery($sql, $params, $types);
}
/**
* {@inheritDoc}
*/
in
vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php
->
getOneToManyStatement
(line 1869)
/**
* {@inheritDoc}
*/
public function loadOneToManyCollection(array $assoc, $sourceEntity, PersistentCollection $collection)
{
$stmt = $this->getOneToManyStatement($assoc, $sourceEntity);
return $this->loadCollectionFromStatement($assoc, $stmt, $collection);
}
/**
in
vendor/doctrine/orm/src/UnitOfWork.php
->
loadOneToManyCollection
(line 3301)
$assoc = $collection->getMapping();
$persister = $this->getEntityPersister($assoc['targetEntity']);
switch ($assoc['type']) {
case ClassMetadata::ONE_TO_MANY:
$persister->loadOneToManyCollection($assoc, $collection->getOwner(), $collection);
break;
case ClassMetadata::MANY_TO_MANY:
$persister->loadManyToManyCollection($assoc, $collection->getOwner(), $collection);
break;
in
vendor/doctrine/orm/src/PersistentCollection.php
->
loadCollection
(line 706)
if ($this->isDirty) {
$newlyAddedDirtyObjects = $this->unwrap()->toArray();
}
$this->unwrap()->clear();
$this->getUnitOfWork()->loadCollection($this);
$this->takeSnapshot();
if ($newlyAddedDirtyObjects) {
$this->restoreNewObjectsInDirtyCollection($newlyAddedDirtyObjects);
}
in
vendor/doctrine/orm/src/PersistentCollection.php
->
doInitialize
(line 218)
{
if ($this->initialized || ! $this->association) {
return;
}
$this->doInitialize();
$this->initialized = true;
}
/**
in
vendor/doctrine/collections/src/AbstractLazyCollection.php
->
initialize
(line 313)
* @psalm-return Traversable<TKey,T>
*/
#[ReturnTypeWillChange]
public function getIterator()
{
$this->initialize();
return $this->collection->getIterator();
}
/**
in
vendor/gedmo/doctrine-extensions/src/Translatable/Mapping/Event/Adapter/ORM.php
->
getIterator
(line 64)
&& 'object' === $assoc['mappedBy']
&& EntityClassMetadata::ONE_TO_MANY === $assoc['type']
;
if ($isRightCollection) {
$collection = $wrapped->getPropertyValue($assoc['fieldName']);
foreach ($collection as $trans) {
if ($trans->getLocale() === $locale) {
$result[] = [
'field' => $trans->getField(),
'content' => $trans->getContent(),
];
in
vendor/gedmo/doctrine-extensions/src/Translatable/TranslatableListener.php
->
loadTranslations
(line 529)
$translationClass = $this->getTranslationClass($ea, $config['useObjectClass']);
$result = $ea->loadTranslations(
$object,
$translationClass,
$locale,
$config['useObjectClass']
);
// translate object's translatable properties
foreach ($config['fields'] as $field) {
$translated = $this->defaultTranslationValue;
in
vendor/symfony/doctrine-bridge/ContainerAwareEventManager.php
->
postLoad
(line 66)
if (!isset($this->initialized[$eventName])) {
$this->initializeListeners($eventName);
}
foreach ($this->listeners[$eventName] as $hash => $listener) {
$listener->{$this->methods[$eventName][$hash]}($eventArgs);
}
}
/**
* {@inheritdoc}
in
vendor/doctrine/orm/src/Event/ListenersInvoker.php
->
dispatchEvent
(line 98)
$instance->$method($entity, $event);
}
}
if ($invoke & self::INVOKE_MANAGER) {
$this->eventManager->dispatchEvent($eventName, $event);
}
}
}
in
vendor/doctrine/orm/src/Internal/HydrationCompleteHandler.php
->
invoke
(line 67)
foreach ($toInvoke as $classAndEntity) {
[$class, $invoke, $entity] = $classAndEntity;
$this->listenersInvoker->invoke(
$class,
Events::postLoad,
$entity,
new PostLoadEventArgs($entity, $this->em),
$invoke
);
in
vendor/doctrine/orm/src/UnitOfWork.php
->
hydrationComplete
(line 3981)
*
* @return void
*/
public function hydrationComplete()
{
$this->hydrationCompleteHandler->hydrationComplete();
}
private function clearIdentityMapForEntityName(string $entityName): void
{
if (! isset($this->identityMap[$entityName])) {
in
vendor/doctrine/orm/src/Internal/Hydration/SimpleObjectHydrator.php
->
hydrationComplete
(line 55)
protected function cleanup()
{
parent::cleanup();
$this->_uow->triggerEagerLoads();
$this->_uow->hydrationComplete();
}
/**
* {@inheritDoc}
*/
in
vendor/doctrine/orm/src/Internal/Hydration/AbstractHydrator.php
->
cleanup
(line 274)
$this->prepare();
try {
$result = $this->hydrateAllData();
} finally {
$this->cleanup();
}
return $result;
}
in
vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php
->
hydrateAll
(line 787)
$hints[Query::HINT_REFRESH] = true;
$hints[Query::HINT_REFRESH_ENTITY] = $entity;
}
$hydrator = $this->em->newHydrator($this->currentPersisterContext->selectJoinSql ? Query::HYDRATE_OBJECT : Query::HYDRATE_SIMPLEOBJECT);
$entities = $hydrator->hydrateAll($stmt, $this->currentPersisterContext->rsm, $hints);
return $entities ? $entities[0] : null;
}
/**
in
vendor/doctrine/orm/src/EntityRepository.php
->
load
(line 240)
*/
public function findOneBy(array $criteria, ?array $orderBy = null)
{
$persister = $this->_em->getUnitOfWork()->getEntityPersister($this->_entityName);
return $persister->load($criteria, null, null, [], null, 1, $orderBy);
}
/**
* Counts entities by a set of criteria.
*
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
$response = json_decode(curl_exec($curl));
if ($response->location == null) {
$region = $this->Regions->findOneBy(['fias_id' => $this->default_region_id]);
$city = $this->Cities->findOneBy(['fias_id' => $this->default_city_id]);
$this->Checkout->setRegion_fias_id($region->getFiasId());
$this->Checkout->setRegion_name($region->getName());
$this->Checkout->setCity_fias_id($city->getFiasId());
$this->Checkout->setCity_name($city->getName());
$this->Checkout->setCity_post_code($city->getPostalCode());
in
vendor/symfony/http-kernel/HttpKernel.php
->
citydetect
(line 163)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = $controller(...$arguments);
// view
if (!$response instanceof Response) {
$event = new ViewEvent($this, $request, $type, $response);
$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 75)
{
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
$this->requestStack->push($request);
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 202)
$this->boot();
++$this->requestStackSize;
$this->resetServices = true;
try {
return $this->getHttpKernel()->handle($request, $type, $catch);
} finally {
--$this->requestStackSize;
}
}
in
vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php
->
handle
(line 86)
if (!IpUtils::checkIp('127.0.0.1', $trustedProxies)) {
Request::setTrustedProxies(array_merge($trustedProxies, ['127.0.0.1']), Request::getTrustedHeaderSet());
}
try {
return $kernel->handle($request, $type, $catch);
} finally {
// restore global state
Request::setTrustedProxies($trustedProxies, $trustedHeaderSet);
}
}
in
vendor/symfony/http-kernel/HttpCache/HttpCache.php
::
handle
(line 457)
if ($this->surrogate) {
$this->surrogate->addSurrogateCapability($request);
}
// always a "master" request (as the real master request can be in cache)
$response = SubRequestHandler::handle($this->kernel, $request, HttpKernelInterface::MAIN_REQUEST, $catch);
/*
* Support stale-if-error given on Responses or as a config option.
* RFC 7234 summarizes in Section 4.2.4 (but also mentions with the individual
* Cache-Control directives) that
in
vendor/symfony/framework-bundle/HttpCache/HttpCache.php
->
forward
(line 71)
protected function forward(Request $request, bool $catch = false, Response $entry = null): Response
{
$this->getKernel()->boot();
$this->getKernel()->getContainer()->set('cache', $this);
return parent::forward($request, $catch, $entry);
}
/**
* Returns an array of options to customize the Cache configuration.
*/
in
vendor/symfony/http-kernel/HttpCache/HttpCache.php
->
forward
(line 430)
// avoid that the backend sends no content
$subRequest->headers->remove('If-Modified-Since');
$subRequest->headers->remove('If-None-Match');
$response = $this->forward($subRequest, $catch);
if ($response->isCacheable()) {
$this->store($request, $response);
}
in
vendor/symfony/http-kernel/HttpCache/HttpCache.php
->
fetch
(line 328)
}
if (null === $entry) {
$this->record($request, 'miss');
return $this->fetch($request, $catch);
}
if (!$this->isFreshEnough($request, $entry)) {
$this->record($request, 'stale');
in
vendor/symfony/http-kernel/HttpCache/HttpCache.php
->
lookup
(line 212)
reload the cache by fetching a fresh response and caching it (if possible).
*/
$this->record($request, 'reload');
$response = $this->fetch($request, $catch);
} else {
$response = $this->lookup($request, $catch);
}
$this->restoreResponseBody($request, $response);
if (HttpKernelInterface::MAIN_REQUEST === $type) {
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 193)
{
if (!$this->booted) {
$container = $this->container ?? $this->preBoot();
if ($container->has('http_cache')) {
return $container->get('http_cache')->handle($request, $type, $catch);
}
}
$this->boot();
++$this->requestStackSize;
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 35)
$this->request = $request;
}
public function run(): int
{
$response = $this->kernel->handle($this->request);
$response->send();
if ($this->kernel instanceof TerminableInterface) {
$this->kernel->terminate($this->request, $response);
}
in
vendor/autoload_runtime.php
->
run
(line 29)
$app = $app(...$args);
exit(
$runtime
->getRunner($app)
->run()
);
require_once('/home/mirbusin.ru/public_html/vendor/autoload_runtime.php')
in
public/index.php
(line 5)
<?php
use App\Kernel;
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
return function (array $context) {
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
};
PDOException
in
vendor/doctrine/dbal/src/Driver/PDO/Statement.php
(line 130)
. ' Statement::bindParam() or Statement::bindValue() instead.',
);
}
try {
$this->stmt->execute($params);
} catch (PDOException $exception) {
throw Exception::new($exception);
}
return new Result($this->stmt);
in
vendor/doctrine/dbal/src/Driver/PDO/Statement.php
->
execute
(line 130)
. ' Statement::bindParam() or Statement::bindValue() instead.',
);
}
try {
$this->stmt->execute($params);
} catch (PDOException $exception) {
throw Exception::new($exception);
}
return new Result($this->stmt);
in
vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php
->
execute
(line 69)
/**
* {@inheritDoc}
*/
public function execute($params = null): Result
{
return $this->wrappedStatement->execute($params);
}
}
in
vendor/symfony/doctrine-bridge/Middleware/Debug/Statement.php
->
execute
(line 65)
$this->debugDataHolder->addQuery($this->connectionName, $query = clone $this->query);
$query->start();
try {
$result = parent::execute($params);
} finally {
$query->stop();
}
return $result;
in
vendor/doctrine/dbal/src/Connection.php
->
execute
(line 1104)
$stmt = $connection->prepare($sql);
$this->bindParameters($stmt, $params, $types);
$result = $stmt->execute();
} else {
$result = $connection->query($sql);
}
return new Result($result, $this);
in
vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php
->
executeQuery
(line 1928)
}
$sql = $this->getSelectSQL($criteria, $assoc, null, $limit, $offset);
[$params, $types] = $this->expandToManyParameters($parameters);
return $this->conn->executeQuery($sql, $params, $types);
}
/**
* {@inheritDoc}
*/
in
vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php
->
getOneToManyStatement
(line 1869)
/**
* {@inheritDoc}
*/
public function loadOneToManyCollection(array $assoc, $sourceEntity, PersistentCollection $collection)
{
$stmt = $this->getOneToManyStatement($assoc, $sourceEntity);
return $this->loadCollectionFromStatement($assoc, $stmt, $collection);
}
/**
in
vendor/doctrine/orm/src/UnitOfWork.php
->
loadOneToManyCollection
(line 3301)
$assoc = $collection->getMapping();
$persister = $this->getEntityPersister($assoc['targetEntity']);
switch ($assoc['type']) {
case ClassMetadata::ONE_TO_MANY:
$persister->loadOneToManyCollection($assoc, $collection->getOwner(), $collection);
break;
case ClassMetadata::MANY_TO_MANY:
$persister->loadManyToManyCollection($assoc, $collection->getOwner(), $collection);
break;
in
vendor/doctrine/orm/src/PersistentCollection.php
->
loadCollection
(line 706)
if ($this->isDirty) {
$newlyAddedDirtyObjects = $this->unwrap()->toArray();
}
$this->unwrap()->clear();
$this->getUnitOfWork()->loadCollection($this);
$this->takeSnapshot();
if ($newlyAddedDirtyObjects) {
$this->restoreNewObjectsInDirtyCollection($newlyAddedDirtyObjects);
}
in
vendor/doctrine/orm/src/PersistentCollection.php
->
doInitialize
(line 218)
{
if ($this->initialized || ! $this->association) {
return;
}
$this->doInitialize();
$this->initialized = true;
}
/**
in
vendor/doctrine/collections/src/AbstractLazyCollection.php
->
initialize
(line 313)
* @psalm-return Traversable<TKey,T>
*/
#[ReturnTypeWillChange]
public function getIterator()
{
$this->initialize();
return $this->collection->getIterator();
}
/**
in
vendor/gedmo/doctrine-extensions/src/Translatable/Mapping/Event/Adapter/ORM.php
->
getIterator
(line 64)
&& 'object' === $assoc['mappedBy']
&& EntityClassMetadata::ONE_TO_MANY === $assoc['type']
;
if ($isRightCollection) {
$collection = $wrapped->getPropertyValue($assoc['fieldName']);
foreach ($collection as $trans) {
if ($trans->getLocale() === $locale) {
$result[] = [
'field' => $trans->getField(),
'content' => $trans->getContent(),
];
in
vendor/gedmo/doctrine-extensions/src/Translatable/TranslatableListener.php
->
loadTranslations
(line 529)
$translationClass = $this->getTranslationClass($ea, $config['useObjectClass']);
$result = $ea->loadTranslations(
$object,
$translationClass,
$locale,
$config['useObjectClass']
);
// translate object's translatable properties
foreach ($config['fields'] as $field) {
$translated = $this->defaultTranslationValue;
in
vendor/symfony/doctrine-bridge/ContainerAwareEventManager.php
->
postLoad
(line 66)
if (!isset($this->initialized[$eventName])) {
$this->initializeListeners($eventName);
}
foreach ($this->listeners[$eventName] as $hash => $listener) {
$listener->{$this->methods[$eventName][$hash]}($eventArgs);
}
}
/**
* {@inheritdoc}
in
vendor/doctrine/orm/src/Event/ListenersInvoker.php
->
dispatchEvent
(line 98)
$instance->$method($entity, $event);
}
}
if ($invoke & self::INVOKE_MANAGER) {
$this->eventManager->dispatchEvent($eventName, $event);
}
}
}
in
vendor/doctrine/orm/src/Internal/HydrationCompleteHandler.php
->
invoke
(line 67)
foreach ($toInvoke as $classAndEntity) {
[$class, $invoke, $entity] = $classAndEntity;
$this->listenersInvoker->invoke(
$class,
Events::postLoad,
$entity,
new PostLoadEventArgs($entity, $this->em),
$invoke
);
in
vendor/doctrine/orm/src/UnitOfWork.php
->
hydrationComplete
(line 3981)
*
* @return void
*/
public function hydrationComplete()
{
$this->hydrationCompleteHandler->hydrationComplete();
}
private function clearIdentityMapForEntityName(string $entityName): void
{
if (! isset($this->identityMap[$entityName])) {
in
vendor/doctrine/orm/src/Internal/Hydration/SimpleObjectHydrator.php
->
hydrationComplete
(line 55)
protected function cleanup()
{
parent::cleanup();
$this->_uow->triggerEagerLoads();
$this->_uow->hydrationComplete();
}
/**
* {@inheritDoc}
*/
in
vendor/doctrine/orm/src/Internal/Hydration/AbstractHydrator.php
->
cleanup
(line 274)
$this->prepare();
try {
$result = $this->hydrateAllData();
} finally {
$this->cleanup();
}
return $result;
}
in
vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php
->
hydrateAll
(line 787)
$hints[Query::HINT_REFRESH] = true;
$hints[Query::HINT_REFRESH_ENTITY] = $entity;
}
$hydrator = $this->em->newHydrator($this->currentPersisterContext->selectJoinSql ? Query::HYDRATE_OBJECT : Query::HYDRATE_SIMPLEOBJECT);
$entities = $hydrator->hydrateAll($stmt, $this->currentPersisterContext->rsm, $hints);
return $entities ? $entities[0] : null;
}
/**
in
vendor/doctrine/orm/src/EntityRepository.php
->
load
(line 240)
*/
public function findOneBy(array $criteria, ?array $orderBy = null)
{
$persister = $this->_em->getUnitOfWork()->getEntityPersister($this->_entityName);
return $persister->load($criteria, null, null, [], null, 1, $orderBy);
}
/**
* Counts entities by a set of criteria.
*
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
$response = json_decode(curl_exec($curl));
if ($response->location == null) {
$region = $this->Regions->findOneBy(['fias_id' => $this->default_region_id]);
$city = $this->Cities->findOneBy(['fias_id' => $this->default_city_id]);
$this->Checkout->setRegion_fias_id($region->getFiasId());
$this->Checkout->setRegion_name($region->getName());
$this->Checkout->setCity_fias_id($city->getFiasId());
$this->Checkout->setCity_name($city->getName());
$this->Checkout->setCity_post_code($city->getPostalCode());
in
vendor/symfony/http-kernel/HttpKernel.php
->
citydetect
(line 163)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = $controller(...$arguments);
// view
if (!$response instanceof Response) {
$event = new ViewEvent($this, $request, $type, $response);
$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 75)
{
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
$this->requestStack->push($request);
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 202)
$this->boot();
++$this->requestStackSize;
$this->resetServices = true;
try {
return $this->getHttpKernel()->handle($request, $type, $catch);
} finally {
--$this->requestStackSize;
}
}
in
vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php
->
handle
(line 86)
if (!IpUtils::checkIp('127.0.0.1', $trustedProxies)) {
Request::setTrustedProxies(array_merge($trustedProxies, ['127.0.0.1']), Request::getTrustedHeaderSet());
}
try {
return $kernel->handle($request, $type, $catch);
} finally {
// restore global state
Request::setTrustedProxies($trustedProxies, $trustedHeaderSet);
}
}
in
vendor/symfony/http-kernel/HttpCache/HttpCache.php
::
handle
(line 457)
if ($this->surrogate) {
$this->surrogate->addSurrogateCapability($request);
}
// always a "master" request (as the real master request can be in cache)
$response = SubRequestHandler::handle($this->kernel, $request, HttpKernelInterface::MAIN_REQUEST, $catch);
/*
* Support stale-if-error given on Responses or as a config option.
* RFC 7234 summarizes in Section 4.2.4 (but also mentions with the individual
* Cache-Control directives) that
in
vendor/symfony/framework-bundle/HttpCache/HttpCache.php
->
forward
(line 71)
protected function forward(Request $request, bool $catch = false, Response $entry = null): Response
{
$this->getKernel()->boot();
$this->getKernel()->getContainer()->set('cache', $this);
return parent::forward($request, $catch, $entry);
}
/**
* Returns an array of options to customize the Cache configuration.
*/
in
vendor/symfony/http-kernel/HttpCache/HttpCache.php
->
forward
(line 430)
// avoid that the backend sends no content
$subRequest->headers->remove('If-Modified-Since');
$subRequest->headers->remove('If-None-Match');
$response = $this->forward($subRequest, $catch);
if ($response->isCacheable()) {
$this->store($request, $response);
}
in
vendor/symfony/http-kernel/HttpCache/HttpCache.php
->
fetch
(line 328)
}
if (null === $entry) {
$this->record($request, 'miss');
return $this->fetch($request, $catch);
}
if (!$this->isFreshEnough($request, $entry)) {
$this->record($request, 'stale');
in
vendor/symfony/http-kernel/HttpCache/HttpCache.php
->
lookup
(line 212)
reload the cache by fetching a fresh response and caching it (if possible).
*/
$this->record($request, 'reload');
$response = $this->fetch($request, $catch);
} else {
$response = $this->lookup($request, $catch);
}
$this->restoreResponseBody($request, $response);
if (HttpKernelInterface::MAIN_REQUEST === $type) {
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 193)
{
if (!$this->booted) {
$container = $this->container ?? $this->preBoot();
if ($container->has('http_cache')) {
return $container->get('http_cache')->handle($request, $type, $catch);
}
}
$this->boot();
++$this->requestStackSize;
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 35)
$this->request = $request;
}
public function run(): int
{
$response = $this->kernel->handle($this->request);
$response->send();
if ($this->kernel instanceof TerminableInterface) {
$this->kernel->terminate($this->request, $response);
}
in
vendor/autoload_runtime.php
->
run
(line 29)
$app = $app(...$args);
exit(
$runtime
->getRunner($app)
->run()
);
require_once('/home/mirbusin.ru/public_html/vendor/autoload_runtime.php')
in
public/index.php
(line 5)
<?php
use App\Kernel;
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
return function (array $context) {
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
};
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) |