Exceptions
Exceptions 4
Doctrine\DBAL\Exception\ ConnectionException
case 1370:
case 1429:
case 2002:
case 2005:
case 2054:
return new ConnectionException($exception, $query);
case 2006:
return new ConnectionLost($exception, $query);
case 1048:
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 1655)
'https://github.com/doctrine/dbal/issues/4966',
'Connection::getWrappedConnection() is deprecated.'
. ' Use Connection::getNativeConnection() to access the native connection.',
);
$this->connect();
return $this->_conn;
}
/** @return resource|object */
in
vendor/doctrine/dbal/src/Connection.php
->
getWrappedConnection
(line 1082)
): Result {
if ($qcp !== null) {
return $this->executeCacheQuery($sql, $params, $types, $qcp);
}
$connection = $this->getWrappedConnection();
$logger = $this->_config->getSQLLogger();
if ($logger !== null) {
$logger->startQuery($sql, $params, $types);
}
in
vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php
->
executeQuery
(line 776)
{
$this->switchPersisterContext(null, $limit);
$sql = $this->getSelectSQL($criteria, $assoc, $lockMode, $limit, null, $orderBy);
[$params, $types] = $this->expandParameters($criteria);
$stmt = $this->conn->executeQuery($sql, $params, $types);
if ($entity !== null) {
$hints[Query::HINT_REFRESH] = true;
$hints[Query::HINT_REFRESH_ENTITY] = $entity;
}
in
vendor/doctrine/orm/src/EntityRepository.php
->
load
(line 241)
*/
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.
*
EntityRepository->findOneBy(array('user' => null, 'domain' => 'facebook.com'))
in
src/Controller/External/WebImpactCalculatorController.php
(line 60)
if ($form->isSubmitted() && $form->isValid()) {
$existingAnonymousReport = $entityManager->getRepository(Report::class)->findOneBy(
[
'user' => null,
'domain' => $report->getDomain(),
]
);
if (null !== $existingAnonymousReport) {
$report = $existingAnonymousReport;
in
vendor/symfony/http-kernel/HttpKernel.php
->
new
(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 35)
$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 41)
$this->connectionName = $connectionName;
}
public function connect(array $params): ConnectionInterface
{
$connection = parent::connect($params);
if ('void' !== (string) (new \ReflectionMethod(DriverInterface\Connection::class, 'commit'))->getReturnType()) {
return new DBAL3\Connection(
$connection,
$this->debugDataHolder,
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/sentry/sentry-symfony/src/Tracing/Doctrine/DBAL/TracingDriverForV3.php
->
connect
(line 47)
* @phpstan-param ConnectionParams $params
*/
public function connect(array $params): TracingDriverConnectionInterface
{
return $this->connectionFactory->create(
parent::connect($params),
$this->getDatabasePlatform(),
$params
);
}
}
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 1655)
'https://github.com/doctrine/dbal/issues/4966',
'Connection::getWrappedConnection() is deprecated.'
. ' Use Connection::getNativeConnection() to access the native connection.',
);
$this->connect();
return $this->_conn;
}
/** @return resource|object */
in
vendor/doctrine/dbal/src/Connection.php
->
getWrappedConnection
(line 1082)
): Result {
if ($qcp !== null) {
return $this->executeCacheQuery($sql, $params, $types, $qcp);
}
$connection = $this->getWrappedConnection();
$logger = $this->_config->getSQLLogger();
if ($logger !== null) {
$logger->startQuery($sql, $params, $types);
}
in
vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php
->
executeQuery
(line 776)
{
$this->switchPersisterContext(null, $limit);
$sql = $this->getSelectSQL($criteria, $assoc, $lockMode, $limit, null, $orderBy);
[$params, $types] = $this->expandParameters($criteria);
$stmt = $this->conn->executeQuery($sql, $params, $types);
if ($entity !== null) {
$hints[Query::HINT_REFRESH] = true;
$hints[Query::HINT_REFRESH_ENTITY] = $entity;
}
in
vendor/doctrine/orm/src/EntityRepository.php
->
load
(line 241)
*/
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.
*
EntityRepository->findOneBy(array('user' => null, 'domain' => 'facebook.com'))
in
src/Controller/External/WebImpactCalculatorController.php
(line 60)
if ($form->isSubmitted() && $form->isValid()) {
$existingAnonymousReport = $entityManager->getRepository(Report::class)->findOneBy(
[
'user' => null,
'domain' => $report->getDomain(),
]
);
if (null !== $existingAnonymousReport) {
$report = $existingAnonymousReport;
in
vendor/symfony/http-kernel/HttpKernel.php
->
new
(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 35)
$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 41)
$this->connectionName = $connectionName;
}
public function connect(array $params): ConnectionInterface
{
$connection = parent::connect($params);
if ('void' !== (string) (new \ReflectionMethod(DriverInterface\Connection::class, 'commit'))->getReturnType()) {
return new DBAL3\Connection(
$connection,
$this->debugDataHolder,
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/sentry/sentry-symfony/src/Tracing/Doctrine/DBAL/TracingDriverForV3.php
->
connect
(line 47)
* @phpstan-param ConnectionParams $params
*/
public function connect(array $params): TracingDriverConnectionInterface
{
return $this->connectionFactory->create(
parent::connect($params),
$this->getDatabasePlatform(),
$params
);
}
}
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 1655)
'https://github.com/doctrine/dbal/issues/4966',
'Connection::getWrappedConnection() is deprecated.'
. ' Use Connection::getNativeConnection() to access the native connection.',
);
$this->connect();
return $this->_conn;
}
/** @return resource|object */
in
vendor/doctrine/dbal/src/Connection.php
->
getWrappedConnection
(line 1082)
): Result {
if ($qcp !== null) {
return $this->executeCacheQuery($sql, $params, $types, $qcp);
}
$connection = $this->getWrappedConnection();
$logger = $this->_config->getSQLLogger();
if ($logger !== null) {
$logger->startQuery($sql, $params, $types);
}
in
vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php
->
executeQuery
(line 776)
{
$this->switchPersisterContext(null, $limit);
$sql = $this->getSelectSQL($criteria, $assoc, $lockMode, $limit, null, $orderBy);
[$params, $types] = $this->expandParameters($criteria);
$stmt = $this->conn->executeQuery($sql, $params, $types);
if ($entity !== null) {
$hints[Query::HINT_REFRESH] = true;
$hints[Query::HINT_REFRESH_ENTITY] = $entity;
}
in
vendor/doctrine/orm/src/EntityRepository.php
->
load
(line 241)
*/
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.
*
EntityRepository->findOneBy(array('user' => null, 'domain' => 'facebook.com'))
in
src/Controller/External/WebImpactCalculatorController.php
(line 60)
if ($form->isSubmitted() && $form->isValid()) {
$existingAnonymousReport = $entityManager->getRepository(Report::class)->findOneBy(
[
'user' => null,
'domain' => $report->getDomain(),
]
);
if (null !== $existingAnonymousReport) {
$report = $existingAnonymousReport;
in
vendor/symfony/http-kernel/HttpKernel.php
->
new
(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 35)
$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 41)
$this->connectionName = $connectionName;
}
public function connect(array $params): ConnectionInterface
{
$connection = parent::connect($params);
if ('void' !== (string) (new \ReflectionMethod(DriverInterface\Connection::class, 'commit'))->getReturnType()) {
return new DBAL3\Connection(
$connection,
$this->debugDataHolder,
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/sentry/sentry-symfony/src/Tracing/Doctrine/DBAL/TracingDriverForV3.php
->
connect
(line 47)
* @phpstan-param ConnectionParams $params
*/
public function connect(array $params): TracingDriverConnectionInterface
{
return $this->connectionFactory->create(
parent::connect($params),
$this->getDatabasePlatform(),
$params
);
}
}
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 1655)
'https://github.com/doctrine/dbal/issues/4966',
'Connection::getWrappedConnection() is deprecated.'
. ' Use Connection::getNativeConnection() to access the native connection.',
);
$this->connect();
return $this->_conn;
}
/** @return resource|object */
in
vendor/doctrine/dbal/src/Connection.php
->
getWrappedConnection
(line 1082)
): Result {
if ($qcp !== null) {
return $this->executeCacheQuery($sql, $params, $types, $qcp);
}
$connection = $this->getWrappedConnection();
$logger = $this->_config->getSQLLogger();
if ($logger !== null) {
$logger->startQuery($sql, $params, $types);
}
in
vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php
->
executeQuery
(line 776)
{
$this->switchPersisterContext(null, $limit);
$sql = $this->getSelectSQL($criteria, $assoc, $lockMode, $limit, null, $orderBy);
[$params, $types] = $this->expandParameters($criteria);
$stmt = $this->conn->executeQuery($sql, $params, $types);
if ($entity !== null) {
$hints[Query::HINT_REFRESH] = true;
$hints[Query::HINT_REFRESH_ENTITY] = $entity;
}
in
vendor/doctrine/orm/src/EntityRepository.php
->
load
(line 241)
*/
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.
*
EntityRepository->findOneBy(array('user' => null, 'domain' => 'facebook.com'))
in
src/Controller/External/WebImpactCalculatorController.php
(line 60)
if ($form->isSubmitted() && $form->isValid()) {
$existingAnonymousReport = $entityManager->getRepository(Report::class)->findOneBy(
[
'user' => null,
'domain' => $report->getDomain(),
]
);
if (null !== $existingAnonymousReport) {
$report = $existingAnonymousReport;
in
vendor/symfony/http-kernel/HttpKernel.php
->
new
(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 35)
$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 |
---|---|---|
INFO 20:23:31 | request |
Matched route "_profiler". { "route": "_profiler", "route_parameters": { "_route": "_profiler", "_controller": "web_profiler.controller.profiler::panelAction", "token": "290eb0" }, "request_uri": "http://app.dedalo.ai/_profiler/290eb0?panel=exception", "method": "GET" } |
Stack Traces 4
[4/4]
ConnectionException
|
---|
Doctrine\DBAL\Exception\ConnectionException: An exception occurred in the driver: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for database failed: Name or service not known at vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:101 at Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert(object(Exception), null) (vendor/doctrine/dbal/src/Connection.php:1939) at Doctrine\DBAL\Connection->handleDriverException(object(Exception), null) (vendor/doctrine/dbal/src/Connection.php:1887) at Doctrine\DBAL\Connection->convertException(object(Exception)) (vendor/doctrine/dbal/src/Connection.php:380) at Doctrine\DBAL\Connection->connect() (vendor/doctrine/dbal/src/Connection.php:1655) at Doctrine\DBAL\Connection->getWrappedConnection() (vendor/doctrine/dbal/src/Connection.php:1082) at Doctrine\DBAL\Connection->executeQuery('SELECT t0.id AS id_1, t0.name AS name_2, t0.domain AS domain_3, t0.hash AS hash_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.user_id AS user_id_7 FROM report t0 WHERE t0.user_id IS NULL AND t0.domain = ? LIMIT 1', array('facebook.com'), array('string')) (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:776) at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load(array('user' => null, 'domain' => 'facebook.com'), null, null, array(), null, 1, null) (vendor/doctrine/orm/src/EntityRepository.php:241) at Doctrine\ORM\EntityRepository->findOneBy(array('user' => null, 'domain' => 'facebook.com')) (src/Controller/External/WebImpactCalculatorController.php:60) at App\Controller\External\WebImpactCalculatorController->new(object(Request), object(EntityManager_9a5be93), object(TraceableMessageBus)) (vendor/symfony/http-kernel/HttpKernel.php:163) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (vendor/symfony/http-kernel/HttpKernel.php:75) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true) (vendor/symfony/http-kernel/Kernel.php:202) at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35) at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run() (vendor/autoload_runtime.php:35) at require_once('/var/www/dedalo/vendor/autoload_runtime.php') (public/index.php:5) |
[3/4]
Exception
|
---|
Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for database failed: Name or service not known at vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28 at Doctrine\DBAL\Driver\PDO\Exception::new(object(PDOException)) (vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:40) at Doctrine\DBAL\Driver\PDO\MySQL\Driver->connect(array('charset' => 'utf8mb4', 'driver' => 'pdo_mysql', 'host' => 'database', 'port' => 3306, 'user' => 'root', 'password' => 'password', 'driverOptions' => array(), 'defaultTableOptions' => array('charset' => 'utf8mb4', 'collate' => 'utf8mb4_unicode_ci'), 'dbname' => 'dedalo', 'serverVersion' => '8.0')) (vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29) at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(array('charset' => 'utf8mb4', 'driver' => 'pdo_mysql', 'host' => 'database', 'port' => 3306, 'user' => 'root', 'password' => 'password', 'driverOptions' => array(), 'defaultTableOptions' => array('charset' => 'utf8mb4', 'collate' => 'utf8mb4_unicode_ci'), 'dbname' => 'dedalo', 'serverVersion' => '8.0')) (vendor/doctrine/dbal/src/Logging/Driver.php:34) at Doctrine\DBAL\Logging\Driver->connect(array('charset' => 'utf8mb4', 'driver' => 'pdo_mysql', 'host' => 'database', 'port' => 3306, 'user' => 'root', 'password' => 'password', 'driverOptions' => array(), 'defaultTableOptions' => array('charset' => 'utf8mb4', 'collate' => 'utf8mb4_unicode_ci'), 'dbname' => 'dedalo', 'serverVersion' => '8.0')) (vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29) at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(array('charset' => 'utf8mb4', 'driver' => 'pdo_mysql', 'host' => 'database', 'port' => 3306, 'user' => 'root', 'password' => 'password', 'driverOptions' => array(), 'defaultTableOptions' => array('charset' => 'utf8mb4', 'collate' => 'utf8mb4_unicode_ci'), 'dbname' => 'dedalo', 'serverVersion' => '8.0')) (vendor/symfony/doctrine-bridge/Middleware/Debug/Driver.php:41) at Symfony\Bridge\Doctrine\Middleware\Debug\Driver->connect(array('charset' => 'utf8mb4', 'driver' => 'pdo_mysql', 'host' => 'database', 'port' => 3306, 'user' => 'root', 'password' => 'password', 'driverOptions' => array(), 'defaultTableOptions' => array('charset' => 'utf8mb4', 'collate' => 'utf8mb4_unicode_ci'), 'dbname' => 'dedalo', 'serverVersion' => '8.0')) (vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29) at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(array('charset' => 'utf8mb4', 'driver' => 'pdo_mysql', 'host' => 'database', 'port' => 3306, 'user' => 'root', 'password' => 'password', 'driverOptions' => array(), 'defaultTableOptions' => array('charset' => 'utf8mb4', 'collate' => 'utf8mb4_unicode_ci'), 'dbname' => 'dedalo', 'serverVersion' => '8.0')) (vendor/sentry/sentry-symfony/src/Tracing/Doctrine/DBAL/TracingDriverForV3.php:47) at Sentry\SentryBundle\Tracing\Doctrine\DBAL\TracingDriverForV3->connect(array('charset' => 'utf8mb4', 'driver' => 'pdo_mysql', 'host' => 'database', 'port' => 3306, 'user' => 'root', 'password' => 'password', 'driverOptions' => array(), 'defaultTableOptions' => array('charset' => 'utf8mb4', 'collate' => 'utf8mb4_unicode_ci'), 'dbname' => 'dedalo', 'serverVersion' => '8.0')) (vendor/doctrine/dbal/src/Connection.php:378) at Doctrine\DBAL\Connection->connect() (vendor/doctrine/dbal/src/Connection.php:1655) at Doctrine\DBAL\Connection->getWrappedConnection() (vendor/doctrine/dbal/src/Connection.php:1082) at Doctrine\DBAL\Connection->executeQuery('SELECT t0.id AS id_1, t0.name AS name_2, t0.domain AS domain_3, t0.hash AS hash_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.user_id AS user_id_7 FROM report t0 WHERE t0.user_id IS NULL AND t0.domain = ? LIMIT 1', array('facebook.com'), array('string')) (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:776) at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load(array('user' => null, 'domain' => 'facebook.com'), null, null, array(), null, 1, null) (vendor/doctrine/orm/src/EntityRepository.php:241) at Doctrine\ORM\EntityRepository->findOneBy(array('user' => null, 'domain' => 'facebook.com')) (src/Controller/External/WebImpactCalculatorController.php:60) at App\Controller\External\WebImpactCalculatorController->new(object(Request), object(EntityManager_9a5be93), object(TraceableMessageBus)) (vendor/symfony/http-kernel/HttpKernel.php:163) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (vendor/symfony/http-kernel/HttpKernel.php:75) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true) (vendor/symfony/http-kernel/Kernel.php:202) at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35) at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run() (vendor/autoload_runtime.php:35) at require_once('/var/www/dedalo/vendor/autoload_runtime.php') (public/index.php:5) |
[2/4]
PDOException
|
---|
PDOException: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for database failed: Name or service not known at vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:34 at PDO->__construct('mysql:host=database;port=3306;dbname=dedalo;charset=utf8mb4;', 'root', 'password', array()) (vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:34) at Doctrine\DBAL\Driver\PDO\MySQL\Driver->connect(array('charset' => 'utf8mb4', 'driver' => 'pdo_mysql', 'host' => 'database', 'port' => 3306, 'user' => 'root', 'password' => 'password', 'driverOptions' => array(), 'defaultTableOptions' => array('charset' => 'utf8mb4', 'collate' => 'utf8mb4_unicode_ci'), 'dbname' => 'dedalo', 'serverVersion' => '8.0')) (vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29) at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(array('charset' => 'utf8mb4', 'driver' => 'pdo_mysql', 'host' => 'database', 'port' => 3306, 'user' => 'root', 'password' => 'password', 'driverOptions' => array(), 'defaultTableOptions' => array('charset' => 'utf8mb4', 'collate' => 'utf8mb4_unicode_ci'), 'dbname' => 'dedalo', 'serverVersion' => '8.0')) (vendor/doctrine/dbal/src/Logging/Driver.php:34) at Doctrine\DBAL\Logging\Driver->connect(array('charset' => 'utf8mb4', 'driver' => 'pdo_mysql', 'host' => 'database', 'port' => 3306, 'user' => 'root', 'password' => 'password', 'driverOptions' => array(), 'defaultTableOptions' => array('charset' => 'utf8mb4', 'collate' => 'utf8mb4_unicode_ci'), 'dbname' => 'dedalo', 'serverVersion' => '8.0')) (vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29) at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(array('charset' => 'utf8mb4', 'driver' => 'pdo_mysql', 'host' => 'database', 'port' => 3306, 'user' => 'root', 'password' => 'password', 'driverOptions' => array(), 'defaultTableOptions' => array('charset' => 'utf8mb4', 'collate' => 'utf8mb4_unicode_ci'), 'dbname' => 'dedalo', 'serverVersion' => '8.0')) (vendor/symfony/doctrine-bridge/Middleware/Debug/Driver.php:41) at Symfony\Bridge\Doctrine\Middleware\Debug\Driver->connect(array('charset' => 'utf8mb4', 'driver' => 'pdo_mysql', 'host' => 'database', 'port' => 3306, 'user' => 'root', 'password' => 'password', 'driverOptions' => array(), 'defaultTableOptions' => array('charset' => 'utf8mb4', 'collate' => 'utf8mb4_unicode_ci'), 'dbname' => 'dedalo', 'serverVersion' => '8.0')) (vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29) at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(array('charset' => 'utf8mb4', 'driver' => 'pdo_mysql', 'host' => 'database', 'port' => 3306, 'user' => 'root', 'password' => 'password', 'driverOptions' => array(), 'defaultTableOptions' => array('charset' => 'utf8mb4', 'collate' => 'utf8mb4_unicode_ci'), 'dbname' => 'dedalo', 'serverVersion' => '8.0')) (vendor/sentry/sentry-symfony/src/Tracing/Doctrine/DBAL/TracingDriverForV3.php:47) at Sentry\SentryBundle\Tracing\Doctrine\DBAL\TracingDriverForV3->connect(array('charset' => 'utf8mb4', 'driver' => 'pdo_mysql', 'host' => 'database', 'port' => 3306, 'user' => 'root', 'password' => 'password', 'driverOptions' => array(), 'defaultTableOptions' => array('charset' => 'utf8mb4', 'collate' => 'utf8mb4_unicode_ci'), 'dbname' => 'dedalo', 'serverVersion' => '8.0')) (vendor/doctrine/dbal/src/Connection.php:378) at Doctrine\DBAL\Connection->connect() (vendor/doctrine/dbal/src/Connection.php:1655) at Doctrine\DBAL\Connection->getWrappedConnection() (vendor/doctrine/dbal/src/Connection.php:1082) at Doctrine\DBAL\Connection->executeQuery('SELECT t0.id AS id_1, t0.name AS name_2, t0.domain AS domain_3, t0.hash AS hash_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.user_id AS user_id_7 FROM report t0 WHERE t0.user_id IS NULL AND t0.domain = ? LIMIT 1', array('facebook.com'), array('string')) (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:776) at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load(array('user' => null, 'domain' => 'facebook.com'), null, null, array(), null, 1, null) (vendor/doctrine/orm/src/EntityRepository.php:241) at Doctrine\ORM\EntityRepository->findOneBy(array('user' => null, 'domain' => 'facebook.com')) (src/Controller/External/WebImpactCalculatorController.php:60) at App\Controller\External\WebImpactCalculatorController->new(object(Request), object(EntityManager_9a5be93), object(TraceableMessageBus)) (vendor/symfony/http-kernel/HttpKernel.php:163) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (vendor/symfony/http-kernel/HttpKernel.php:75) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true) (vendor/symfony/http-kernel/Kernel.php:202) at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35) at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run() (vendor/autoload_runtime.php:35) at require_once('/var/www/dedalo/vendor/autoload_runtime.php') (public/index.php:5) |
[1/4]
PDOException
|
---|
PDOException: PDO::__construct(): php_network_getaddresses: getaddrinfo for database failed: Name or service not known at vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:34 at PDO->__construct('mysql:host=database;port=3306;dbname=dedalo;charset=utf8mb4;', 'root', 'password', array()) (vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:34) at Doctrine\DBAL\Driver\PDO\MySQL\Driver->connect(array('charset' => 'utf8mb4', 'driver' => 'pdo_mysql', 'host' => 'database', 'port' => 3306, 'user' => 'root', 'password' => 'password', 'driverOptions' => array(), 'defaultTableOptions' => array('charset' => 'utf8mb4', 'collate' => 'utf8mb4_unicode_ci'), 'dbname' => 'dedalo', 'serverVersion' => '8.0')) (vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29) at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(array('charset' => 'utf8mb4', 'driver' => 'pdo_mysql', 'host' => 'database', 'port' => 3306, 'user' => 'root', 'password' => 'password', 'driverOptions' => array(), 'defaultTableOptions' => array('charset' => 'utf8mb4', 'collate' => 'utf8mb4_unicode_ci'), 'dbname' => 'dedalo', 'serverVersion' => '8.0')) (vendor/doctrine/dbal/src/Logging/Driver.php:34) at Doctrine\DBAL\Logging\Driver->connect(array('charset' => 'utf8mb4', 'driver' => 'pdo_mysql', 'host' => 'database', 'port' => 3306, 'user' => 'root', 'password' => 'password', 'driverOptions' => array(), 'defaultTableOptions' => array('charset' => 'utf8mb4', 'collate' => 'utf8mb4_unicode_ci'), 'dbname' => 'dedalo', 'serverVersion' => '8.0')) (vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29) at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(array('charset' => 'utf8mb4', 'driver' => 'pdo_mysql', 'host' => 'database', 'port' => 3306, 'user' => 'root', 'password' => 'password', 'driverOptions' => array(), 'defaultTableOptions' => array('charset' => 'utf8mb4', 'collate' => 'utf8mb4_unicode_ci'), 'dbname' => 'dedalo', 'serverVersion' => '8.0')) (vendor/symfony/doctrine-bridge/Middleware/Debug/Driver.php:41) at Symfony\Bridge\Doctrine\Middleware\Debug\Driver->connect(array('charset' => 'utf8mb4', 'driver' => 'pdo_mysql', 'host' => 'database', 'port' => 3306, 'user' => 'root', 'password' => 'password', 'driverOptions' => array(), 'defaultTableOptions' => array('charset' => 'utf8mb4', 'collate' => 'utf8mb4_unicode_ci'), 'dbname' => 'dedalo', 'serverVersion' => '8.0')) (vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29) at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(array('charset' => 'utf8mb4', 'driver' => 'pdo_mysql', 'host' => 'database', 'port' => 3306, 'user' => 'root', 'password' => 'password', 'driverOptions' => array(), 'defaultTableOptions' => array('charset' => 'utf8mb4', 'collate' => 'utf8mb4_unicode_ci'), 'dbname' => 'dedalo', 'serverVersion' => '8.0')) (vendor/sentry/sentry-symfony/src/Tracing/Doctrine/DBAL/TracingDriverForV3.php:47) at Sentry\SentryBundle\Tracing\Doctrine\DBAL\TracingDriverForV3->connect(array('charset' => 'utf8mb4', 'driver' => 'pdo_mysql', 'host' => 'database', 'port' => 3306, 'user' => 'root', 'password' => 'password', 'driverOptions' => array(), 'defaultTableOptions' => array('charset' => 'utf8mb4', 'collate' => 'utf8mb4_unicode_ci'), 'dbname' => 'dedalo', 'serverVersion' => '8.0')) (vendor/doctrine/dbal/src/Connection.php:378) at Doctrine\DBAL\Connection->connect() (vendor/doctrine/dbal/src/Connection.php:1655) at Doctrine\DBAL\Connection->getWrappedConnection() (vendor/doctrine/dbal/src/Connection.php:1082) at Doctrine\DBAL\Connection->executeQuery('SELECT t0.id AS id_1, t0.name AS name_2, t0.domain AS domain_3, t0.hash AS hash_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.user_id AS user_id_7 FROM report t0 WHERE t0.user_id IS NULL AND t0.domain = ? LIMIT 1', array('facebook.com'), array('string')) (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:776) at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load(array('user' => null, 'domain' => 'facebook.com'), null, null, array(), null, 1, null) (vendor/doctrine/orm/src/EntityRepository.php:241) at Doctrine\ORM\EntityRepository->findOneBy(array('user' => null, 'domain' => 'facebook.com')) (src/Controller/External/WebImpactCalculatorController.php:60) at App\Controller\External\WebImpactCalculatorController->new(object(Request), object(EntityManager_9a5be93), object(TraceableMessageBus)) (vendor/symfony/http-kernel/HttpKernel.php:163) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (vendor/symfony/http-kernel/HttpKernel.php:75) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true) (vendor/symfony/http-kernel/Kernel.php:202) at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35) at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run() (vendor/autoload_runtime.php:35) at require_once('/var/www/dedalo/vendor/autoload_runtime.php') (public/index.php:5) |