Exceptions
Exceptions 3
Doctrine\DBAL\Exception\ ConnectionException
case 1370:
case 1429:
case 2002:
case 2005:
case 2054:
return new ConnectionException($exception, $query);
case 2006:
case 4031:
return new ConnectionLost($exception, $query);
in
vendor/doctrine/dbal/src/Connection.php
->
convert
(line 1939)
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 1887)
}
/** @internal */
final public function convertException(Driver\Exception $e): DriverException
{
return $this->handleDriverException($e, null);
}
/**
* @param array<int, mixed>|array<string, mixed> $params
* @param array<int, int|string|Type|null>|array<string, int|string|Type|null> $types
in
vendor/doctrine/dbal/src/Connection.php
->
convertException
(line 380)
}
try {
$this->_conn = $this->_driver->connect($this->params);
} catch (Driver\Exception $e) {
throw $this->convertException($e);
}
if ($this->autoCommit === false) {
$this->beginTransaction();
}
in
vendor/doctrine/dbal/src/Connection.php
->
connect
(line 453)
}
// If not connected, we need to connect now to determine the platform version.
if ($this->_conn === null) {
try {
$this->connect();
} catch (Exception $originalException) {
if (! isset($this->params['dbname'])) {
throw $originalException;
}
in
vendor/doctrine/dbal/src/Connection.php
->
getDatabasePlatformVersion
(line 411)
*
* @throws Exception If an invalid platform was specified for this connection.
*/
private function detectDatabasePlatform(): AbstractPlatform
{
$version = $this->getDatabasePlatformVersion();
if ($version !== null) {
assert($this->_driver instanceof VersionAwarePlatformDriver);
return $this->_driver->createDatabasePlatformForVersion($version);
in
vendor/doctrine/dbal/src/Connection.php
->
detectDatabasePlatform
(line 318)
* @throws Exception
*/
public function getDatabasePlatform()
{
if ($this->platform === null) {
$this->platform = $this->detectDatabasePlatform();
$this->platform->setEventManager($this->_eventManager);
$this->platform->setDisableTypeComments($this->_config->getDisableTypeComments());
}
return $this->platform;
in
vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php
->
getDatabasePlatform
(line 871)
}
private function getTargetPlatform(): Platforms\AbstractPlatform
{
if (! $this->targetPlatform) {
$this->targetPlatform = $this->em->getConnection()->getDatabasePlatform();
}
return $this->targetPlatform;
}
}
in
vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php
->
getTargetPlatform
(line 629)
*/
private function completeIdGeneratorMapping(ClassMetadataInfo $class): void
{
$idGenType = $class->generatorType;
if ($idGenType === ClassMetadata::GENERATOR_TYPE_AUTO) {
$class->setIdGeneratorType($this->determineIdGeneratorStrategy($this->getTargetPlatform()));
}
// Create & assign an appropriate ID generator instance
switch ($class->generatorType) {
case ClassMetadata::GENERATOR_TYPE_IDENTITY:
in
vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php
->
completeIdGeneratorMapping
(line 160)
// However this is only true if the hierarchy of parents contains the root entity,
// if it consists of mapped superclasses these don't necessarily include the id field.
if ($parent && $rootEntityFound) {
$this->inheritIdGeneratorMapping($class, $parent);
} else {
$this->completeIdGeneratorMapping($class);
}
if (! $class->isMappedSuperclass) {
if ($rootEntityFound && $class->isInheritanceTypeNone()) {
Deprecation::trigger(
in
vendor/doctrine/doctrine-bundle/src/Mapping/ClassMetadataFactory.php
->
doLoadMetadata
(line 18)
/**
* {@inheritDoc}
*/
protected function doLoadMetadata($class, $parent, $rootEntityFound, array $nonSuperclassParents): void
{
parent::doLoadMetadata($class, $parent, $rootEntityFound, $nonSuperclassParents);
$customGeneratorDefinition = $class->customGeneratorDefinition;
if (! isset($customGeneratorDefinition['instance'])) {
return;
in
vendor/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php
->
doLoadMetadata
(line 343)
}
$class = $this->newClassMetadataInstance($className);
$this->initializeReflection($class, $reflService);
$this->doLoadMetadata($class, $parent, $rootEntityFound, $visited);
$this->loadedMetadata[$className] = $class;
$parent = $class;
in
vendor/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php
->
loadMetadata
(line 207)
/** @psalm-var CMTemplate $cached */
$this->loadedMetadata[$realClassName] = $cached;
$this->wakeupReflection($cached, $this->getReflectionService());
} else {
$loadedMetadata = $this->loadMetadata($realClassName);
$classNames = array_combine(
array_map([$this, 'getCacheKey'], $loadedMetadata),
$loadedMetadata
);
in
vendor/doctrine/orm/src/EntityManager.php
->
getMetadataFor
(line 318)
*
* {@inheritDoc}
*/
public function getClassMetadata($className)
{
return $this->metadataFactory->getMetadataFor($className);
}
/**
* {@inheritDoc}
*/
in
vendor/doctrine/doctrine-bundle/src/Repository/ContainerRepositoryFactory.php
->
getClassMetadata
(line 49)
*
* @template T of object
*/
private function doGetRepository(EntityManagerInterface $entityManager, string $entityName, bool $strictTypeCheck): ObjectRepository
{
$metadata = $entityManager->getClassMetadata($entityName);
$repositoryServiceId = $metadata->customRepositoryClassName;
$customRepositoryName = $metadata->customRepositoryClassName;
if ($customRepositoryName !== null) {
// fetch from the container
in
vendor/doctrine/doctrine-bundle/src/Repository/RepositoryFactoryCompatibility.php
->
doGetRepository
(line 38)
trait RepositoryFactoryCompatibility
{
/** {@inheritDoc} */
public function getRepository(EntityManagerInterface $entityManager, $entityName): ObjectRepository
{
return $this->doGetRepository($entityManager, $entityName, false);
}
}
}
in
vendor/doctrine/orm/src/EntityManager.php
->
getRepository
(line 831)
__METHOD__
));
}
}
$repository = $this->repositoryFactory->getRepository($this, $entityName);
if (! $repository instanceof EntityRepository) {
Deprecation::trigger(
'doctrine/orm',
'https://github.com/doctrine/orm/pull/9533',
'Not returning an instance of %s from %s::getRepository() is deprecated and will cause a TypeError on 3.0.',
in
var/cache/dev/Container3tKoU61/EntityManager_9a5be93.php
->
getRepository
(line 227)
public function getRepository($entityName)
{
$this->initializerf9db0 && ($this->initializerf9db0->__invoke($valueHolderaf32c, $this, 'getRepository', array('entityName' => $entityName), $this->initializerf9db0) || 1) && $this->valueHolderaf32c = $valueHolderaf32c;
return $this->valueHolderaf32c->getRepository($entityName);
}
public function contains($entity)
{
$this->initializerf9db0 && ($this->initializerf9db0->__invoke($valueHolderaf32c, $this, 'contains', array('entity' => $entity), $this->initializerf9db0) || 1) && $this->valueHolderaf32c = $valueHolderaf32c;
if(empty($session->get('label'))) {
/* we try to get http host and choose label */
//print("<br>qqw host: ".$_SERVER['HTTP_HOST']);
$hostServer = $em->getRepository(Server::class)->getServerFromHost($_SERVER['HTTP_HOST']);
// print("<br>qqw hostServer: ".$_SERVER['HTTP_HOST']);
// \Doctrine\Common\Util\Debug::dump($hostServer);
if (empty($hostServer)) {
* @Route("/marketplace/department/{departmentId}", name="department")
*/
public function departmentAction(Request $request, $departmentId)
{
/* we load session data */
parent::init($request);
$session = $request->getSession();
/* we load entity managers */
$em = $this->doctrine->getManager();
in
vendor/symfony/http-kernel/HttpKernel.php
->
departmentAction
(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/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()
);
<?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 28)
} else {
$code = $exception->getCode();
$sqlState = null;
}
return new self($exception->getMessage(), $sqlState, $code, $exception);
}
}
in
vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php
::
new
(line 40)
$params['user'] ?? '',
$params['password'] ?? '',
$driverOptions,
);
} catch (PDOException $exception) {
throw Exception::new($exception);
}
return new Connection($pdo);
}
in
vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php
->
connect
(line 29)
*/
public function connect(
#[SensitiveParameter]
array $params
) {
return $this->wrappedDriver->connect($params);
}
/**
* {@inheritDoc}
*/
in
vendor/doctrine/dbal/src/Logging/Driver.php
->
connect
(line 34)
array $params
) {
$this->logger->info('Connecting with parameters {params}', ['params' => $this->maskPassword($params)]);
return new Connection(
parent::connect($params),
$this->logger,
);
}
/**
in
vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php
->
connect
(line 29)
*/
public function connect(
#[SensitiveParameter]
array $params
) {
return $this->wrappedDriver->connect($params);
}
/**
* {@inheritDoc}
*/
in
vendor/symfony/doctrine-bridge/Middleware/Debug/Driver.php
->
connect
(line 37)
}
public function connect(array $params): Connection
{
return new Connection(
parent::connect($params),
$this->debugDataHolder,
$this->stopwatch,
$this->connectionName,
);
}
in
vendor/doctrine/dbal/src/Connection.php
->
connect
(line 378)
if ($this->_conn !== null) {
return false;
}
try {
$this->_conn = $this->_driver->connect($this->params);
} catch (Driver\Exception $e) {
throw $this->convertException($e);
}
if ($this->autoCommit === false) {
in
vendor/doctrine/dbal/src/Connection.php
->
connect
(line 453)
}
// If not connected, we need to connect now to determine the platform version.
if ($this->_conn === null) {
try {
$this->connect();
} catch (Exception $originalException) {
if (! isset($this->params['dbname'])) {
throw $originalException;
}
in
vendor/doctrine/dbal/src/Connection.php
->
getDatabasePlatformVersion
(line 411)
*
* @throws Exception If an invalid platform was specified for this connection.
*/
private function detectDatabasePlatform(): AbstractPlatform
{
$version = $this->getDatabasePlatformVersion();
if ($version !== null) {
assert($this->_driver instanceof VersionAwarePlatformDriver);
return $this->_driver->createDatabasePlatformForVersion($version);
in
vendor/doctrine/dbal/src/Connection.php
->
detectDatabasePlatform
(line 318)
* @throws Exception
*/
public function getDatabasePlatform()
{
if ($this->platform === null) {
$this->platform = $this->detectDatabasePlatform();
$this->platform->setEventManager($this->_eventManager);
$this->platform->setDisableTypeComments($this->_config->getDisableTypeComments());
}
return $this->platform;
in
vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php
->
getDatabasePlatform
(line 871)
}
private function getTargetPlatform(): Platforms\AbstractPlatform
{
if (! $this->targetPlatform) {
$this->targetPlatform = $this->em->getConnection()->getDatabasePlatform();
}
return $this->targetPlatform;
}
}
in
vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php
->
getTargetPlatform
(line 629)
*/
private function completeIdGeneratorMapping(ClassMetadataInfo $class): void
{
$idGenType = $class->generatorType;
if ($idGenType === ClassMetadata::GENERATOR_TYPE_AUTO) {
$class->setIdGeneratorType($this->determineIdGeneratorStrategy($this->getTargetPlatform()));
}
// Create & assign an appropriate ID generator instance
switch ($class->generatorType) {
case ClassMetadata::GENERATOR_TYPE_IDENTITY:
in
vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php
->
completeIdGeneratorMapping
(line 160)
// However this is only true if the hierarchy of parents contains the root entity,
// if it consists of mapped superclasses these don't necessarily include the id field.
if ($parent && $rootEntityFound) {
$this->inheritIdGeneratorMapping($class, $parent);
} else {
$this->completeIdGeneratorMapping($class);
}
if (! $class->isMappedSuperclass) {
if ($rootEntityFound && $class->isInheritanceTypeNone()) {
Deprecation::trigger(
in
vendor/doctrine/doctrine-bundle/src/Mapping/ClassMetadataFactory.php
->
doLoadMetadata
(line 18)
/**
* {@inheritDoc}
*/
protected function doLoadMetadata($class, $parent, $rootEntityFound, array $nonSuperclassParents): void
{
parent::doLoadMetadata($class, $parent, $rootEntityFound, $nonSuperclassParents);
$customGeneratorDefinition = $class->customGeneratorDefinition;
if (! isset($customGeneratorDefinition['instance'])) {
return;
in
vendor/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php
->
doLoadMetadata
(line 343)
}
$class = $this->newClassMetadataInstance($className);
$this->initializeReflection($class, $reflService);
$this->doLoadMetadata($class, $parent, $rootEntityFound, $visited);
$this->loadedMetadata[$className] = $class;
$parent = $class;
in
vendor/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php
->
loadMetadata
(line 207)
/** @psalm-var CMTemplate $cached */
$this->loadedMetadata[$realClassName] = $cached;
$this->wakeupReflection($cached, $this->getReflectionService());
} else {
$loadedMetadata = $this->loadMetadata($realClassName);
$classNames = array_combine(
array_map([$this, 'getCacheKey'], $loadedMetadata),
$loadedMetadata
);
in
vendor/doctrine/orm/src/EntityManager.php
->
getMetadataFor
(line 318)
*
* {@inheritDoc}
*/
public function getClassMetadata($className)
{
return $this->metadataFactory->getMetadataFor($className);
}
/**
* {@inheritDoc}
*/
in
vendor/doctrine/doctrine-bundle/src/Repository/ContainerRepositoryFactory.php
->
getClassMetadata
(line 49)
*
* @template T of object
*/
private function doGetRepository(EntityManagerInterface $entityManager, string $entityName, bool $strictTypeCheck): ObjectRepository
{
$metadata = $entityManager->getClassMetadata($entityName);
$repositoryServiceId = $metadata->customRepositoryClassName;
$customRepositoryName = $metadata->customRepositoryClassName;
if ($customRepositoryName !== null) {
// fetch from the container
in
vendor/doctrine/doctrine-bundle/src/Repository/RepositoryFactoryCompatibility.php
->
doGetRepository
(line 38)
trait RepositoryFactoryCompatibility
{
/** {@inheritDoc} */
public function getRepository(EntityManagerInterface $entityManager, $entityName): ObjectRepository
{
return $this->doGetRepository($entityManager, $entityName, false);
}
}
}
in
vendor/doctrine/orm/src/EntityManager.php
->
getRepository
(line 831)
__METHOD__
));
}
}
$repository = $this->repositoryFactory->getRepository($this, $entityName);
if (! $repository instanceof EntityRepository) {
Deprecation::trigger(
'doctrine/orm',
'https://github.com/doctrine/orm/pull/9533',
'Not returning an instance of %s from %s::getRepository() is deprecated and will cause a TypeError on 3.0.',
in
var/cache/dev/Container3tKoU61/EntityManager_9a5be93.php
->
getRepository
(line 227)
public function getRepository($entityName)
{
$this->initializerf9db0 && ($this->initializerf9db0->__invoke($valueHolderaf32c, $this, 'getRepository', array('entityName' => $entityName), $this->initializerf9db0) || 1) && $this->valueHolderaf32c = $valueHolderaf32c;
return $this->valueHolderaf32c->getRepository($entityName);
}
public function contains($entity)
{
$this->initializerf9db0 && ($this->initializerf9db0->__invoke($valueHolderaf32c, $this, 'contains', array('entity' => $entity), $this->initializerf9db0) || 1) && $this->valueHolderaf32c = $valueHolderaf32c;
if(empty($session->get('label'))) {
/* we try to get http host and choose label */
//print("<br>qqw host: ".$_SERVER['HTTP_HOST']);
$hostServer = $em->getRepository(Server::class)->getServerFromHost($_SERVER['HTTP_HOST']);
// print("<br>qqw hostServer: ".$_SERVER['HTTP_HOST']);
// \Doctrine\Common\Util\Debug::dump($hostServer);
if (empty($hostServer)) {
* @Route("/marketplace/department/{departmentId}", name="department")
*/
public function departmentAction(Request $request, $departmentId)
{
/* we load session data */
parent::init($request);
$session = $request->getSession();
/* we load entity managers */
$em = $this->doctrine->getManager();
in
vendor/symfony/http-kernel/HttpKernel.php
->
departmentAction
(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/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()
);
<?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/MySQL/Driver.php
(line 34)
$safeParams = $params;
unset($safeParams['password'], $safeParams['url']);
try {
$pdo = new PDO(
$this->constructPdoDsn($safeParams),
$params['user'] ?? '',
$params['password'] ?? '',
$driverOptions,
);
} catch (PDOException $exception) {
in
vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php
->
__construct
(line 34)
$safeParams = $params;
unset($safeParams['password'], $safeParams['url']);
try {
$pdo = new PDO(
$this->constructPdoDsn($safeParams),
$params['user'] ?? '',
$params['password'] ?? '',
$driverOptions,
);
} catch (PDOException $exception) {
in
vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php
->
connect
(line 29)
*/
public function connect(
#[SensitiveParameter]
array $params
) {
return $this->wrappedDriver->connect($params);
}
/**
* {@inheritDoc}
*/
in
vendor/doctrine/dbal/src/Logging/Driver.php
->
connect
(line 34)
array $params
) {
$this->logger->info('Connecting with parameters {params}', ['params' => $this->maskPassword($params)]);
return new Connection(
parent::connect($params),
$this->logger,
);
}
/**
in
vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php
->
connect
(line 29)
*/
public function connect(
#[SensitiveParameter]
array $params
) {
return $this->wrappedDriver->connect($params);
}
/**
* {@inheritDoc}
*/
in
vendor/symfony/doctrine-bridge/Middleware/Debug/Driver.php
->
connect
(line 37)
}
public function connect(array $params): Connection
{
return new Connection(
parent::connect($params),
$this->debugDataHolder,
$this->stopwatch,
$this->connectionName,
);
}
in
vendor/doctrine/dbal/src/Connection.php
->
connect
(line 378)
if ($this->_conn !== null) {
return false;
}
try {
$this->_conn = $this->_driver->connect($this->params);
} catch (Driver\Exception $e) {
throw $this->convertException($e);
}
if ($this->autoCommit === false) {
in
vendor/doctrine/dbal/src/Connection.php
->
connect
(line 453)
}
// If not connected, we need to connect now to determine the platform version.
if ($this->_conn === null) {
try {
$this->connect();
} catch (Exception $originalException) {
if (! isset($this->params['dbname'])) {
throw $originalException;
}
in
vendor/doctrine/dbal/src/Connection.php
->
getDatabasePlatformVersion
(line 411)
*
* @throws Exception If an invalid platform was specified for this connection.
*/
private function detectDatabasePlatform(): AbstractPlatform
{
$version = $this->getDatabasePlatformVersion();
if ($version !== null) {
assert($this->_driver instanceof VersionAwarePlatformDriver);
return $this->_driver->createDatabasePlatformForVersion($version);
in
vendor/doctrine/dbal/src/Connection.php
->
detectDatabasePlatform
(line 318)
* @throws Exception
*/
public function getDatabasePlatform()
{
if ($this->platform === null) {
$this->platform = $this->detectDatabasePlatform();
$this->platform->setEventManager($this->_eventManager);
$this->platform->setDisableTypeComments($this->_config->getDisableTypeComments());
}
return $this->platform;
in
vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php
->
getDatabasePlatform
(line 871)
}
private function getTargetPlatform(): Platforms\AbstractPlatform
{
if (! $this->targetPlatform) {
$this->targetPlatform = $this->em->getConnection()->getDatabasePlatform();
}
return $this->targetPlatform;
}
}
in
vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php
->
getTargetPlatform
(line 629)
*/
private function completeIdGeneratorMapping(ClassMetadataInfo $class): void
{
$idGenType = $class->generatorType;
if ($idGenType === ClassMetadata::GENERATOR_TYPE_AUTO) {
$class->setIdGeneratorType($this->determineIdGeneratorStrategy($this->getTargetPlatform()));
}
// Create & assign an appropriate ID generator instance
switch ($class->generatorType) {
case ClassMetadata::GENERATOR_TYPE_IDENTITY:
in
vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php
->
completeIdGeneratorMapping
(line 160)
// However this is only true if the hierarchy of parents contains the root entity,
// if it consists of mapped superclasses these don't necessarily include the id field.
if ($parent && $rootEntityFound) {
$this->inheritIdGeneratorMapping($class, $parent);
} else {
$this->completeIdGeneratorMapping($class);
}
if (! $class->isMappedSuperclass) {
if ($rootEntityFound && $class->isInheritanceTypeNone()) {
Deprecation::trigger(
in
vendor/doctrine/doctrine-bundle/src/Mapping/ClassMetadataFactory.php
->
doLoadMetadata
(line 18)
/**
* {@inheritDoc}
*/
protected function doLoadMetadata($class, $parent, $rootEntityFound, array $nonSuperclassParents): void
{
parent::doLoadMetadata($class, $parent, $rootEntityFound, $nonSuperclassParents);
$customGeneratorDefinition = $class->customGeneratorDefinition;
if (! isset($customGeneratorDefinition['instance'])) {
return;
in
vendor/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php
->
doLoadMetadata
(line 343)
}
$class = $this->newClassMetadataInstance($className);
$this->initializeReflection($class, $reflService);
$this->doLoadMetadata($class, $parent, $rootEntityFound, $visited);
$this->loadedMetadata[$className] = $class;
$parent = $class;
in
vendor/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php
->
loadMetadata
(line 207)
/** @psalm-var CMTemplate $cached */
$this->loadedMetadata[$realClassName] = $cached;
$this->wakeupReflection($cached, $this->getReflectionService());
} else {
$loadedMetadata = $this->loadMetadata($realClassName);
$classNames = array_combine(
array_map([$this, 'getCacheKey'], $loadedMetadata),
$loadedMetadata
);
in
vendor/doctrine/orm/src/EntityManager.php
->
getMetadataFor
(line 318)
*
* {@inheritDoc}
*/
public function getClassMetadata($className)
{
return $this->metadataFactory->getMetadataFor($className);
}
/**
* {@inheritDoc}
*/
in
vendor/doctrine/doctrine-bundle/src/Repository/ContainerRepositoryFactory.php
->
getClassMetadata
(line 49)
*
* @template T of object
*/
private function doGetRepository(EntityManagerInterface $entityManager, string $entityName, bool $strictTypeCheck): ObjectRepository
{
$metadata = $entityManager->getClassMetadata($entityName);
$repositoryServiceId = $metadata->customRepositoryClassName;
$customRepositoryName = $metadata->customRepositoryClassName;
if ($customRepositoryName !== null) {
// fetch from the container
in
vendor/doctrine/doctrine-bundle/src/Repository/RepositoryFactoryCompatibility.php
->
doGetRepository
(line 38)
trait RepositoryFactoryCompatibility
{
/** {@inheritDoc} */
public function getRepository(EntityManagerInterface $entityManager, $entityName): ObjectRepository
{
return $this->doGetRepository($entityManager, $entityName, false);
}
}
}
in
vendor/doctrine/orm/src/EntityManager.php
->
getRepository
(line 831)
__METHOD__
));
}
}
$repository = $this->repositoryFactory->getRepository($this, $entityName);
if (! $repository instanceof EntityRepository) {
Deprecation::trigger(
'doctrine/orm',
'https://github.com/doctrine/orm/pull/9533',
'Not returning an instance of %s from %s::getRepository() is deprecated and will cause a TypeError on 3.0.',
in
var/cache/dev/Container3tKoU61/EntityManager_9a5be93.php
->
getRepository
(line 227)
public function getRepository($entityName)
{
$this->initializerf9db0 && ($this->initializerf9db0->__invoke($valueHolderaf32c, $this, 'getRepository', array('entityName' => $entityName), $this->initializerf9db0) || 1) && $this->valueHolderaf32c = $valueHolderaf32c;
return $this->valueHolderaf32c->getRepository($entityName);
}
public function contains($entity)
{
$this->initializerf9db0 && ($this->initializerf9db0->__invoke($valueHolderaf32c, $this, 'contains', array('entity' => $entity), $this->initializerf9db0) || 1) && $this->valueHolderaf32c = $valueHolderaf32c;
if(empty($session->get('label'))) {
/* we try to get http host and choose label */
//print("<br>qqw host: ".$_SERVER['HTTP_HOST']);
$hostServer = $em->getRepository(Server::class)->getServerFromHost($_SERVER['HTTP_HOST']);
// print("<br>qqw hostServer: ".$_SERVER['HTTP_HOST']);
// \Doctrine\Common\Util\Debug::dump($hostServer);
if (empty($hostServer)) {
* @Route("/marketplace/department/{departmentId}", name="department")
*/
public function departmentAction(Request $request, $departmentId)
{
/* we load session data */
parent::init($request);
$session = $request->getSession();
/* we load entity managers */
$em = $this->doctrine->getManager();
in
vendor/symfony/http-kernel/HttpKernel.php
->
departmentAction
(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/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()
);
<?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']);
};
Logs
Level | Channel | Message |
---|---|---|
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Nelmio\CorsBundle\EventListener\CorsListener::onKernelRequest". { "event": "kernel.request", "listener": "Nelmio\\CorsBundle\\EventListener\\CorsListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\AddFormatListener::onKernelRequest". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\EventListener\\AddFormatListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\QueryParameterValidateListener::onKernelRequest". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\EventListener\\QueryParameterValidateListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator". { "event": "kernel.request", "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\ReadListener::onKernelRequest". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\EventListener\\ReadListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DenyAccessListener::onSecurity". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\EventListener\\DenyAccessListener::onSecurity" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DeserializeListener::onKernelRequest". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\EventListener\\DeserializeListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DenyAccessListener::onSecurityPostDenormalize". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\EventListener\\DenyAccessListener::onSecurityPostDenormalize" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "App\EventListener\LocaleListener::__invoke". { "event": "kernel.request", "listener": "App\\EventListener\\LocaleListener::__invoke" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "App\EventListener\RequestListener::__invoke". { "event": "kernel.request", "listener": "App\\EventListener\\RequestListener::__invoke" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "ApiPlatform\Symfony\Bundle\EventListener\SwaggerUiListener::onKernelRequest". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\Bundle\\EventListener\\SwaggerUiListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelRequest". { "event": "kernel.request", "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.controller" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelController". { "event": "kernel.controller", "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelController" } |
DEBUG 08:27:52 | event |
Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController". { "event": "kernel.controller", "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController" } |
DEBUG 08:27:52 | event |
Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController". { "event": "kernel.controller", "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController" } |
DEBUG 08:27:52 | event |
Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments". { "event": "kernel.controller_arguments", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::onControllerArguments" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Nelmio\CorsBundle\EventListener\CorsListener::onKernelRequest". { "event": "kernel.request", "listener": "Nelmio\\CorsBundle\\EventListener\\CorsListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\AddFormatListener::onKernelRequest". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\EventListener\\AddFormatListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\QueryParameterValidateListener::onKernelRequest". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\EventListener\\QueryParameterValidateListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator". { "event": "kernel.request", "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\ReadListener::onKernelRequest". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\EventListener\\ReadListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DenyAccessListener::onSecurity". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\EventListener\\DenyAccessListener::onSecurity" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DeserializeListener::onKernelRequest". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\EventListener\\DeserializeListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DenyAccessListener::onSecurityPostDenormalize". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\EventListener\\DenyAccessListener::onSecurityPostDenormalize" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "App\EventListener\LocaleListener::__invoke". { "event": "kernel.request", "listener": "App\\EventListener\\LocaleListener::__invoke" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "App\EventListener\RequestListener::__invoke". { "event": "kernel.request", "listener": "App\\EventListener\\RequestListener::__invoke" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "ApiPlatform\Symfony\Bundle\EventListener\SwaggerUiListener::onKernelRequest". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\Bundle\\EventListener\\SwaggerUiListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelRequest". { "event": "kernel.request", "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.controller" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelController". { "event": "kernel.controller", "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelController" } |
DEBUG 08:27:52 | event |
Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController". { "event": "kernel.controller", "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController" } |
DEBUG 08:27:52 | event |
Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController". { "event": "kernel.controller", "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController" } |
DEBUG 08:27:52 | event |
Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments". { "event": "kernel.controller_arguments", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::onControllerArguments" } |
DEBUG 08:27:52 | event |
Notified event "kernel.response" to listener "Symfony\Component\Security\Http\Firewall\ContextListener::onKernelResponse". { "event": "kernel.response", "listener": "Symfony\\Component\\Security\\Http\\Firewall\\ContextListener::onKernelResponse" } |
DEBUG 08:27:52 | event |
Notified event "kernel.response" to listener "Nelmio\CorsBundle\EventListener\CorsListener::onKernelResponse". { "event": "kernel.response", "listener": "Nelmio\\CorsBundle\\EventListener\\CorsListener::onKernelResponse" } |
DEBUG 08:27:52 | event |
Notified event "kernel.response" to listener "ApiPlatform\Hydra\EventListener\AddLinkHeaderListener::onKernelResponse". { "event": "kernel.response", "listener": "ApiPlatform\\Hydra\\EventListener\\AddLinkHeaderListener::onKernelResponse" } |
DEBUG 08:27:52 | event |
Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ResponseListener::onKernelResponse". { "event": "kernel.response", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ResponseListener::onKernelResponse" } |
DEBUG 08:27:52 | event |
Notified event "kernel.response" to listener "Symfony\Component\WebLink\EventListener\AddLinkHeaderListener::onKernelResponse". { "event": "kernel.response", "listener": "Symfony\\Component\\WebLink\\EventListener\\AddLinkHeaderListener::onKernelResponse" } |
DEBUG 08:27:52 | event |
Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelResponse". { "event": "kernel.response", "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelResponse" } |
DEBUG 08:27:52 | event |
Notified event "kernel.response" to listener "ApiPlatform\HttpCache\EventListener\AddHeadersListener::onKernelResponse". { "event": "kernel.response", "listener": "ApiPlatform\\HttpCache\\EventListener\\AddHeadersListener::onKernelResponse" } |
DEBUG 08:27:52 | event |
Notified event "kernel.response" to listener "Nelmio\CorsBundle\EventListener\CacheableResponseVaryListener::onResponse". { "event": "kernel.response", "listener": "Nelmio\\CorsBundle\\EventListener\\CacheableResponseVaryListener::onResponse" } |
DEBUG 08:27:52 | event |
Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelResponse". { "event": "kernel.response", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener::onKernelResponse" } |
DEBUG 08:27:52 | event |
Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::removeCspHeader". { "event": "kernel.response", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::removeCspHeader" } |
DEBUG 08:27:52 | event |
Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\DisallowRobotsIndexingListener::onResponse". { "event": "kernel.response", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DisallowRobotsIndexingListener::onResponse" } |
DEBUG 08:27:52 | event |
Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelResponse". { "event": "kernel.response", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelResponse" } |
DEBUG 08:27:52 | event |
Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelFinishRequest". { "event": "kernel.finish_request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelFinishRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelFinishRequest". { "event": "kernel.finish_request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelFinishRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.finish_request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelFinishRequest". { "event": "kernel.finish_request", "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelFinishRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelFinishRequest". { "event": "kernel.finish_request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelFinishRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Nelmio\CorsBundle\EventListener\CorsListener::onKernelRequest". { "event": "kernel.request", "listener": "Nelmio\\CorsBundle\\EventListener\\CorsListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\AddFormatListener::onKernelRequest". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\EventListener\\AddFormatListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\QueryParameterValidateListener::onKernelRequest". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\EventListener\\QueryParameterValidateListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator". { "event": "kernel.request", "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\ReadListener::onKernelRequest". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\EventListener\\ReadListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DenyAccessListener::onSecurity". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\EventListener\\DenyAccessListener::onSecurity" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DeserializeListener::onKernelRequest". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\EventListener\\DeserializeListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DenyAccessListener::onSecurityPostDenormalize". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\EventListener\\DenyAccessListener::onSecurityPostDenormalize" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "App\EventListener\LocaleListener::__invoke". { "event": "kernel.request", "listener": "App\\EventListener\\LocaleListener::__invoke" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "App\EventListener\RequestListener::__invoke". { "event": "kernel.request", "listener": "App\\EventListener\\RequestListener::__invoke" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "ApiPlatform\Symfony\Bundle\EventListener\SwaggerUiListener::onKernelRequest". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\Bundle\\EventListener\\SwaggerUiListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelRequest". { "event": "kernel.request", "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.controller" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelController". { "event": "kernel.controller", "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelController" } |
DEBUG 08:27:52 | event |
Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController". { "event": "kernel.controller", "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController" } |
DEBUG 08:27:52 | event |
Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController". { "event": "kernel.controller", "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController" } |
DEBUG 08:27:52 | event |
Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments". { "event": "kernel.controller_arguments", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::onControllerArguments" } |
DEBUG 08:27:52 | event |
Notified event "kernel.response" to listener "Symfony\Component\Security\Http\Firewall\ContextListener::onKernelResponse". { "event": "kernel.response", "listener": "Symfony\\Component\\Security\\Http\\Firewall\\ContextListener::onKernelResponse" } |
DEBUG 08:27:52 | event |
Notified event "kernel.response" to listener "Nelmio\CorsBundle\EventListener\CorsListener::onKernelResponse". { "event": "kernel.response", "listener": "Nelmio\\CorsBundle\\EventListener\\CorsListener::onKernelResponse" } |
DEBUG 08:27:52 | event |
Notified event "kernel.response" to listener "ApiPlatform\Hydra\EventListener\AddLinkHeaderListener::onKernelResponse". { "event": "kernel.response", "listener": "ApiPlatform\\Hydra\\EventListener\\AddLinkHeaderListener::onKernelResponse" } |
DEBUG 08:27:52 | event |
Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ResponseListener::onKernelResponse". { "event": "kernel.response", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ResponseListener::onKernelResponse" } |
DEBUG 08:27:52 | event |
Notified event "kernel.response" to listener "Symfony\Component\WebLink\EventListener\AddLinkHeaderListener::onKernelResponse". { "event": "kernel.response", "listener": "Symfony\\Component\\WebLink\\EventListener\\AddLinkHeaderListener::onKernelResponse" } |
DEBUG 08:27:52 | event |
Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelResponse". { "event": "kernel.response", "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelResponse" } |
DEBUG 08:27:52 | event |
Notified event "kernel.response" to listener "ApiPlatform\HttpCache\EventListener\AddHeadersListener::onKernelResponse". { "event": "kernel.response", "listener": "ApiPlatform\\HttpCache\\EventListener\\AddHeadersListener::onKernelResponse" } |
DEBUG 08:27:52 | event |
Notified event "kernel.response" to listener "Nelmio\CorsBundle\EventListener\CacheableResponseVaryListener::onResponse". { "event": "kernel.response", "listener": "Nelmio\\CorsBundle\\EventListener\\CacheableResponseVaryListener::onResponse" } |
DEBUG 08:27:52 | event |
Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelResponse". { "event": "kernel.response", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener::onKernelResponse" } |
DEBUG 08:27:52 | event |
Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::removeCspHeader". { "event": "kernel.response", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::removeCspHeader" } |
DEBUG 08:27:52 | event |
Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\DisallowRobotsIndexingListener::onResponse". { "event": "kernel.response", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DisallowRobotsIndexingListener::onResponse" } |
DEBUG 08:27:52 | event |
Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelResponse". { "event": "kernel.response", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelResponse" } |
DEBUG 08:27:52 | event |
Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelFinishRequest". { "event": "kernel.finish_request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelFinishRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelFinishRequest". { "event": "kernel.finish_request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelFinishRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.finish_request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelFinishRequest". { "event": "kernel.finish_request", "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelFinishRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelFinishRequest". { "event": "kernel.finish_request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelFinishRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Nelmio\CorsBundle\EventListener\CorsListener::onKernelRequest". { "event": "kernel.request", "listener": "Nelmio\\CorsBundle\\EventListener\\CorsListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\AddFormatListener::onKernelRequest". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\EventListener\\AddFormatListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\QueryParameterValidateListener::onKernelRequest". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\EventListener\\QueryParameterValidateListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator". { "event": "kernel.request", "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest". { "event": "kernel.request", "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\ReadListener::onKernelRequest". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\EventListener\\ReadListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DenyAccessListener::onSecurity". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\EventListener\\DenyAccessListener::onSecurity" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DeserializeListener::onKernelRequest". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\EventListener\\DeserializeListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "ApiPlatform\Symfony\EventListener\DenyAccessListener::onSecurityPostDenormalize". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\EventListener\\DenyAccessListener::onSecurityPostDenormalize" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "App\EventListener\LocaleListener::__invoke". { "event": "kernel.request", "listener": "App\\EventListener\\LocaleListener::__invoke" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "App\EventListener\RequestListener::__invoke". { "event": "kernel.request", "listener": "App\\EventListener\\RequestListener::__invoke" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "ApiPlatform\Symfony\Bundle\EventListener\SwaggerUiListener::onKernelRequest". { "event": "kernel.request", "listener": "ApiPlatform\\Symfony\\Bundle\\EventListener\\SwaggerUiListener::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.request" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelRequest". { "event": "kernel.request", "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelRequest" } |
DEBUG 08:27:52 | event |
Notified event "kernel.controller" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelController". { "event": "kernel.controller", "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelController" } |
DEBUG 08:27:52 | event |
Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController". { "event": "kernel.controller", "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController" } |
DEBUG 08:27:52 | event |
Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController". { "event": "kernel.controller", "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController" } |
DEBUG 08:27:52 | event |
Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments". { "event": "kernel.controller_arguments", "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::onControllerArguments" } |
Stack Traces 3
[3/3]
ConnectionException
|
---|
Doctrine\DBAL\Exception\ConnectionException: An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused at vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:101 at Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert() (vendor/doctrine/dbal/src/Connection.php:1939) at Doctrine\DBAL\Connection->handleDriverException() (vendor/doctrine/dbal/src/Connection.php:1887) at Doctrine\DBAL\Connection->convertException() (vendor/doctrine/dbal/src/Connection.php:380) at Doctrine\DBAL\Connection->connect() (vendor/doctrine/dbal/src/Connection.php:453) at Doctrine\DBAL\Connection->getDatabasePlatformVersion() (vendor/doctrine/dbal/src/Connection.php:411) at Doctrine\DBAL\Connection->detectDatabasePlatform() (vendor/doctrine/dbal/src/Connection.php:318) at Doctrine\DBAL\Connection->getDatabasePlatform() (vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php:871) at Doctrine\ORM\Mapping\ClassMetadataFactory->getTargetPlatform() (vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php:629) at Doctrine\ORM\Mapping\ClassMetadataFactory->completeIdGeneratorMapping() (vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php:160) at Doctrine\ORM\Mapping\ClassMetadataFactory->doLoadMetadata() (vendor/doctrine/doctrine-bundle/src/Mapping/ClassMetadataFactory.php:18) at Doctrine\Bundle\DoctrineBundle\Mapping\ClassMetadataFactory->doLoadMetadata() (vendor/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php:343) at Doctrine\Persistence\Mapping\AbstractClassMetadataFactory->loadMetadata() (vendor/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php:207) at Doctrine\Persistence\Mapping\AbstractClassMetadataFactory->getMetadataFor() (vendor/doctrine/orm/src/EntityManager.php:318) at Doctrine\ORM\EntityManager->getClassMetadata() (vendor/doctrine/doctrine-bundle/src/Repository/ContainerRepositoryFactory.php:49) at Doctrine\Bundle\DoctrineBundle\Repository\ContainerRepositoryFactory->doGetRepository() (vendor/doctrine/doctrine-bundle/src/Repository/RepositoryFactoryCompatibility.php:38) at Doctrine\Bundle\DoctrineBundle\Repository\ContainerRepositoryFactory->getRepository() (vendor/doctrine/orm/src/EntityManager.php:831) at Doctrine\ORM\EntityManager->getRepository() (var/cache/dev/Container3tKoU61/EntityManager_9a5be93.php:227) at Container3tKoU61\EntityManager_9a5be93->getRepository() (src/Controller/DefaultController.php:97) at App\Controller\DefaultController->init() (src/Controller/MarketplaceController.php:124) at App\Controller\MarketplaceController->departmentAction() (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/runtime/Runner/Symfony/HttpKernelRunner.php:35) at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run() (vendor/autoload_runtime.php:29) at require_once('/var/www/webexciter/vendor/autoload_runtime.php') (public/index.php:5) |
[2/3]
Exception
|
---|
Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[HY000] [2002] Connection refused at vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28 at Doctrine\DBAL\Driver\PDO\Exception::new() (vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:40) at Doctrine\DBAL\Driver\PDO\MySQL\Driver->connect() (vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29) at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect() (vendor/doctrine/dbal/src/Logging/Driver.php:34) at Doctrine\DBAL\Logging\Driver->connect() (vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29) at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect() (vendor/symfony/doctrine-bridge/Middleware/Debug/Driver.php:37) at Symfony\Bridge\Doctrine\Middleware\Debug\Driver->connect() (vendor/doctrine/dbal/src/Connection.php:378) at Doctrine\DBAL\Connection->connect() (vendor/doctrine/dbal/src/Connection.php:453) at Doctrine\DBAL\Connection->getDatabasePlatformVersion() (vendor/doctrine/dbal/src/Connection.php:411) at Doctrine\DBAL\Connection->detectDatabasePlatform() (vendor/doctrine/dbal/src/Connection.php:318) at Doctrine\DBAL\Connection->getDatabasePlatform() (vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php:871) at Doctrine\ORM\Mapping\ClassMetadataFactory->getTargetPlatform() (vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php:629) at Doctrine\ORM\Mapping\ClassMetadataFactory->completeIdGeneratorMapping() (vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php:160) at Doctrine\ORM\Mapping\ClassMetadataFactory->doLoadMetadata() (vendor/doctrine/doctrine-bundle/src/Mapping/ClassMetadataFactory.php:18) at Doctrine\Bundle\DoctrineBundle\Mapping\ClassMetadataFactory->doLoadMetadata() (vendor/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php:343) at Doctrine\Persistence\Mapping\AbstractClassMetadataFactory->loadMetadata() (vendor/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php:207) at Doctrine\Persistence\Mapping\AbstractClassMetadataFactory->getMetadataFor() (vendor/doctrine/orm/src/EntityManager.php:318) at Doctrine\ORM\EntityManager->getClassMetadata() (vendor/doctrine/doctrine-bundle/src/Repository/ContainerRepositoryFactory.php:49) at Doctrine\Bundle\DoctrineBundle\Repository\ContainerRepositoryFactory->doGetRepository() (vendor/doctrine/doctrine-bundle/src/Repository/RepositoryFactoryCompatibility.php:38) at Doctrine\Bundle\DoctrineBundle\Repository\ContainerRepositoryFactory->getRepository() (vendor/doctrine/orm/src/EntityManager.php:831) at Doctrine\ORM\EntityManager->getRepository() (var/cache/dev/Container3tKoU61/EntityManager_9a5be93.php:227) at Container3tKoU61\EntityManager_9a5be93->getRepository() (src/Controller/DefaultController.php:97) at App\Controller\DefaultController->init() (src/Controller/MarketplaceController.php:124) at App\Controller\MarketplaceController->departmentAction() (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/runtime/Runner/Symfony/HttpKernelRunner.php:35) at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run() (vendor/autoload_runtime.php:29) at require_once('/var/www/webexciter/vendor/autoload_runtime.php') (public/index.php:5) |
[1/3]
PDOException
|
---|
PDOException: SQLSTATE[HY000] [2002] Connection refused at vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:34 at PDO->__construct() (vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:34) at Doctrine\DBAL\Driver\PDO\MySQL\Driver->connect() (vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29) at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect() (vendor/doctrine/dbal/src/Logging/Driver.php:34) at Doctrine\DBAL\Logging\Driver->connect() (vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29) at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect() (vendor/symfony/doctrine-bridge/Middleware/Debug/Driver.php:37) at Symfony\Bridge\Doctrine\Middleware\Debug\Driver->connect() (vendor/doctrine/dbal/src/Connection.php:378) at Doctrine\DBAL\Connection->connect() (vendor/doctrine/dbal/src/Connection.php:453) at Doctrine\DBAL\Connection->getDatabasePlatformVersion() (vendor/doctrine/dbal/src/Connection.php:411) at Doctrine\DBAL\Connection->detectDatabasePlatform() (vendor/doctrine/dbal/src/Connection.php:318) at Doctrine\DBAL\Connection->getDatabasePlatform() (vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php:871) at Doctrine\ORM\Mapping\ClassMetadataFactory->getTargetPlatform() (vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php:629) at Doctrine\ORM\Mapping\ClassMetadataFactory->completeIdGeneratorMapping() (vendor/doctrine/orm/src/Mapping/ClassMetadataFactory.php:160) at Doctrine\ORM\Mapping\ClassMetadataFactory->doLoadMetadata() (vendor/doctrine/doctrine-bundle/src/Mapping/ClassMetadataFactory.php:18) at Doctrine\Bundle\DoctrineBundle\Mapping\ClassMetadataFactory->doLoadMetadata() (vendor/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php:343) at Doctrine\Persistence\Mapping\AbstractClassMetadataFactory->loadMetadata() (vendor/doctrine/persistence/src/Persistence/Mapping/AbstractClassMetadataFactory.php:207) at Doctrine\Persistence\Mapping\AbstractClassMetadataFactory->getMetadataFor() (vendor/doctrine/orm/src/EntityManager.php:318) at Doctrine\ORM\EntityManager->getClassMetadata() (vendor/doctrine/doctrine-bundle/src/Repository/ContainerRepositoryFactory.php:49) at Doctrine\Bundle\DoctrineBundle\Repository\ContainerRepositoryFactory->doGetRepository() (vendor/doctrine/doctrine-bundle/src/Repository/RepositoryFactoryCompatibility.php:38) at Doctrine\Bundle\DoctrineBundle\Repository\ContainerRepositoryFactory->getRepository() (vendor/doctrine/orm/src/EntityManager.php:831) at Doctrine\ORM\EntityManager->getRepository() (var/cache/dev/Container3tKoU61/EntityManager_9a5be93.php:227) at Container3tKoU61\EntityManager_9a5be93->getRepository() (src/Controller/DefaultController.php:97) at App\Controller\DefaultController->init() (src/Controller/MarketplaceController.php:124) at App\Controller\MarketplaceController->departmentAction() (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/runtime/Runner/Symfony/HttpKernelRunner.php:35) at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run() (vendor/autoload_runtime.php:29) at require_once('/var/www/webexciter/vendor/autoload_runtime.php') (public/index.php:5) |