Symfony Exception

PDOException Exception SyntaxErrorException

HTTP 500 Internal Server Error

An exception occurred while executing a query: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1 = 1 OR result_postcode = "56520" GROUP BY p.id' at line 1

Exceptions 3

Doctrine\DBAL\Exception\ SyntaxErrorException

  1.             case 1382:
  2.             case 1479:
  3.             case 1541:
  4.             case 1554:
  5.             case 1626:
  6.                 return new SyntaxErrorException($exception$query);
  7.             case 1044:
  8.             case 1045:
  9.             case 1046:
  10.             case 1049:
  1.     ): DriverException {
  2.         if ($this->exceptionConverter === null) {
  3.             $this->exceptionConverter $this->_driver->getExceptionConverter();
  4.         }
  5.         $exception $this->exceptionConverter->convert($driverException$query);
  6.         if ($exception instanceof ConnectionLost) {
  7.             $this->close();
  8.         }
in vendor/doctrine/dbal/src/Connection.php -> handleDriverException (line 1749)
  1.         Driver\Exception $e,
  2.         string $sql,
  3.         array $params = [],
  4.         array $types = []
  5.     ): DriverException {
  6.         return $this->handleDriverException($e, new Query($sql$params$types));
  7.     }
  8.     /**
  9.      * @internal
  10.      */
