Leave your details below and one of our representatives will be back to you shorty
Fehler: Kontaktformular wurde nicht gefunden.
case 1370:
case 1429:
case 2002:
case 2005:
case 2054:
return new ConnectionException($exception, $query);
case 2006:
return new ConnectionLost($exception, $query);
case 1048:
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();
}
}
/** @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
}
try {
$this->_conn = $this->_driver->connect($this->params);
} catch (Driver\Exception $e) {
throw $this->convertException($e);
}
if ($this->autoCommit === false) {
$this->beginTransaction();
}
'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 */
*
* @throws Exception
*/
public function beginTransaction()
{
$connection = $this->getWrappedConnection();
++$this->transactionNestingLevel;
$logger = $this->_config->getSQLLogger();
// Now we need a commit order to maintain referential integrity
$commitOrder = $this->getCommitOrder();
$conn = $this->em->getConnection();
$conn->beginTransaction();
try {
// Collection deletions (deletions of complete collections)
foreach ($this->collectionDeletions as $collectionToDelete) {
// Deferred explicit tracked collections can be removed only when owning relation was persisted
);
}
$this->errorIfClosed();
$this->unitOfWork->commit($entity);
}
/**
* Finds an Entity by its identifier.
*
public function flush($entity = null)
{
$this->initializer010ab && ($this->initializer010ab->__invoke($valueHoldera79c3, $this, 'flush', array('entity' => $entity), $this->initializer010ab) || 1) && $this->valueHoldera79c3 = $valueHoldera79c3;
return $this->valueHoldera79c3->flush($entity);
}
public function find($className, $id, $lockMode = null, $lockVersion = null)
{
$this->initializer010ab && ($this->initializer010ab->__invoke($valueHoldera79c3, $this, 'find', array('className' => $className, 'id' => $id, 'lockMode' => $lockMode, 'lockVersion' => $lockVersion), $this->initializer010ab) || 1) && $this->valueHoldera79c3 = $valueHoldera79c3;
$logEntry->setUserId(($this->user==null ? -1 : $this->user));
$logEntry->setEnv($this->env);
$logEntry->setAction(substr($_SERVER['REQUEST_URI']??'', 0, 999));
$logEntry->setIp($ipAddress);
$this->em->persist($logEntry);
$this->em->flush();
}
}
private function initialize(){
$this->initialized = true;
$record = $this->processRecord($record);
}
$record['formatted'] = $this->getFormatter()->format($record);
$this->write($record);
return false === $this->bubble;
}
/**
}
}
// once the record exists, send it to all handlers as long as the bubbling chain is not interrupted
try {
if (true === $handler->handle($record)) {
break;
}
} catch (Throwable $e) {
$this->handleException($e, $record);
* @param string|Stringable $message The log message
* @param mixed[] $context The log context
*/
public function critical($message, array $context = []): void
{
$this->addRecord(static::CRITICAL, (string) $message, $context);
}
/**
* Adds a log record at the ALERT level.
*
{
if (null !== $this->logger) {
if (null !== $logLevel) {
$this->logger->log($logLevel, $message, ['exception' => $exception]);
} elseif (!$exception instanceof HttpExceptionInterface || $exception->getStatusCode() >= 500) {
$this->logger->critical($message, ['exception' => $exception]);
} else {
$this->logger->error($message, ['exception' => $exception]);
}
}
}
break;
}
$e = FlattenException::createFromThrowable($throwable);
$this->logException($throwable, sprintf('Uncaught PHP Exception %s: "%s" at %s line %s', $e->getClass(), $e->getMessage(), $e->getFile(), $e->getLine()), $logLevel);
}
public function onKernelException(ExceptionEvent $event)
{
if (null === $this->controller) {
$this->priority = $dispatcher->getListenerPriority($eventName, $this->listener);
$e = $this->stopwatch->start($this->name, 'event_listener');
try {
($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
} finally {
if ($e->isStarted()) {
$e->stop();
}
}
foreach ($listeners as $listener) {
if ($stoppable && $event->isPropagationStopped()) {
break;
}
$listener($event, $eventName, $this);
}
}
/**
* Sorts the internal list of listeners for the given event by priority.
} else {
$listeners = $this->getListeners($eventName);
}
if ($listeners) {
$this->callListeners($listeners, $eventName, $event);
}
return $event;
}
try {
$this->beforeDispatch($eventName, $event);
try {
$e = $this->stopwatch->start($eventName, 'section');
try {
$this->dispatcher->dispatch($event, $eventName);
} finally {
if ($e->isStarted()) {
$e->stop();
}
}
* @throws \Exception
*/
private function handleThrowable(\Throwable $e, Request $request, int $type): Response
{
$event = new ExceptionEvent($this, $request, $type, $e);
$this->dispatcher->dispatch($event, KernelEvents::EXCEPTION);
// a listener might have replaced the exception
$e = $event->getThrowable();
if (!$event->hasResponse()) {
if ($pop = $request !== $this->requestStack->getMainRequest()) {
$this->requestStack->push($request);
}
try {
$response = $this->handleThrowable($exception, $request, self::MAIN_REQUEST);
} finally {
if ($pop) {
$this->requestStack->pop();
}
}
if ($hasRun) {
throw $e;
}
$hasRun = true;
$kernel->terminateWithException($e, $request);
};
}
} elseif ($event instanceof ConsoleEvent && $app = $event->getCommand()->getApplication()) {
$output = $event->getOutput();
if ($output instanceof ConsoleOutputInterface) {
$this->exceptionHandler = null;
}
try {
if (null !== $exceptionHandler) {
return $exceptionHandler($exception);
}
$handlerException = $handlerException ?: $exception;
} catch (\Throwable $handlerException) {
}
if ($exception === $handlerException && null === $this->exceptionHandler) {
} else {
$code = $exception->getCode();
$sqlState = null;
}
return new self($exception->getMessage(), $sqlState, $code, $exception);
}
}
$params['user'] ?? '',
$params['password'] ?? '',
$driverOptions,
);
} catch (PDOException $exception) {
throw Exception::new($exception);
}
return new Connection($pdo);
}
*/
public function connect(
#[SensitiveParameter]
array $params
) {
return $this->wrappedDriver->connect($params);
}
/**
* {@inheritDoc}
*/
array $params
) {
$this->logger->info('Connecting with parameters {params}', ['params' => $this->maskPassword($params)]);
return new Connection(
parent::connect($params),
$this->logger,
);
}
/**
*/
public function connect(
#[SensitiveParameter]
array $params
) {
return $this->wrappedDriver->connect($params);
}
/**
* {@inheritDoc}
*/
}
public function connect(array $params): Connection
{
return new Connection(
parent::connect($params),
$this->debugDataHolder,
$this->stopwatch,
$this->connectionName
);
}
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) {
'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 */
*
* @throws Exception
*/
public function beginTransaction()
{
$connection = $this->getWrappedConnection();
++$this->transactionNestingLevel;
$logger = $this->_config->getSQLLogger();
// Now we need a commit order to maintain referential integrity
$commitOrder = $this->getCommitOrder();
$conn = $this->em->getConnection();
$conn->beginTransaction();
try {
// Collection deletions (deletions of complete collections)
foreach ($this->collectionDeletions as $collectionToDelete) {
// Deferred explicit tracked collections can be removed only when owning relation was persisted
);
}
$this->errorIfClosed();
$this->unitOfWork->commit($entity);
}
/**
* Finds an Entity by its identifier.
*
public function flush($entity = null)
{
$this->initializer010ab && ($this->initializer010ab->__invoke($valueHoldera79c3, $this, 'flush', array('entity' => $entity), $this->initializer010ab) || 1) && $this->valueHoldera79c3 = $valueHoldera79c3;
return $this->valueHoldera79c3->flush($entity);
}
public function find($className, $id, $lockMode = null, $lockVersion = null)
{
$this->initializer010ab && ($this->initializer010ab->__invoke($valueHoldera79c3, $this, 'find', array('className' => $className, 'id' => $id, 'lockMode' => $lockMode, 'lockVersion' => $lockVersion), $this->initializer010ab) || 1) && $this->valueHoldera79c3 = $valueHoldera79c3;
$logEntry->setUserId(($this->user==null ? -1 : $this->user));
$logEntry->setEnv($this->env);
$logEntry->setAction(substr($_SERVER['REQUEST_URI']??'', 0, 999));
$logEntry->setIp($ipAddress);
$this->em->persist($logEntry);
$this->em->flush();
}
}
private function initialize(){
$this->initialized = true;
$record = $this->processRecord($record);
}
$record['formatted'] = $this->getFormatter()->format($record);
$this->write($record);
return false === $this->bubble;
}
/**
}
}
// once the record exists, send it to all handlers as long as the bubbling chain is not interrupted
try {
if (true === $handler->handle($record)) {
break;
}
} catch (Throwable $e) {
$this->handleException($e, $record);
* @param string|Stringable $message The log message
* @param mixed[] $context The log context
*/
public function critical($message, array $context = []): void
{
$this->addRecord(static::CRITICAL, (string) $message, $context);
}
/**
* Adds a log record at the ALERT level.
*
{
if (null !== $this->logger) {
if (null !== $logLevel) {
$this->logger->log($logLevel, $message, ['exception' => $exception]);
} elseif (!$exception instanceof HttpExceptionInterface || $exception->getStatusCode() >= 500) {
$this->logger->critical($message, ['exception' => $exception]);
} else {
$this->logger->error($message, ['exception' => $exception]);
}
}
}
break;
}
$e = FlattenException::createFromThrowable($throwable);
$this->logException($throwable, sprintf('Uncaught PHP Exception %s: "%s" at %s line %s', $e->getClass(), $e->getMessage(), $e->getFile(), $e->getLine()), $logLevel);
}
public function onKernelException(ExceptionEvent $event)
{
if (null === $this->controller) {
$this->priority = $dispatcher->getListenerPriority($eventName, $this->listener);
$e = $this->stopwatch->start($this->name, 'event_listener');
try {
($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
} finally {
if ($e->isStarted()) {
$e->stop();
}
}
foreach ($listeners as $listener) {
if ($stoppable && $event->isPropagationStopped()) {
break;
}
$listener($event, $eventName, $this);
}
}
/**
* Sorts the internal list of listeners for the given event by priority.
} else {
$listeners = $this->getListeners($eventName);
}
if ($listeners) {
$this->callListeners($listeners, $eventName, $event);
}
return $event;
}
try {
$this->beforeDispatch($eventName, $event);
try {
$e = $this->stopwatch->start($eventName, 'section');
try {
$this->dispatcher->dispatch($event, $eventName);
} finally {
if ($e->isStarted()) {
$e->stop();
}
}
* @throws \Exception
*/
private function handleThrowable(\Throwable $e, Request $request, int $type): Response
{
$event = new ExceptionEvent($this, $request, $type, $e);
$this->dispatcher->dispatch($event, KernelEvents::EXCEPTION);
// a listener might have replaced the exception
$e = $event->getThrowable();
if (!$event->hasResponse()) {
if ($pop = $request !== $this->requestStack->getMainRequest()) {
$this->requestStack->push($request);
}
try {
$response = $this->handleThrowable($exception, $request, self::MAIN_REQUEST);
} finally {
if ($pop) {
$this->requestStack->pop();
}
}
if ($hasRun) {
throw $e;
}
$hasRun = true;
$kernel->terminateWithException($e, $request);
};
}
} elseif ($event instanceof ConsoleEvent && $app = $event->getCommand()->getApplication()) {
$output = $event->getOutput();
if ($output instanceof ConsoleOutputInterface) {
$this->exceptionHandler = null;
}
try {
if (null !== $exceptionHandler) {
return $exceptionHandler($exception);
}
$handlerException = $handlerException ?: $exception;
} catch (\Throwable $handlerException) {
}
if ($exception === $handlerException && null === $this->exceptionHandler) {
$safeParams = $params;
unset($safeParams['password'], $safeParams['url']);
try {
$pdo = new PDO(
$this->constructPdoDsn($safeParams),
$params['user'] ?? '',
$params['password'] ?? '',
$driverOptions,
);
$safeParams = $params;
unset($safeParams['password'], $safeParams['url']);
try {
$pdo = new PDO(
$this->constructPdoDsn($safeParams),
$params['user'] ?? '',
$params['password'] ?? '',
$driverOptions,
);
*/
public function connect(
#[SensitiveParameter]
array $params
) {
return $this->wrappedDriver->connect($params);
}
/**
* {@inheritDoc}
*/
array $params
) {
$this->logger->info('Connecting with parameters {params}', ['params' => $this->maskPassword($params)]);
return new Connection(
parent::connect($params),
$this->logger,
);
}
/**
*/
public function connect(
#[SensitiveParameter]
array $params
) {
return $this->wrappedDriver->connect($params);
}
/**
* {@inheritDoc}
*/
}
public function connect(array $params): Connection
{
return new Connection(
parent::connect($params),
$this->debugDataHolder,
$this->stopwatch,
$this->connectionName
);
}
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) {
'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 */
*
* @throws Exception
*/
public function beginTransaction()
{
$connection = $this->getWrappedConnection();
++$this->transactionNestingLevel;
$logger = $this->_config->getSQLLogger();
// Now we need a commit order to maintain referential integrity
$commitOrder = $this->getCommitOrder();
$conn = $this->em->getConnection();
$conn->beginTransaction();
try {
// Collection deletions (deletions of complete collections)
foreach ($this->collectionDeletions as $collectionToDelete) {
// Deferred explicit tracked collections can be removed only when owning relation was persisted
);
}
$this->errorIfClosed();
$this->unitOfWork->commit($entity);
}
/**
* Finds an Entity by its identifier.
*
public function flush($entity = null)
{
$this->initializer010ab && ($this->initializer010ab->__invoke($valueHoldera79c3, $this, 'flush', array('entity' => $entity), $this->initializer010ab) || 1) && $this->valueHoldera79c3 = $valueHoldera79c3;
return $this->valueHoldera79c3->flush($entity);
}
public function find($className, $id, $lockMode = null, $lockVersion = null)
{
$this->initializer010ab && ($this->initializer010ab->__invoke($valueHoldera79c3, $this, 'find', array('className' => $className, 'id' => $id, 'lockMode' => $lockMode, 'lockVersion' => $lockVersion), $this->initializer010ab) || 1) && $this->valueHoldera79c3 = $valueHoldera79c3;
$logEntry->setUserId(($this->user==null ? -1 : $this->user));
$logEntry->setEnv($this->env);
$logEntry->setAction(substr($_SERVER['REQUEST_URI']??'', 0, 999));
$logEntry->setIp($ipAddress);
$this->em->persist($logEntry);
$this->em->flush();
}
}
private function initialize(){
$this->initialized = true;
$record = $this->processRecord($record);
}
$record['formatted'] = $this->getFormatter()->format($record);
$this->write($record);
return false === $this->bubble;
}
/**
}
}
// once the record exists, send it to all handlers as long as the bubbling chain is not interrupted
try {
if (true === $handler->handle($record)) {
break;
}
} catch (Throwable $e) {
$this->handleException($e, $record);
* @param string|Stringable $message The log message
* @param mixed[] $context The log context
*/
public function critical($message, array $context = []): void
{
$this->addRecord(static::CRITICAL, (string) $message, $context);
}
/**
* Adds a log record at the ALERT level.
*
{
if (null !== $this->logger) {
if (null !== $logLevel) {
$this->logger->log($logLevel, $message, ['exception' => $exception]);
} elseif (!$exception instanceof HttpExceptionInterface || $exception->getStatusCode() >= 500) {
$this->logger->critical($message, ['exception' => $exception]);
} else {
$this->logger->error($message, ['exception' => $exception]);
}
}
}
break;
}
$e = FlattenException::createFromThrowable($throwable);
$this->logException($throwable, sprintf('Uncaught PHP Exception %s: "%s" at %s line %s', $e->getClass(), $e->getMessage(), $e->getFile(), $e->getLine()), $logLevel);
}
public function onKernelException(ExceptionEvent $event)
{
if (null === $this->controller) {
$this->priority = $dispatcher->getListenerPriority($eventName, $this->listener);
$e = $this->stopwatch->start($this->name, 'event_listener');
try {
($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
} finally {
if ($e->isStarted()) {
$e->stop();
}
}
foreach ($listeners as $listener) {
if ($stoppable && $event->isPropagationStopped()) {
break;
}
$listener($event, $eventName, $this);
}
}
/**
* Sorts the internal list of listeners for the given event by priority.
} else {
$listeners = $this->getListeners($eventName);
}
if ($listeners) {
$this->callListeners($listeners, $eventName, $event);
}
return $event;
}
try {
$this->beforeDispatch($eventName, $event);
try {
$e = $this->stopwatch->start($eventName, 'section');
try {
$this->dispatcher->dispatch($event, $eventName);
} finally {
if ($e->isStarted()) {
$e->stop();
}
}
* @throws \Exception
*/
private function handleThrowable(\Throwable $e, Request $request, int $type): Response
{
$event = new ExceptionEvent($this, $request, $type, $e);
$this->dispatcher->dispatch($event, KernelEvents::EXCEPTION);
// a listener might have replaced the exception
$e = $event->getThrowable();
if (!$event->hasResponse()) {
if ($pop = $request !== $this->requestStack->getMainRequest()) {
$this->requestStack->push($request);
}
try {
$response = $this->handleThrowable($exception, $request, self::MAIN_REQUEST);
} finally {
if ($pop) {
$this->requestStack->pop();
}
}
if ($hasRun) {
throw $e;
}
$hasRun = true;
$kernel->terminateWithException($e, $request);
};
}
} elseif ($event instanceof ConsoleEvent && $app = $event->getCommand()->getApplication()) {
$output = $event->getOutput();
if ($output instanceof ConsoleOutputInterface) {
$this->exceptionHandler = null;
}
try {
if (null !== $exceptionHandler) {
return $exceptionHandler($exception);
}
$handlerException = $handlerException ?: $exception;
} catch (\Throwable $handlerException) {
}
if ($exception === $handlerException && null === $this->exceptionHandler) {
[3/3]
ConnectionException
|
---|
Doctrine\DBAL\Exception\ConnectionException: An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:101 at Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert(object(Exception), null) (/home/demo/public_html/vendor/doctrine/dbal/src/Connection.php:1935) at Doctrine\DBAL\Connection->handleDriverException(object(Exception), null) (/home/demo/public_html/vendor/doctrine/dbal/src/Connection.php:1884) at Doctrine\DBAL\Connection->convertException(object(Exception)) (/home/demo/public_html/vendor/doctrine/dbal/src/Connection.php:377) at Doctrine\DBAL\Connection->connect() (/home/demo/public_html/vendor/doctrine/dbal/src/Connection.php:1652) at Doctrine\DBAL\Connection->getWrappedConnection() (/home/demo/public_html/vendor/doctrine/dbal/src/Connection.php:1347) at Doctrine\DBAL\Connection->beginTransaction() (/home/demo/public_html/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:415) at Doctrine\ORM\UnitOfWork->commit(null) (/home/demo/public_html/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403) at Doctrine\ORM\EntityManager->flush(null) (/home/demo/public_html/var/cache/dev/ContainerWOUvRuq/EntityManager_9a5be93.php:136) at ContainerWOUvRuq\EntityManager_9a5be93->flush() (/home/demo/public_html/src/Service/System/MonologDBHandler.php:186) at App\Service\System\MonologDBHandler->write(array('message' => 'Uncaught PHP Exception Doctrine\\DBAL\\Exception\\ConnectionException: "An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused" at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 101', 'context' => array('exception' => object(ConnectionException)), 'level' => 500, 'level_name' => 'CRITICAL', 'channel' => 'request', 'datetime' => object(DateTimeImmutable), 'extra' => array(), 'formatted' => '[2024-11-21T08:45:04.581399+00:00] request.CRITICAL: Uncaught PHP Exception Doctrine\\DBAL\\Exception\\ConnectionException: "An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused" at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 101 {"exception":"[object] (Doctrine\\\\DBAL\\\\Exception\\\\ConnectionException(code: 2002): An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:101)\\n[previous exception] [object] (Doctrine\\\\DBAL\\\\Driver\\\\PDO\\\\Exception(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28)\\n[previous exception] [object] (PDOException(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:33)"} []')) (/home/demo/public_html/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:48) at Monolog\Handler\AbstractProcessingHandler->handle(array('message' => 'Uncaught PHP Exception Doctrine\\DBAL\\Exception\\ConnectionException: "An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused" at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 101', 'context' => array('exception' => object(ConnectionException)), 'level' => 500, 'level_name' => 'CRITICAL', 'channel' => 'request', 'datetime' => object(DateTimeImmutable), 'extra' => array(), 'formatted' => '[2024-11-21T08:45:04.581399+00:00] request.CRITICAL: Uncaught PHP Exception Doctrine\\DBAL\\Exception\\ConnectionException: "An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused" at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 101 {"exception":"[object] (Doctrine\\\\DBAL\\\\Exception\\\\ConnectionException(code: 2002): An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:101)\\n[previous exception] [object] (Doctrine\\\\DBAL\\\\Driver\\\\PDO\\\\Exception(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28)\\n[previous exception] [object] (PDOException(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:33)"} []')) (/home/demo/public_html/vendor/monolog/monolog/src/Monolog/Logger.php:399) at Monolog\Logger->addRecord(500, 'Uncaught PHP Exception Doctrine\\DBAL\\Exception\\ConnectionException: "An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused" at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 101', array('exception' => object(ConnectionException))) (/home/demo/public_html/vendor/monolog/monolog/src/Monolog/Logger.php:663) at Monolog\Logger->critical('Uncaught PHP Exception Doctrine\\DBAL\\Exception\\ConnectionException: "An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused" at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 101', array('exception' => object(ConnectionException))) (/home/demo/public_html/vendor/symfony/http-kernel/EventListener/ErrorListener.php:164) at Symfony\Component\HttpKernel\EventListener\ErrorListener->logException(object(ConnectionException), 'Uncaught PHP Exception Doctrine\\DBAL\\Exception\\ConnectionException: "An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused" at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 101', null) (/home/demo/public_html/vendor/symfony/http-kernel/EventListener/ErrorListener.php:78) at Symfony\Component\HttpKernel\EventListener\ErrorListener->logKernelException(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher)) (/home/demo/public_html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:118) at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher)) (/home/demo/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:230) at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.exception', object(ExceptionEvent)) (/home/demo/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:59) at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception') (/home/demo/public_html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception') (/home/demo/public_html/vendor/symfony/http-kernel/HttpKernel.php:223) at Symfony\Component\HttpKernel\HttpKernel->handleThrowable(object(ConnectionException), object(Request), 1) (/home/demo/public_html/vendor/symfony/http-kernel/HttpKernel.php:114) at Symfony\Component\HttpKernel\HttpKernel->terminateWithException(object(ConnectionException), object(Request)) (/home/demo/public_html/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php:131) at Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::Symfony\Component\HttpKernel\EventListener\{closure}(object(ConnectionException)) (/home/demo/public_html/vendor/symfony/error-handler/ErrorHandler.php:607) at Symfony\Component\ErrorHandler\ErrorHandler->handleException(object(ConnectionException)) |
[2/3]
Exception
|
---|
Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[HY000] [2002] Connection refused at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28 at Doctrine\DBAL\Driver\PDO\Exception::new(object(PDOException)) (/home/demo/public_html/vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:40) at Doctrine\DBAL\Driver\PDO\MySQL\Driver->connect(object(SensitiveParameterValue)) (/home/demo/public_html/vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29) at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(object(SensitiveParameterValue)) (/home/demo/public_html/vendor/doctrine/dbal/src/Logging/Driver.php:34) at Doctrine\DBAL\Logging\Driver->connect(object(SensitiveParameterValue)) (/home/demo/public_html/vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29) at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(object(SensitiveParameterValue)) (/home/demo/public_html/vendor/symfony/doctrine-bridge/Middleware/Debug/Driver.php:41) at Symfony\Bridge\Doctrine\Middleware\Debug\Driver->connect(array('driver' => 'pdo_mysql', 'host' => '127.0.0.1', 'port' => 3306, 'user' => 'demo_user', 'password' => '(-ab77~FTJMc', 'driverOptions' => array(), 'defaultTableOptions' => array(), 'dbname' => 'demo_backoffice', 'serverVersion' => '5.7', 'charset' => 'utf8mb4')) (/home/demo/public_html/vendor/doctrine/dbal/src/Connection.php:375) at Doctrine\DBAL\Connection->connect() (/home/demo/public_html/vendor/doctrine/dbal/src/Connection.php:1652) at Doctrine\DBAL\Connection->getWrappedConnection() (/home/demo/public_html/vendor/doctrine/dbal/src/Connection.php:1347) at Doctrine\DBAL\Connection->beginTransaction() (/home/demo/public_html/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:415) at Doctrine\ORM\UnitOfWork->commit(null) (/home/demo/public_html/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403) at Doctrine\ORM\EntityManager->flush(null) (/home/demo/public_html/var/cache/dev/ContainerWOUvRuq/EntityManager_9a5be93.php:136) at ContainerWOUvRuq\EntityManager_9a5be93->flush() (/home/demo/public_html/src/Service/System/MonologDBHandler.php:186) at App\Service\System\MonologDBHandler->write(array('message' => 'Uncaught PHP Exception Doctrine\\DBAL\\Exception\\ConnectionException: "An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused" at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 101', 'context' => array('exception' => object(ConnectionException)), 'level' => 500, 'level_name' => 'CRITICAL', 'channel' => 'request', 'datetime' => object(DateTimeImmutable), 'extra' => array(), 'formatted' => '[2024-11-21T08:45:04.581399+00:00] request.CRITICAL: Uncaught PHP Exception Doctrine\\DBAL\\Exception\\ConnectionException: "An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused" at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 101 {"exception":"[object] (Doctrine\\\\DBAL\\\\Exception\\\\ConnectionException(code: 2002): An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:101)\\n[previous exception] [object] (Doctrine\\\\DBAL\\\\Driver\\\\PDO\\\\Exception(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28)\\n[previous exception] [object] (PDOException(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:33)"} []')) (/home/demo/public_html/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:48) at Monolog\Handler\AbstractProcessingHandler->handle(array('message' => 'Uncaught PHP Exception Doctrine\\DBAL\\Exception\\ConnectionException: "An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused" at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 101', 'context' => array('exception' => object(ConnectionException)), 'level' => 500, 'level_name' => 'CRITICAL', 'channel' => 'request', 'datetime' => object(DateTimeImmutable), 'extra' => array(), 'formatted' => '[2024-11-21T08:45:04.581399+00:00] request.CRITICAL: Uncaught PHP Exception Doctrine\\DBAL\\Exception\\ConnectionException: "An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused" at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 101 {"exception":"[object] (Doctrine\\\\DBAL\\\\Exception\\\\ConnectionException(code: 2002): An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:101)\\n[previous exception] [object] (Doctrine\\\\DBAL\\\\Driver\\\\PDO\\\\Exception(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28)\\n[previous exception] [object] (PDOException(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:33)"} []')) (/home/demo/public_html/vendor/monolog/monolog/src/Monolog/Logger.php:399) at Monolog\Logger->addRecord(500, 'Uncaught PHP Exception Doctrine\\DBAL\\Exception\\ConnectionException: "An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused" at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 101', array('exception' => object(ConnectionException))) (/home/demo/public_html/vendor/monolog/monolog/src/Monolog/Logger.php:663) at Monolog\Logger->critical('Uncaught PHP Exception Doctrine\\DBAL\\Exception\\ConnectionException: "An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused" at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 101', array('exception' => object(ConnectionException))) (/home/demo/public_html/vendor/symfony/http-kernel/EventListener/ErrorListener.php:164) at Symfony\Component\HttpKernel\EventListener\ErrorListener->logException(object(ConnectionException), 'Uncaught PHP Exception Doctrine\\DBAL\\Exception\\ConnectionException: "An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused" at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 101', null) (/home/demo/public_html/vendor/symfony/http-kernel/EventListener/ErrorListener.php:78) at Symfony\Component\HttpKernel\EventListener\ErrorListener->logKernelException(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher)) (/home/demo/public_html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:118) at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher)) (/home/demo/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:230) at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.exception', object(ExceptionEvent)) (/home/demo/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:59) at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception') (/home/demo/public_html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception') (/home/demo/public_html/vendor/symfony/http-kernel/HttpKernel.php:223) at Symfony\Component\HttpKernel\HttpKernel->handleThrowable(object(ConnectionException), object(Request), 1) (/home/demo/public_html/vendor/symfony/http-kernel/HttpKernel.php:114) at Symfony\Component\HttpKernel\HttpKernel->terminateWithException(object(ConnectionException), object(Request)) (/home/demo/public_html/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php:131) at Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::Symfony\Component\HttpKernel\EventListener\{closure}(object(ConnectionException)) (/home/demo/public_html/vendor/symfony/error-handler/ErrorHandler.php:607) at Symfony\Component\ErrorHandler\ErrorHandler->handleException(object(ConnectionException)) |
[1/3]
PDOException
|
---|
PDOException: SQLSTATE[HY000] [2002] Connection refused at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:33 at PDO->__construct('mysql:host=127.0.0.1;port=3306;dbname=demo_backoffice;charset=utf8mb4;', 'demo_user', object(SensitiveParameterValue), array()) (/home/demo/public_html/vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:33) at Doctrine\DBAL\Driver\PDO\MySQL\Driver->connect(object(SensitiveParameterValue)) (/home/demo/public_html/vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29) at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(object(SensitiveParameterValue)) (/home/demo/public_html/vendor/doctrine/dbal/src/Logging/Driver.php:34) at Doctrine\DBAL\Logging\Driver->connect(object(SensitiveParameterValue)) (/home/demo/public_html/vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:29) at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(object(SensitiveParameterValue)) (/home/demo/public_html/vendor/symfony/doctrine-bridge/Middleware/Debug/Driver.php:41) at Symfony\Bridge\Doctrine\Middleware\Debug\Driver->connect(array('driver' => 'pdo_mysql', 'host' => '127.0.0.1', 'port' => 3306, 'user' => 'demo_user', 'password' => '(-ab77~FTJMc', 'driverOptions' => array(), 'defaultTableOptions' => array(), 'dbname' => 'demo_backoffice', 'serverVersion' => '5.7', 'charset' => 'utf8mb4')) (/home/demo/public_html/vendor/doctrine/dbal/src/Connection.php:375) at Doctrine\DBAL\Connection->connect() (/home/demo/public_html/vendor/doctrine/dbal/src/Connection.php:1652) at Doctrine\DBAL\Connection->getWrappedConnection() (/home/demo/public_html/vendor/doctrine/dbal/src/Connection.php:1347) at Doctrine\DBAL\Connection->beginTransaction() (/home/demo/public_html/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:415) at Doctrine\ORM\UnitOfWork->commit(null) (/home/demo/public_html/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403) at Doctrine\ORM\EntityManager->flush(null) (/home/demo/public_html/var/cache/dev/ContainerWOUvRuq/EntityManager_9a5be93.php:136) at ContainerWOUvRuq\EntityManager_9a5be93->flush() (/home/demo/public_html/src/Service/System/MonologDBHandler.php:186) at App\Service\System\MonologDBHandler->write(array('message' => 'Uncaught PHP Exception Doctrine\\DBAL\\Exception\\ConnectionException: "An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused" at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 101', 'context' => array('exception' => object(ConnectionException)), 'level' => 500, 'level_name' => 'CRITICAL', 'channel' => 'request', 'datetime' => object(DateTimeImmutable), 'extra' => array(), 'formatted' => '[2024-11-21T08:45:04.581399+00:00] request.CRITICAL: Uncaught PHP Exception Doctrine\\DBAL\\Exception\\ConnectionException: "An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused" at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 101 {"exception":"[object] (Doctrine\\\\DBAL\\\\Exception\\\\ConnectionException(code: 2002): An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:101)\\n[previous exception] [object] (Doctrine\\\\DBAL\\\\Driver\\\\PDO\\\\Exception(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28)\\n[previous exception] [object] (PDOException(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:33)"} []')) (/home/demo/public_html/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:48) at Monolog\Handler\AbstractProcessingHandler->handle(array('message' => 'Uncaught PHP Exception Doctrine\\DBAL\\Exception\\ConnectionException: "An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused" at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 101', 'context' => array('exception' => object(ConnectionException)), 'level' => 500, 'level_name' => 'CRITICAL', 'channel' => 'request', 'datetime' => object(DateTimeImmutable), 'extra' => array(), 'formatted' => '[2024-11-21T08:45:04.581399+00:00] request.CRITICAL: Uncaught PHP Exception Doctrine\\DBAL\\Exception\\ConnectionException: "An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused" at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 101 {"exception":"[object] (Doctrine\\\\DBAL\\\\Exception\\\\ConnectionException(code: 2002): An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:101)\\n[previous exception] [object] (Doctrine\\\\DBAL\\\\Driver\\\\PDO\\\\Exception(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28)\\n[previous exception] [object] (PDOException(code: 2002): SQLSTATE[HY000] [2002] Connection refused at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:33)"} []')) (/home/demo/public_html/vendor/monolog/monolog/src/Monolog/Logger.php:399) at Monolog\Logger->addRecord(500, 'Uncaught PHP Exception Doctrine\\DBAL\\Exception\\ConnectionException: "An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused" at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 101', array('exception' => object(ConnectionException))) (/home/demo/public_html/vendor/monolog/monolog/src/Monolog/Logger.php:663) at Monolog\Logger->critical('Uncaught PHP Exception Doctrine\\DBAL\\Exception\\ConnectionException: "An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused" at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 101', array('exception' => object(ConnectionException))) (/home/demo/public_html/vendor/symfony/http-kernel/EventListener/ErrorListener.php:164) at Symfony\Component\HttpKernel\EventListener\ErrorListener->logException(object(ConnectionException), 'Uncaught PHP Exception Doctrine\\DBAL\\Exception\\ConnectionException: "An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused" at /home/demo/public_html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 101', null) (/home/demo/public_html/vendor/symfony/http-kernel/EventListener/ErrorListener.php:78) at Symfony\Component\HttpKernel\EventListener\ErrorListener->logKernelException(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher)) (/home/demo/public_html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:118) at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher)) (/home/demo/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:230) at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.exception', object(ExceptionEvent)) (/home/demo/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:59) at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception') (/home/demo/public_html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception') (/home/demo/public_html/vendor/symfony/http-kernel/HttpKernel.php:223) at Symfony\Component\HttpKernel\HttpKernel->handleThrowable(object(ConnectionException), object(Request), 1) (/home/demo/public_html/vendor/symfony/http-kernel/HttpKernel.php:114) at Symfony\Component\HttpKernel\HttpKernel->terminateWithException(object(ConnectionException), object(Request)) (/home/demo/public_html/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php:131) at Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::Symfony\Component\HttpKernel\EventListener\{closure}(object(ConnectionException)) (/home/demo/public_html/vendor/symfony/error-handler/ErrorHandler.php:607) at Symfony\Component\ErrorHandler\ErrorHandler->handleException(object(ConnectionException)) |