Exceptions
Exceptions 3
Doctrine\DBAL\Exception\ ConnectionException
Show exception properties
Doctrine\DBAL\Exception\ConnectionException {#625 -query: null }
1227,1370,1429,2002,2005,2054 => new ConnectionException($exception, $query),2006,4031 => new ConnectionLost($exception, $query),1048,1121,1138,
in
vendor/doctrine/dbal/src/Connection.php
->
convert
(line 1456)
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 1398)
}/** @internal */final public function convertException(Driver\Exception $e): DriverException{return $this->handleDriverException($e, null);}/*** @param list<mixed>|array<string, mixed> $params* @phpstan-param WrapperParameterTypeArray $types
in
vendor/doctrine/dbal/src/Connection.php
->
convertException
(line 224)
}try {$connection = $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 792)
): Result {if ($qcp !== null) {return $this->executeCacheQuery($sql, $params, $types, $qcp);}$connection = $this->connect();try {if (count($params) > 0) {[$sql, $params, $types] = $this->expandArrayParameters($sql, $params, $types);
in
vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php
->
executeQuery
(line 963)
): array {$this->switchPersisterContext($offset, $limit);$sql = $this->getSelectSQL($criteria, null, null, $limit, $offset, $orderBy);[$params, $types] = $this->expandParameters($criteria);$stmt = $this->conn->executeQuery($sql, $params, $types);$hydrator = $this->em->newHydrator($this->currentPersisterContext->selectJoinSql ? Query::HYDRATE_OBJECT : Query::HYDRATE_SIMPLEOBJECT);return $hydrator->hydrateAll($stmt, $this->currentPersisterContext->rsm, [UnitOfWork::HINT_DEFEREAGERLOAD => true]);}
in
vendor/doctrine/orm/src/EntityRepository.php
->
loadAll
(line 110)
*/public function findBy(array $criteria, array|null $orderBy = null, int|null $limit = null, int|null $offset = null): array{$persister = $this->em->getUnitOfWork()->getEntityPersister($this->entityName);return $persister->loadAll($criteria, $orderBy, $limit, $offset);}/*** Finds a single entity by a set of criteria.*
in
vendor/doctrine/doctrine-bundle/src/Repository/ServiceEntityRepositoryProxy.php
->
findBy
(line 73)
* @psalm-suppress InvalidReturnType This proxy is used only in combination with newer parent class*/public function findBy(array $criteria, array|null $orderBy = null, int|null $limit = null, int|null $offset = null): array{return ($this->repository ??= $this->resolveRepository())->findBy($criteria, $orderBy, $limit, $offset);}/** {@inheritDoc} */public function findOneBy(array $criteria, array|null $orderBy = null): object|null{
in
vendor/doctrine/orm/src/EntityRepository.php
->
findBy
(line 96)
** @phpstan-return list<T> The entities.*/public function findAll(): array{return $this->findBy([]);}/*** Finds entities by a set of criteria.*
$selectedCategory = $request->query->get('category', '');$selectedBrand = $request->query->get('brand', '');$maxPrice = $request->query->get('max_price', '');// --- Récupération des catégories & marques de la BDD ---$categories = $categorieRepository->findAll();$marques = $marqueRepository->findAll();// --- Construction dynamique du filtre ---$criteria = [];
in
vendor/symfony/http-kernel/HttpKernel.php
->
products
(line 183)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);$controller = $event->getController();$arguments = $event->getArguments();// call controller$response = $controller(...$arguments);// viewif (!$response instanceof Response) {$event = new ViewEvent($this, $request, $type, $response, $event);$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 76)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 182)
$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)
) {}public function run(): int{$response = $this->kernel->handle($this->request);if (Kernel::VERSION_ID >= 60400) {$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in
vendor/autoload_runtime.php
->
run
(line 29)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
require_once('/home/lyceestvincent/www/jdenes/bts-2025-2026-symfony-coffeeshop-coffeeshop-julie/vendor/autoload_runtime.php')
in
public/index.php
(line 5)
<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
Doctrine\DBAL\Driver\PDO\ Exception
in
vendor/doctrine/dbal/src/Driver/PDO/Exception.php
(line 24)
} else {$code = $exception->getCode();$sqlState = null;}return new self($exception->getMessage(), $sqlState, $code, $exception);}}
in
vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php
::
new
(line 52)
$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 27)
*/public function connect(#[SensitiveParameter]array $params,): DriverConnection {return $this->wrappedDriver->connect($params);}public function getDatabasePlatform(ServerVersionProvider $versionProvider): AbstractPlatform{return $this->wrappedDriver->getDatabasePlatform($versionProvider);
in
vendor/symfony/doctrine-bridge/Middleware/Debug/Driver.php
->
connect
(line 37)
parent::__construct($driver);}public function connect(array $params): ConnectionInterface{$connection = parent::connect($params);if ('void' !== (string) (new \ReflectionMethod(ConnectionInterface::class, 'commit'))->getReturnType()) {return new DBAL3\Connection($connection,$this->debugDataHolder,
in
vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php
->
connect
(line 27)
*/public function connect(#[SensitiveParameter]array $params,): DriverConnection {return $this->wrappedDriver->connect($params);}public function getDatabasePlatform(ServerVersionProvider $versionProvider): AbstractPlatform{return $this->wrappedDriver->getDatabasePlatform($versionProvider);
in
vendor/symfony/doctrine-bridge/Middleware/IdleConnection/Driver.php
->
connect
(line 35)
}public function connect(array $params): ConnectionInterface{$timestamp = time();$connection = parent::connect($params);$this->connectionExpiries[$this->connectionName] = $timestamp + $this->ttl;return $connection;}}
in
vendor/doctrine/dbal/src/Connection.php
->
connect
(line 222)
if ($this->_conn !== null) {return $this->_conn;}try {$connection = $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 792)
): Result {if ($qcp !== null) {return $this->executeCacheQuery($sql, $params, $types, $qcp);}$connection = $this->connect();try {if (count($params) > 0) {[$sql, $params, $types] = $this->expandArrayParameters($sql, $params, $types);
in
vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php
->
executeQuery
(line 963)
): array {$this->switchPersisterContext($offset, $limit);$sql = $this->getSelectSQL($criteria, null, null, $limit, $offset, $orderBy);[$params, $types] = $this->expandParameters($criteria);$stmt = $this->conn->executeQuery($sql, $params, $types);$hydrator = $this->em->newHydrator($this->currentPersisterContext->selectJoinSql ? Query::HYDRATE_OBJECT : Query::HYDRATE_SIMPLEOBJECT);return $hydrator->hydrateAll($stmt, $this->currentPersisterContext->rsm, [UnitOfWork::HINT_DEFEREAGERLOAD => true]);}
in
vendor/doctrine/orm/src/EntityRepository.php
->
loadAll
(line 110)
*/public function findBy(array $criteria, array|null $orderBy = null, int|null $limit = null, int|null $offset = null): array{$persister = $this->em->getUnitOfWork()->getEntityPersister($this->entityName);return $persister->loadAll($criteria, $orderBy, $limit, $offset);}/*** Finds a single entity by a set of criteria.*
in
vendor/doctrine/doctrine-bundle/src/Repository/ServiceEntityRepositoryProxy.php
->
findBy
(line 73)
* @psalm-suppress InvalidReturnType This proxy is used only in combination with newer parent class*/public function findBy(array $criteria, array|null $orderBy = null, int|null $limit = null, int|null $offset = null): array{return ($this->repository ??= $this->resolveRepository())->findBy($criteria, $orderBy, $limit, $offset);}/** {@inheritDoc} */public function findOneBy(array $criteria, array|null $orderBy = null): object|null{
in
vendor/doctrine/orm/src/EntityRepository.php
->
findBy
(line 96)
** @phpstan-return list<T> The entities.*/public function findAll(): array{return $this->findBy([]);}/*** Finds entities by a set of criteria.*
$selectedCategory = $request->query->get('category', '');$selectedBrand = $request->query->get('brand', '');$maxPrice = $request->query->get('max_price', '');// --- Récupération des catégories & marques de la BDD ---$categories = $categorieRepository->findAll();$marques = $marqueRepository->findAll();// --- Construction dynamique du filtre ---$criteria = [];
in
vendor/symfony/http-kernel/HttpKernel.php
->
products
(line 183)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);$controller = $event->getController();$arguments = $event->getArguments();// call controller$response = $controller(...$arguments);// viewif (!$response instanceof Response) {$event = new ViewEvent($this, $request, $type, $response, $event);$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 76)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 182)
$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)
) {}public function run(): int{$response = $this->kernel->handle($this->request);if (Kernel::VERSION_ID >= 60400) {$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in
vendor/autoload_runtime.php
->
run
(line 29)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
require_once('/home/lyceestvincent/www/jdenes/bts-2025-2026-symfony-coffeeshop-coffeeshop-julie/vendor/autoload_runtime.php')
in
public/index.php
(line 5)
<?phpuse 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/PDOConnect.php
(line 25)
#[SensitiveParameter]string $password,array $options,): PDO {if (PHP_VERSION_ID < 80400) {return new PDO($dsn, $username, $password, $options);}return PDO::connect($dsn, $username, $password, $options);}}
in
vendor/doctrine/dbal/src/Driver/PDO/PDOConnect.php
->
__construct
(line 25)
#[SensitiveParameter]string $password,array $options,): PDO {if (PHP_VERSION_ID < 80400) {return new PDO($dsn, $username, $password, $options);}return PDO::connect($dsn, $username, $password, $options);}}
in
vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php
->
doConnect
(line 45)
$safeParams = $params;unset($safeParams['password']);try {$pdo = $this->doConnect($this->constructPdoDsn($safeParams),$params['user'] ?? '',$params['password'] ?? '',$driverOptions,);
in
vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php
->
connect
(line 27)
*/public function connect(#[SensitiveParameter]array $params,): DriverConnection {return $this->wrappedDriver->connect($params);}public function getDatabasePlatform(ServerVersionProvider $versionProvider): AbstractPlatform{return $this->wrappedDriver->getDatabasePlatform($versionProvider);
in
vendor/symfony/doctrine-bridge/Middleware/Debug/Driver.php
->
connect
(line 37)
parent::__construct($driver);}public function connect(array $params): ConnectionInterface{$connection = parent::connect($params);if ('void' !== (string) (new \ReflectionMethod(ConnectionInterface::class, 'commit'))->getReturnType()) {return new DBAL3\Connection($connection,$this->debugDataHolder,
in
vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php
->
connect
(line 27)
*/public function connect(#[SensitiveParameter]array $params,): DriverConnection {return $this->wrappedDriver->connect($params);}public function getDatabasePlatform(ServerVersionProvider $versionProvider): AbstractPlatform{return $this->wrappedDriver->getDatabasePlatform($versionProvider);
in
vendor/symfony/doctrine-bridge/Middleware/IdleConnection/Driver.php
->
connect
(line 35)
}public function connect(array $params): ConnectionInterface{$timestamp = time();$connection = parent::connect($params);$this->connectionExpiries[$this->connectionName] = $timestamp + $this->ttl;return $connection;}}
in
vendor/doctrine/dbal/src/Connection.php
->
connect
(line 222)
if ($this->_conn !== null) {return $this->_conn;}try {$connection = $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 792)
): Result {if ($qcp !== null) {return $this->executeCacheQuery($sql, $params, $types, $qcp);}$connection = $this->connect();try {if (count($params) > 0) {[$sql, $params, $types] = $this->expandArrayParameters($sql, $params, $types);
in
vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php
->
executeQuery
(line 963)
): array {$this->switchPersisterContext($offset, $limit);$sql = $this->getSelectSQL($criteria, null, null, $limit, $offset, $orderBy);[$params, $types] = $this->expandParameters($criteria);$stmt = $this->conn->executeQuery($sql, $params, $types);$hydrator = $this->em->newHydrator($this->currentPersisterContext->selectJoinSql ? Query::HYDRATE_OBJECT : Query::HYDRATE_SIMPLEOBJECT);return $hydrator->hydrateAll($stmt, $this->currentPersisterContext->rsm, [UnitOfWork::HINT_DEFEREAGERLOAD => true]);}
in
vendor/doctrine/orm/src/EntityRepository.php
->
loadAll
(line 110)
*/public function findBy(array $criteria, array|null $orderBy = null, int|null $limit = null, int|null $offset = null): array{$persister = $this->em->getUnitOfWork()->getEntityPersister($this->entityName);return $persister->loadAll($criteria, $orderBy, $limit, $offset);}/*** Finds a single entity by a set of criteria.*
in
vendor/doctrine/doctrine-bundle/src/Repository/ServiceEntityRepositoryProxy.php
->
findBy
(line 73)
* @psalm-suppress InvalidReturnType This proxy is used only in combination with newer parent class*/public function findBy(array $criteria, array|null $orderBy = null, int|null $limit = null, int|null $offset = null): array{return ($this->repository ??= $this->resolveRepository())->findBy($criteria, $orderBy, $limit, $offset);}/** {@inheritDoc} */public function findOneBy(array $criteria, array|null $orderBy = null): object|null{
in
vendor/doctrine/orm/src/EntityRepository.php
->
findBy
(line 96)
** @phpstan-return list<T> The entities.*/public function findAll(): array{return $this->findBy([]);}/*** Finds entities by a set of criteria.*
$selectedCategory = $request->query->get('category', '');$selectedBrand = $request->query->get('brand', '');$maxPrice = $request->query->get('max_price', '');// --- Récupération des catégories & marques de la BDD ---$categories = $categorieRepository->findAll();$marques = $marqueRepository->findAll();// --- Construction dynamique du filtre ---$criteria = [];
in
vendor/symfony/http-kernel/HttpKernel.php
->
products
(line 183)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);$controller = $event->getController();$arguments = $event->getArguments();// call controller$response = $controller(...$arguments);// viewif (!$response instanceof Response) {$event = new ViewEvent($this, $request, $type, $response, $event);$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 76)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 182)
$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)
) {}public function run(): int{$response = $this->kernel->handle($this->request);if (Kernel::VERSION_ID >= 60400) {$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in
vendor/autoload_runtime.php
->
run
(line 29)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
require_once('/home/lyceestvincent/www/jdenes/bts-2025-2026-symfony-coffeeshop-coffeeshop-julie/vendor/autoload_runtime.php')
in
public/index.php
(line 5)
<?phpuse 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 | Message |
|---|---|
| info 19:32:30 |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "57fb04"
},
"request_uri": "https://jdenes.lyceestvincent.fr/bts-2025-2026-symfony-coffeeshop-coffeeshop-julie/public/_profiler/57fb04",
"method": "GET"
}
|
| debug 19:32:30 |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}
|
| debug 19:32:30 |
Notified event "kernel.request" to listener "Nelmio\SecurityBundle\EventListener\ContentSecurityPolicyListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Nelmio\\SecurityBundle\\EventListener\\ContentSecurityPolicyListener::onKernelRequest"
}
|
| debug 19:32:30 |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}
|
| debug 19:32:30 |
Notified event "kernel.request" to listener "Symfony\Bridge\Doctrine\Middleware\IdleConnection\Listener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Bridge\\Doctrine\\Middleware\\IdleConnection\\Listener::onKernelRequest"
}
|
| debug 19:32:30 |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}
|
| debug 19:32:30 |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}
|
| debug 19:32:30 |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}
|
| debug 19:32:30 |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}
|
| debug 19:32:30 |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
}
|
| debug 19:32:30 |
Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator". {
"event": "kernel.request",
"listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
}
|
| debug 19:32:30 |
Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
}
|
| debug 19:32:30 |
Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController". {
"event": "kernel.controller",
"listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}
|
| debug 19:32:30 |
Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController". {
"event": "kernel.controller",
"listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}
|
| debug 19:32:30 |
Notified event "kernel.controller_arguments" to listener "Symfony\Component\Security\Http\EventListener\IsCsrfTokenValidAttributeListener::onKernelControllerArguments". {
"event": "kernel.controller_arguments",
"listener": "Symfony\\Component\\Security\\Http\\EventListener\\IsCsrfTokenValidAttributeListener::onKernelControllerArguments"
}
|
| debug 19:32:30 |
Notified event "kernel.controller_arguments" to listener "Symfony\Component\Security\Http\EventListener\IsGrantedAttributeListener::onKernelControllerArguments". {
"event": "kernel.controller_arguments",
"listener": "Symfony\\Component\\Security\\Http\\EventListener\\IsGrantedAttributeListener::onKernelControllerArguments"
}
|
| debug 19:32:30 |
Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\CacheAttributeListener::onKernelControllerArguments". {
"event": "kernel.controller_arguments",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\CacheAttributeListener::onKernelControllerArguments"
}
|
| debug 19:32:30 |
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:91
at Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert(object(Exception), null)
(vendor/doctrine/dbal/src/Connection.php:1456)
at Doctrine\DBAL\Connection->handleDriverException(object(Exception), null)
(vendor/doctrine/dbal/src/Connection.php:1398)
at Doctrine\DBAL\Connection->convertException(object(Exception))
(vendor/doctrine/dbal/src/Connection.php:224)
at Doctrine\DBAL\Connection->connect()
(vendor/doctrine/dbal/src/Connection.php:792)
at Doctrine\DBAL\Connection->executeQuery('SELECT t0.id AS id_1, t0.nom AS nom_2 FROM categorie t0', array(), array())
(vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:963)
at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadAll(array(), null, null, null)
(vendor/doctrine/orm/src/EntityRepository.php:110)
at Doctrine\ORM\EntityRepository->findBy(array(), null, null, null)
(vendor/doctrine/doctrine-bundle/src/Repository/ServiceEntityRepositoryProxy.php:73)
at Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepositoryProxy->findBy(array())
(vendor/doctrine/orm/src/EntityRepository.php:96)
at Doctrine\ORM\EntityRepository->findAll()
(src/Controller/TwigController.php:73)
at App\Controller\TwigController->products(object(Request), object(ProduitRepository), object(CategorieRepository), object(MarqueRepository))
(vendor/symfony/http-kernel/HttpKernel.php:183)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/http-kernel/Kernel.php:182)
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:29)
at require_once('/home/lyceestvincent/www/jdenes/bts-2025-2026-symfony-coffeeshop-coffeeshop-julie/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:24
at Doctrine\DBAL\Driver\PDO\Exception::new(object(PDOException))
(vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:52)
at Doctrine\DBAL\Driver\PDO\MySQL\Driver->connect(object(SensitiveParameterValue))
(vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:27)
at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(object(SensitiveParameterValue))
(vendor/symfony/doctrine-bridge/Middleware/Debug/Driver.php:37)
at Symfony\Bridge\Doctrine\Middleware\Debug\Driver->connect(array('use_savepoints' => true, 'driver' => 'pdo_mysql', 'idle_connection_ttl' => 600, 'host' => '127.0.0.1', 'port' => 3306, 'user' => 'root', 'password' => '', 'driverOptions' => array(), 'defaultTableOptions' => array(), 'dbname' => 'artcraft', 'serverVersion' => 'mariadb-10.4.32', 'charset' => 'utf8mb4'))
(vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:27)
at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(object(SensitiveParameterValue))
(vendor/symfony/doctrine-bridge/Middleware/IdleConnection/Driver.php:35)
at Symfony\Bridge\Doctrine\Middleware\IdleConnection\Driver->connect(array('use_savepoints' => true, 'driver' => 'pdo_mysql', 'idle_connection_ttl' => 600, 'host' => '127.0.0.1', 'port' => 3306, 'user' => 'root', 'password' => '', 'driverOptions' => array(), 'defaultTableOptions' => array(), 'dbname' => 'artcraft', 'serverVersion' => 'mariadb-10.4.32', 'charset' => 'utf8mb4'))
(vendor/doctrine/dbal/src/Connection.php:222)
at Doctrine\DBAL\Connection->connect()
(vendor/doctrine/dbal/src/Connection.php:792)
at Doctrine\DBAL\Connection->executeQuery('SELECT t0.id AS id_1, t0.nom AS nom_2 FROM categorie t0', array(), array())
(vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:963)
at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadAll(array(), null, null, null)
(vendor/doctrine/orm/src/EntityRepository.php:110)
at Doctrine\ORM\EntityRepository->findBy(array(), null, null, null)
(vendor/doctrine/doctrine-bundle/src/Repository/ServiceEntityRepositoryProxy.php:73)
at Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepositoryProxy->findBy(array())
(vendor/doctrine/orm/src/EntityRepository.php:96)
at Doctrine\ORM\EntityRepository->findAll()
(src/Controller/TwigController.php:73)
at App\Controller\TwigController->products(object(Request), object(ProduitRepository), object(CategorieRepository), object(MarqueRepository))
(vendor/symfony/http-kernel/HttpKernel.php:183)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/http-kernel/Kernel.php:182)
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:29)
at require_once('/home/lyceestvincent/www/jdenes/bts-2025-2026-symfony-coffeeshop-coffeeshop-julie/vendor/autoload_runtime.php')
(public/index.php:5)
|
|
[1/3]
PDOException
|
|---|
PDOException:
SQLSTATE[HY000] [2002] Connection refused
at vendor/doctrine/dbal/src/Driver/PDO/PDOConnect.php:25
at PDO->__construct('mysql:host=127.0.0.1;port=3306;dbname=artcraft;charset=utf8mb4;', 'root', object(SensitiveParameterValue), array())
(vendor/doctrine/dbal/src/Driver/PDO/PDOConnect.php:25)
at Doctrine\DBAL\Driver\PDO\MySQL\Driver->doConnect(object(SensitiveParameterValue), 'root', object(SensitiveParameterValue), array())
(vendor/doctrine/dbal/src/Driver/PDO/MySQL/Driver.php:45)
at Doctrine\DBAL\Driver\PDO\MySQL\Driver->connect(object(SensitiveParameterValue))
(vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:27)
at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(object(SensitiveParameterValue))
(vendor/symfony/doctrine-bridge/Middleware/Debug/Driver.php:37)
at Symfony\Bridge\Doctrine\Middleware\Debug\Driver->connect(array('use_savepoints' => true, 'driver' => 'pdo_mysql', 'idle_connection_ttl' => 600, 'host' => '127.0.0.1', 'port' => 3306, 'user' => 'root', 'password' => '', 'driverOptions' => array(), 'defaultTableOptions' => array(), 'dbname' => 'artcraft', 'serverVersion' => 'mariadb-10.4.32', 'charset' => 'utf8mb4'))
(vendor/doctrine/dbal/src/Driver/Middleware/AbstractDriverMiddleware.php:27)
at Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware->connect(object(SensitiveParameterValue))
(vendor/symfony/doctrine-bridge/Middleware/IdleConnection/Driver.php:35)
at Symfony\Bridge\Doctrine\Middleware\IdleConnection\Driver->connect(array('use_savepoints' => true, 'driver' => 'pdo_mysql', 'idle_connection_ttl' => 600, 'host' => '127.0.0.1', 'port' => 3306, 'user' => 'root', 'password' => '', 'driverOptions' => array(), 'defaultTableOptions' => array(), 'dbname' => 'artcraft', 'serverVersion' => 'mariadb-10.4.32', 'charset' => 'utf8mb4'))
(vendor/doctrine/dbal/src/Connection.php:222)
at Doctrine\DBAL\Connection->connect()
(vendor/doctrine/dbal/src/Connection.php:792)
at Doctrine\DBAL\Connection->executeQuery('SELECT t0.id AS id_1, t0.nom AS nom_2 FROM categorie t0', array(), array())
(vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:963)
at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadAll(array(), null, null, null)
(vendor/doctrine/orm/src/EntityRepository.php:110)
at Doctrine\ORM\EntityRepository->findBy(array(), null, null, null)
(vendor/doctrine/doctrine-bundle/src/Repository/ServiceEntityRepositoryProxy.php:73)
at Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepositoryProxy->findBy(array())
(vendor/doctrine/orm/src/EntityRepository.php:96)
at Doctrine\ORM\EntityRepository->findAll()
(src/Controller/TwigController.php:73)
at App\Controller\TwigController->products(object(Request), object(ProduitRepository), object(CategorieRepository), object(MarqueRepository))
(vendor/symfony/http-kernel/HttpKernel.php:183)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/http-kernel/Kernel.php:182)
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:29)
at require_once('/home/lyceestvincent/www/jdenes/bts-2025-2026-symfony-coffeeshop-coffeeshop-julie/vendor/autoload_runtime.php')
(public/index.php:5)
|