in vendor/doctrine/dbal/src/Statement.php -> convertExceptionDuringQuery (line 184)
  1.             return new Result(
  2.                 $this->stmt->execute($params),
  3.                 $this->conn
  4.             );
  5.         } catch (Driver\Exception $ex) {
  6.             throw $this->conn->convertExceptionDuringQuery($ex$this->sql$this->params$this->types);
  7.         } finally {
  8.             if ($logger !== null) {
  9.                 $logger->stopQuery();
  10.             }
  11.         }
  1.     {
  2.         if ($params === []) {
  3.             $params null// Workaround as long execute() exists and used internally.
  4.         }
  5.         return $this->execute($params);
  6.     }
  7.     /**
  8.      * Executes the statement with the currently bound parameters and return affected rows.
  9.      *
Statement->executeQuery() in src/Repository/PwaEnfanceRepository.php (line 241)
  1.             $query_order 'ORDER BY ';
  2.             $orderby[] = 'p.id DESC';
  3.         }
  4.         $order_by join(','$orderby);
  5.         $count $conn->prepare("SELECT count(*) as total" $formule " FROM pwa_enfance p LEFT JOIN media m ON (p.id = activite_id) WHERE (fin = '' OR fin >= '" date('Y-m-d') . "' OR fin IS NULL) $where GROUP BY p.id");
  6.         $countAll $count->executeQuery();
  7.         $sql "SELECT p.*,m.image,m.activite_id" $formule " FROM pwa_enfance p LEFT JOIN media m ON (p.id = activite_id) WHERE (fin = '' OR fin >= '" date('Y-m-d') . "' OR fin IS NULL) $where GROUP BY p.id $query_order $order_by";
  8.         $stmt $conn->prepare($sql);
  9.         $resultSet $stmt->executeQuery();
  10.         $total $countAll->rowCount();
  11.         $data $resultSet->fetchAssociative();
PwaEnfanceRepository->findByCp('56520', 'land-vant') in src/Controller/DefaultController.php (line 132)
  1.      * @Route("/{cp}/{ville}", name="app_default_city",requirements={"cp"="\d+"})
  2.      */
  3.     public function ville(?string $cp,$ville): Response
  4.     {
  5.         $result $this->entityManager
  6.             ->getRepository(PwaEnfance::class)->findByCp($cp,$ville);
  7.         return $this->render('default/search.html.twig', [
  8.             'result' => $result['query'],
  9.             'link' => $result['link'],
  10.             'total' => $result['total'],
  11.             'totalPage' => $result['totalPage'],
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
  1.         $this->request $request;
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         $response->send();
  7.         if ($this->kernel instanceof TerminableInterface) {
  8.             $this->kernel->terminate($this->request$response);
  9.         }
in vendor/autoload_runtime.php -> run (line 35)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/data/www/root/labretagnedesenfants.bzh/prod/35d22df8f1de8e840628ae98f22780ceb82068a1-1680099099/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

Doctrine\DBAL\Driver\PDO\ Exception

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1 = 1 OR result_postcode = "56520" GROUP BY p.id' at line 1

  1.         } else {
  2.             $code     $exception->getCode();
  3.             $sqlState null;
  4.         }
  5.         return new self($exception->getMessage(), $sqlState$code$exception);
  6.     }
  7. }
  1.     public function execute($params null): ResultInterface
  2.     {
  3.         try {
  4.             $this->stmt->execute($params);
  5.         } catch (PDOException $exception) {
  6.             throw Exception::new($exception);
  7.         }
  8.         return new Result($this->stmt);
  9.     }
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function execute($params null): Result
  5.     {
  6.         return $this->wrappedStatement->execute($params);
  7.     }
  8. }
  1.             'sql'    => $this->sql,
  2.             'params' => $params ?? $this->params,
  3.             'types'  => $this->types,
  4.         ]);
  5.         return parent::execute($params);
  6.     }
  7. }
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function execute($params null): Result
  5.     {
  6.         return $this->wrappedStatement->execute($params);
  7.     }
  8. }
  1.         $this->debugDataHolder->addQuery($this->connectionName$query = clone $this->query);
  2.         $query->start();
  3.         try {
  4.             $result parent::execute($params);
  5.         } finally {
  6.             $query->stop();
  7.         }
  8.         return $result;
  1.             $logger->startQuery($this->sql$this->params$this->types);
  2.         }
  3.         try {
  4.             return new Result(
  5.                 $this->stmt->execute($params),
  6.                 $this->conn
  7.             );
  8.         } catch (Driver\Exception $ex) {
  9.             throw $this->conn->convertExceptionDuringQuery($ex$this->sql$this->params$this->types);
  10.         } finally {
  1.     {
  2.         if ($params === []) {
  3.             $params null// Workaround as long execute() exists and used internally.
  4.         }
  5.         return $this->execute($params);
  6.     }
  7.     /**
  8.      * Executes the statement with the currently bound parameters and return affected rows.
  9.      *
Statement->executeQuery() in src/Repository/PwaEnfanceRepository.php (line 241)
  1.             $query_order 'ORDER BY ';
  2.             $orderby[] = 'p.id DESC';
  3.         }
  4.         $order_by join(','$orderby);
  5.         $count $conn->prepare("SELECT count(*) as total" $formule " FROM pwa_enfance p LEFT JOIN media m ON (p.id = activite_id) WHERE (fin = '' OR fin >= '" date('Y-m-d') . "' OR fin IS NULL) $where GROUP BY p.id");
  6.         $countAll $count->executeQuery();
  7.         $sql "SELECT p.*,m.image,m.activite_id" $formule " FROM pwa_enfance p LEFT JOIN media m ON (p.id = activite_id) WHERE (fin = '' OR fin >= '" date('Y-m-d') . "' OR fin IS NULL) $where GROUP BY p.id $query_order $order_by";
  8.         $stmt $conn->prepare($sql);
  9.         $resultSet $stmt->executeQuery();
  10.         $total $countAll->rowCount();
  11.         $data $resultSet->fetchAssociative();
PwaEnfanceRepository->findByCp('56520', 'land-vant') in src/Controller/DefaultController.php (line 132)
  1.      * @Route("/{cp}/{ville}", name="app_default_city",requirements={"cp"="\d+"})
  2.      */
  3.     public function ville(?string $cp,$ville): Response
  4.     {
  5.         $result $this->entityManager
  6.             ->getRepository(PwaEnfance::class)->findByCp($cp,$ville);
  7.         return $this->render('default/search.html.twig', [
  8.             'result' => $result['query'],
  9.             'link' => $result['link'],
  10.             'total' => $result['total'],
  11.             'totalPage' => $result['totalPage'],
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
  1.         $this->request $request;
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         $response->send();
  7.         if ($this->kernel instanceof TerminableInterface) {
  8.             $this->kernel->terminate($this->request$response);
  9.         }
in vendor/autoload_runtime.php -> run (line 35)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/data/www/root/labretagnedesenfants.bzh/prod/35d22df8f1de8e840628ae98f22780ceb82068a1-1680099099/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

PDOException

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1 = 1 OR result_postcode = "56520" GROUP BY p.id' at line 1

  1.      * {@inheritdoc}
  2.      */
  3.     public function execute($params null): ResultInterface
  4.     {
  5.         try {
  6.             $this->stmt->execute($params);
  7.         } catch (PDOException $exception) {
  8.             throw Exception::new($exception);
  9.         }
  10.         return new Result($this->stmt);
  1.      * {@inheritdoc}
  2.      */
  3.     public function execute($params null): ResultInterface
  4.     {
  5.         try {
  6.             $this->stmt->execute($params);
  7.         } catch (PDOException $exception) {
  8.             throw Exception::new($exception);
  9.         }
  10.         return new Result($this->stmt);
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function execute($params null): Result
  5.     {
  6.         return $this->wrappedStatement->execute($params);
  7.     }
  8. }
  1.             'sql'    => $this->sql,
  2.             'params' => $params ?? $this->params,
  3.             'types'  => $this->types,
  4.         ]);
  5.         return parent::execute($params);
  6.     }
  7. }
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function execute($params null): Result
  5.     {
  6.         return $this->wrappedStatement->execute($params);
  7.     }
  8. }
  1.         $this->debugDataHolder->addQuery($this->connectionName$query = clone $this->query);
  2.         $query->start();
  3.         try {
  4.             $result parent::execute($params);
  5.         } finally {
  6.             $query->stop();
  7.         }
  8.         return $result;
  1.             $logger->startQuery($this->sql$this->params$this->types);
  2.         }
  3.         try {
  4.             return new Result(
  5.                 $this->stmt->execute($params),
  6.                 $this->conn
  7.             );
  8.         } catch (Driver\Exception $ex) {
  9.             throw $this->conn->convertExceptionDuringQuery($ex$this->sql$this->params$this->types);
  10.         } finally {
  1.     {
  2.         if ($params === []) {
  3.             $params null// Workaround as long execute() exists and used internally.
  4.         }
  5.         return $this->execute($params);
  6.     }
  7.     /**
  8.      * Executes the statement with the currently bound parameters and return affected rows.
  9.      *
Statement->executeQuery() in src/Repository/PwaEnfanceRepository.php (line 241)
  1.             $query_order 'ORDER BY ';
  2.             $orderby[] = 'p.id DESC';
  3.         }
  4.         $order_by join(','$orderby);
  5.         $count $conn->prepare("SELECT count(*) as total" $formule " FROM pwa_enfance p LEFT JOIN media m ON (p.id = activite_id) WHERE (fin = '' OR fin >= '" date('Y-m-d') . "' OR fin IS NULL) $where GROUP BY p.id");
  6.         $countAll $count->executeQuery();
  7.         $sql "SELECT p.*,m.image,m.activite_id" $formule " FROM pwa_enfance p LEFT JOIN media m ON (p.id = activite_id) WHERE (fin = '' OR fin >= '" date('Y-m-d') . "' OR fin IS NULL) $where GROUP BY p.id $query_order $order_by";
  8.         $stmt $conn->prepare($sql);
  9.         $resultSet $stmt->executeQuery();
  10.         $total $countAll->rowCount();
  11.         $data $resultSet->fetchAssociative();
PwaEnfanceRepository->findByCp('56520', 'land-vant') in src/Controller/DefaultController.php (line 132)
  1.      * @Route("/{cp}/{ville}", name="app_default_city",requirements={"cp"="\d+"})
  2.      */
  3.     public function ville(?string $cp,$ville): Response
  4.     {
  5.         $result $this->entityManager
  6.             ->getRepository(PwaEnfance::class)->findByCp($cp,$ville);
  7.         return $this->render('default/search.html.twig', [
  8.             'result' => $result['query'],
  9.             'link' => $result['link'],
  10.             'total' => $result['total'],
  11.             'totalPage' => $result['totalPage'],
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
  1.         $this->request $request;
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         $response->send();
  7.         if ($this->kernel instanceof TerminableInterface) {
  8.             $this->kernel->terminate($this->request$response);
  9.         }
in vendor/autoload_runtime.php -> run (line 35)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/data/www/root/labretagnedesenfants.bzh/prod/35d22df8f1de8e840628ae98f22780ceb82068a1-1680099099/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

Logs

No log messages

Stack Traces 3

[3/3] SyntaxErrorException
Doctrine\DBAL\Exception\SyntaxErrorException:
An exception occurred while executing a query: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1 = 1 OR result_postcode = "56520" GROUP BY p.id' at line 1

  at vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:88
  at Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert(object(Exception), object(Query))
     (vendor/doctrine/dbal/src/Connection.php:1814)
  at Doctrine\DBAL\Connection->handleDriverException(object(Exception), object(Query))
     (vendor/doctrine/dbal/src/Connection.php:1749)
  at Doctrine\DBAL\Connection->convertExceptionDuringQuery(object(Exception), 'SELECT count(*) as total FROM pwa_enfance p LEFT JOIN media m ON (p.id = activite_id) WHERE (fin = \'\' OR fin >= \'2024-03-28\' OR fin IS NULL) 1 = 1 OR result_postcode = "56520" GROUP BY p.id', array(), array())
     (vendor/doctrine/dbal/src/Statement.php:184)
  at Doctrine\DBAL\Statement->execute(null)
     (vendor/doctrine/dbal/src/Statement.php:205)
  at Doctrine\DBAL\Statement->executeQuery()
     (src/Repository/PwaEnfanceRepository.php:241)
  at App\Repository\PwaEnfanceRepository->findByCp('56520', 'land-vant')
     (src/Controller/DefaultController.php:132)
  at App\Controller\DefaultController->ville('56520', 'land-vant')
     (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('/data/www/root/labretagnedesenfants.bzh/prod/35d22df8f1de8e840628ae98f22780ceb82068a1-1680099099/vendor/autoload_runtime.php')
     (public/index.php:5)                
[2/3] Exception
Doctrine\DBAL\Driver\PDO\Exception:
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1 = 1 OR result_postcode = "56520" GROUP BY p.id' at line 1

  at vendor/doctrine/dbal/src/Driver/PDO/Exception.php:30
  at Doctrine\DBAL\Driver\PDO\Exception::new(object(PDOException))
     (vendor/doctrine/dbal/src/Driver/PDO/Statement.php:103)
  at Doctrine\DBAL\Driver\PDO\Statement->execute(null)
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:40)
  at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute(null)
     (vendor/doctrine/dbal/src/Logging/Statement.php:74)
  at Doctrine\DBAL\Logging\Statement->execute(null)
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:40)
  at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute(null)
     (vendor/symfony/doctrine-bridge/Middleware/Debug/Statement.php:65)
  at Symfony\Bridge\Doctrine\Middleware\Debug\Statement->execute(null)
     (vendor/doctrine/dbal/src/Statement.php:180)
  at Doctrine\DBAL\Statement->execute(null)
     (vendor/doctrine/dbal/src/Statement.php:205)
  at Doctrine\DBAL\Statement->executeQuery()
     (src/Repository/PwaEnfanceRepository.php:241)
  at App\Repository\PwaEnfanceRepository->findByCp('56520', 'land-vant')
     (src/Controller/DefaultController.php:132)
  at App\Controller\DefaultController->ville('56520', 'land-vant')
     (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('/data/www/root/labretagnedesenfants.bzh/prod/35d22df8f1de8e840628ae98f22780ceb82068a1-1680099099/vendor/autoload_runtime.php')
     (public/index.php:5)                
[1/3] PDOException
PDOException:
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1 = 1 OR result_postcode = "56520" GROUP BY p.id' at line 1

  at vendor/doctrine/dbal/src/Driver/PDO/Statement.php:101
  at PDOStatement->execute(null)
     (vendor/doctrine/dbal/src/Driver/PDO/Statement.php:101)
  at Doctrine\DBAL\Driver\PDO\Statement->execute(null)
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:40)
  at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute(null)
     (vendor/doctrine/dbal/src/Logging/Statement.php:74)
  at Doctrine\DBAL\Logging\Statement->execute(null)
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:40)
  at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute(null)
     (vendor/symfony/doctrine-bridge/Middleware/Debug/Statement.php:65)
  at Symfony\Bridge\Doctrine\Middleware\Debug\Statement->execute(null)
     (vendor/doctrine/dbal/src/Statement.php:180)
  at Doctrine\DBAL\Statement->execute(null)
     (vendor/doctrine/dbal/src/Statement.php:205)
  at Doctrine\DBAL\Statement->executeQuery()
     (src/Repository/PwaEnfanceRepository.php:241)
  at App\Repository\PwaEnfanceRepository->findByCp('56520', 'land-vant')
     (src/Controller/DefaultController.php:132)
  at App\Controller\DefaultController->ville('56520', 'land-vant')
     (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('/data/www/root/labretagnedesenfants.bzh/prod/35d22df8f1de8e840628ae98f22780ceb82068a1-1680099099/vendor/autoload_runtime.php')
     (public/index.php:5)