Error 500 Internal Server Error

GET https://osm-labo.cipherbliss.com/admin/stats/76665/followup-graph/manhole

Exceptions

An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '76665' for key 'stats.uniq_stats_zone'

Exceptions 3

Doctrine\DBAL\Exception\ UniqueConstraintViolationException

Show exception properties
Doctrine\DBAL\Exception\UniqueConstraintViolationException {#945
  -query: Doctrine\DBAL\Query {#932
    -sql: "INSERT INTO stats (zone, completion_percent, places_count, avec_horaires, avec_adresse, avec_site, avec_accessibilite, avec_note, name, population, siren, code_epci, codes_postaux, date_created, date_modified, avec_siret, avec_name, osm_data_date_min, osm_data_date_avg, osm_data_date_max, budget_annuel, lat, lon, date_labourage_requested, date_labourage_done, kind) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"
    -params: array:26 [
      1 => "76665"
      2 => null
      3 => null
      4 => null
      5 => null
      6 => null
      7 => null
      8 => null
      9 => "Sauchay"
      10 => 454
      11 => 217606656
      12 => 247600729
      13 => "76630"
      14 => DateTime @1769987062 {#703
        date: 2026-02-01 23:04:22.996728 UTC (+00:00)
      }
      15 => DateTime @1769987062 {#708
        date: 2026-02-01 23:04:22.996729 UTC (+00:00)
      }
      16 => null
      17 => null
      18 => null
      19 => null
      20 => null
      21 => null
      22 => null
      23 => null
      24 => null
      25 => null
      26 => "request"
    ]
    -types: array:26 [
      1 => "string"
      2 => "integer"
      3 => "integer"
      4 => "integer"
      5 => "integer"
      6 => "integer"
      7 => "integer"
      8 => "integer"
      9 => "string"
      10 => "integer"
      11 => "integer"
      12 => "integer"
      13 => "string"
      14 => "datetime"
      15 => "datetime"
      16 => "integer"
      17 => "integer"
      18 => "datetime"
      19 => "datetime"
      20 => "datetime"
      21 => "decimal"
      22 => "decimal"
      23 => "decimal"
      24 => "datetime"
      25 => "datetime"
      26 => "string"
    ]
  }
}
  1. 1452,
  2. 1701 => new ForeignKeyConstraintViolationException($exception, $query),
  3. 1062,
  4. 1557,
  5. 1569,
  6. 1586 => new UniqueConstraintViolationException($exception, $query),
  7. 1054,
  8. 1166,
  9. 1611 => new InvalidFieldNameException($exception, $query),
  10. 1052,
  11. 1060,
  1. private function handleDriverException(
  2. Driver\Exception $driverException,
  3. ?Query $query,
  4. ): DriverException {
  5. $this->exceptionConverter ??= $this->driver->getExceptionConverter();
  6. $exception = $this->exceptionConverter->convert($driverException, $query);
  7. if ($exception instanceof ConnectionLost) {
  8. $this->close();
  9. }
in vendor/doctrine/dbal/src/Connection.php -> handleDriverException (line 1392)
  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. /** @internal */
  9. final public function convertException(Driver\Exception $e): DriverException
  10. {
in vendor/doctrine/dbal/src/Statement.php -> convertExceptionDuringQuery (line 108)
  1. return new Result(
  2. $this->stmt->execute(),
  3. $this->conn,
  4. );
  5. } catch (Driver\Exception $ex) {
  6. throw $this->conn->convertExceptionDuringQuery($ex, $this->sql, $this->params, $this->types);
  7. }
  8. }
  9. /**
  10. * Executes the statement with the currently bound parameters and return result.
  1. *
  2. * @throws Exception
  3. */
  4. public function executeStatement(): int|string
  5. {
  6. return $this->execute()->rowCount();
  7. }
  8. /**
  9. * Gets the wrapped driver statement.
  10. */
  1. foreach ($insertData[$tableName] as $column => $value) {
  2. $stmt->bindValue($paramIndex++, $value, $this->columnTypes[$column]);
  3. }
  4. }
  5. $stmt->executeStatement();
  6. if ($isPostInsertId) {
  7. $generatedId = $idGenerator->generateId($this->em, $entity);
  8. $id = [$this->class->identifier[0] => $generatedId];
in vendor/doctrine/orm/src/UnitOfWork.php -> executeInserts (line 1059)
  1. $persister->addInsert($entity);
  2. unset($this->entityInsertions[$oid]);
  3. }
  4. $persister->executeInserts();
  5. foreach ($batch->entities as $entity) {
  6. $oid = spl_object_id($entity);
  7. if (! isset($this->entityIdentifiers[$oid])) {
in vendor/doctrine/orm/src/UnitOfWork.php -> executeInserts (line 402)
  1. // Perform entity insertions first, so that all new entities have their rows in the database
  2. // and can be referred to by foreign keys. The commit order only needs to take new entities
  3. // into account (new entities referring to other new entities), since all other types (entities
  4. // with updates or scheduled deletions) are currently not a problem, since they are already
  5. // in the database.
  6. $this->executeInserts();
  7. }
  8. if ($this->entityUpdates) {
  9. // Updates do not need to follow a particular order
  10. $this->executeUpdates();
  1. * @throws ORMException
  2. */
  3. public function flush(): void
  4. {
  5. $this->errorIfClosed();
  6. $this->unitOfWork->commit();
  7. }
  8. /**
  9. * {@inheritDoc}
  10. */
EntityManager->flush() in src/Controller/AdminController.php (line 922)
  1. $stats->setSiren((int)$communeData['siren']);
  2. }
  3. // Persister l'objet Stats
  4. $this->entityManager->persist($stats);
  5. $this->entityManager->flush();
  6. $this->addFlash('success', 'Nouvelle commune ajoutée à partir des données de l\'API geo.api.gouv.fr.');
  7. }
  8. }
in vendor/symfony/http-kernel/HttpKernel.php -> followupThemeGraph (line 183)
  1. $this->dispatcher->dispatch($event, KernelEvents::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, $event);
  9. $this->dispatcher->dispatch($event, KernelEvents::VIEW);
  1. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2. $this->requestStack->push($request);
  3. $response = null;
  4. try {
  5. return $response = $this->handleRaw($request, $type);
  6. } catch (\Throwable $e) {
  7. if ($e instanceof \Error && !$this->handleAllThrowables) {
  8. throw $e;
  9. }
  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. ) {
  2. }
  3. public function run(): int
  4. {
  5. $response = $this->kernel->handle($this->request);
  6. if (Kernel::VERSION_ID >= 60400) {
  7. $response->send(false);
  8. if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in vendor/autoload_runtime.php -> run (line 29)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/home/poule/encrypted/stockage-syncable/www/server/sites/osm-labo/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. // Optimisations pour éviter les timeouts
  5. ini_set('max_execution_time', 300);
  6. ini_set('memory_limit', '1024M');
  7. set_time_limit(300);

Doctrine\DBAL\Driver\PDO\ Exception

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '76665' for key 'stats.uniq_stats_zone'

  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(): Result
  2. {
  3. try {
  4. $this->stmt->execute();
  5. } catch (PDOException $exception) {
  6. throw Exception::new($exception);
  7. }
  8. return new Result($this->stmt);
  9. }
  1. $this->wrappedStatement->bindValue($param, $value, $type);
  2. }
  3. public function execute(): Result
  4. {
  5. return $this->wrappedStatement->execute();
  6. }
  7. }
  1. 'sql' => $this->sql,
  2. 'params' => $this->params,
  3. 'types' => $this->types,
  4. ]);
  5. return parent::execute();
  6. }
  7. }
  1. $this->wrappedStatement->bindValue($param, $value, $type);
  2. }
  3. public function execute(): Result
  4. {
  5. return $this->wrappedStatement->execute();
  6. }
  7. }
  1. $this->stopwatch?->start('doctrine', 'doctrine');
  2. $query->start();
  3. try {
  4. return parent::execute();
  5. } finally {
  6. $query->stop();
  7. $this->stopwatch?->stop('doctrine');
  8. }
  9. }
  1. /** @throws Exception */
  2. private function execute(): Result
  3. {
  4. try {
  5. return new Result(
  6. $this->stmt->execute(),
  7. $this->conn,
  8. );
  9. } catch (Driver\Exception $ex) {
  10. throw $this->conn->convertExceptionDuringQuery($ex, $this->sql, $this->params, $this->types);
  11. }
  1. *
  2. * @throws Exception
  3. */
  4. public function executeStatement(): int|string
  5. {
  6. return $this->execute()->rowCount();
  7. }
  8. /**
  9. * Gets the wrapped driver statement.
  10. */
  1. foreach ($insertData[$tableName] as $column => $value) {
  2. $stmt->bindValue($paramIndex++, $value, $this->columnTypes[$column]);
  3. }
  4. }
  5. $stmt->executeStatement();
  6. if ($isPostInsertId) {
  7. $generatedId = $idGenerator->generateId($this->em, $entity);
  8. $id = [$this->class->identifier[0] => $generatedId];
in vendor/doctrine/orm/src/UnitOfWork.php -> executeInserts (line 1059)
  1. $persister->addInsert($entity);
  2. unset($this->entityInsertions[$oid]);
  3. }
  4. $persister->executeInserts();
  5. foreach ($batch->entities as $entity) {
  6. $oid = spl_object_id($entity);
  7. if (! isset($this->entityIdentifiers[$oid])) {
in vendor/doctrine/orm/src/UnitOfWork.php -> executeInserts (line 402)
  1. // Perform entity insertions first, so that all new entities have their rows in the database
  2. // and can be referred to by foreign keys. The commit order only needs to take new entities
  3. // into account (new entities referring to other new entities), since all other types (entities
  4. // with updates or scheduled deletions) are currently not a problem, since they are already
  5. // in the database.
  6. $this->executeInserts();
  7. }
  8. if ($this->entityUpdates) {
  9. // Updates do not need to follow a particular order
  10. $this->executeUpdates();
  1. * @throws ORMException
  2. */
  3. public function flush(): void
  4. {
  5. $this->errorIfClosed();
  6. $this->unitOfWork->commit();
  7. }
  8. /**
  9. * {@inheritDoc}
  10. */
EntityManager->flush() in src/Controller/AdminController.php (line 922)
  1. $stats->setSiren((int)$communeData['siren']);
  2. }
  3. // Persister l'objet Stats
  4. $this->entityManager->persist($stats);
  5. $this->entityManager->flush();
  6. $this->addFlash('success', 'Nouvelle commune ajoutée à partir des données de l\'API geo.api.gouv.fr.');
  7. }
  8. }
in vendor/symfony/http-kernel/HttpKernel.php -> followupThemeGraph (line 183)
  1. $this->dispatcher->dispatch($event, KernelEvents::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, $event);
  9. $this->dispatcher->dispatch($event, KernelEvents::VIEW);
  1. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2. $this->requestStack->push($request);
  3. $response = null;
  4. try {
  5. return $response = $this->handleRaw($request, $type);
  6. } catch (\Throwable $e) {
  7. if ($e instanceof \Error && !$this->handleAllThrowables) {
  8. throw $e;
  9. }
  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. ) {
  2. }
  3. public function run(): int
  4. {
  5. $response = $this->kernel->handle($this->request);
  6. if (Kernel::VERSION_ID >= 60400) {
  7. $response->send(false);
  8. if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in vendor/autoload_runtime.php -> run (line 29)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/home/poule/encrypted/stockage-syncable/www/server/sites/osm-labo/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. // Optimisations pour éviter les timeouts
  5. ini_set('max_execution_time', 300);
  6. ini_set('memory_limit', '1024M');
  7. set_time_limit(300);

PDOException

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '76665' for key 'stats.uniq_stats_zone'

  1. }
  2. public function execute(): Result
  3. {
  4. try {
  5. $this->stmt->execute();
  6. } catch (PDOException $exception) {
  7. throw Exception::new($exception);
  8. }
  9. return new Result($this->stmt);
  1. }
  2. public function execute(): Result
  3. {
  4. try {
  5. $this->stmt->execute();
  6. } catch (PDOException $exception) {
  7. throw Exception::new($exception);
  8. }
  9. return new Result($this->stmt);
  1. $this->wrappedStatement->bindValue($param, $value, $type);
  2. }
  3. public function execute(): Result
  4. {
  5. return $this->wrappedStatement->execute();
  6. }
  7. }
  1. 'sql' => $this->sql,
  2. 'params' => $this->params,
  3. 'types' => $this->types,
  4. ]);
  5. return parent::execute();
  6. }
  7. }
  1. $this->wrappedStatement->bindValue($param, $value, $type);
  2. }
  3. public function execute(): Result
  4. {
  5. return $this->wrappedStatement->execute();
  6. }
  7. }
  1. $this->stopwatch?->start('doctrine', 'doctrine');
  2. $query->start();
  3. try {
  4. return parent::execute();
  5. } finally {
  6. $query->stop();
  7. $this->stopwatch?->stop('doctrine');
  8. }
  9. }
  1. /** @throws Exception */
  2. private function execute(): Result
  3. {
  4. try {
  5. return new Result(
  6. $this->stmt->execute(),
  7. $this->conn,
  8. );
  9. } catch (Driver\Exception $ex) {
  10. throw $this->conn->convertExceptionDuringQuery($ex, $this->sql, $this->params, $this->types);
  11. }
  1. *
  2. * @throws Exception
  3. */
  4. public function executeStatement(): int|string
  5. {
  6. return $this->execute()->rowCount();
  7. }
  8. /**
  9. * Gets the wrapped driver statement.
  10. */
  1. foreach ($insertData[$tableName] as $column => $value) {
  2. $stmt->bindValue($paramIndex++, $value, $this->columnTypes[$column]);
  3. }
  4. }
  5. $stmt->executeStatement();
  6. if ($isPostInsertId) {
  7. $generatedId = $idGenerator->generateId($this->em, $entity);
  8. $id = [$this->class->identifier[0] => $generatedId];
in vendor/doctrine/orm/src/UnitOfWork.php -> executeInserts (line 1059)
  1. $persister->addInsert($entity);
  2. unset($this->entityInsertions[$oid]);
  3. }
  4. $persister->executeInserts();
  5. foreach ($batch->entities as $entity) {
  6. $oid = spl_object_id($entity);
  7. if (! isset($this->entityIdentifiers[$oid])) {
in vendor/doctrine/orm/src/UnitOfWork.php -> executeInserts (line 402)
  1. // Perform entity insertions first, so that all new entities have their rows in the database
  2. // and can be referred to by foreign keys. The commit order only needs to take new entities
  3. // into account (new entities referring to other new entities), since all other types (entities
  4. // with updates or scheduled deletions) are currently not a problem, since they are already
  5. // in the database.
  6. $this->executeInserts();
  7. }
  8. if ($this->entityUpdates) {
  9. // Updates do not need to follow a particular order
  10. $this->executeUpdates();
  1. * @throws ORMException
  2. */
  3. public function flush(): void
  4. {
  5. $this->errorIfClosed();
  6. $this->unitOfWork->commit();
  7. }
  8. /**
  9. * {@inheritDoc}
  10. */
EntityManager->flush() in src/Controller/AdminController.php (line 922)
  1. $stats->setSiren((int)$communeData['siren']);
  2. }
  3. // Persister l'objet Stats
  4. $this->entityManager->persist($stats);
  5. $this->entityManager->flush();
  6. $this->addFlash('success', 'Nouvelle commune ajoutée à partir des données de l\'API geo.api.gouv.fr.');
  7. }
  8. }
in vendor/symfony/http-kernel/HttpKernel.php -> followupThemeGraph (line 183)
  1. $this->dispatcher->dispatch($event, KernelEvents::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, $event);
  9. $this->dispatcher->dispatch($event, KernelEvents::VIEW);
  1. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2. $this->requestStack->push($request);
  3. $response = null;
  4. try {
  5. return $response = $this->handleRaw($request, $type);
  6. } catch (\Throwable $e) {
  7. if ($e instanceof \Error && !$this->handleAllThrowables) {
  8. throw $e;
  9. }
  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. ) {
  2. }
  3. public function run(): int
  4. {
  5. $response = $this->kernel->handle($this->request);
  6. if (Kernel::VERSION_ID >= 60400) {
  7. $response->send(false);
  8. if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in vendor/autoload_runtime.php -> run (line 29)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/home/poule/encrypted/stockage-syncable/www/server/sites/osm-labo/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. // Optimisations pour éviter les timeouts
  5. ini_set('max_execution_time', 300);
  6. ini_set('memory_limit', '1024M');
  7. set_time_limit(300);

Logs

Level Channel Message
INFO 17:40:08 deprecation User Deprecated: Class "Doctrine\ORM\Proxy\Autoloader" is deprecated. Use native lazy objects instead. (Autoloader.php:74 called by DoctrineBundle.php:136, https://github.com/doctrine/orm/pull/12005, package doctrine/orm)
{
    "exception": {}
}
INFO 17:40:08 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "237fd7"
    },
    "request_uri": "https://osm-labo.cipherbliss.com/_profiler/237fd7?panel=exception&type=request",
    "method": "GET"
}
DEBUG 17:40:08 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}
DEBUG 17:40:08 event Notified event "kernel.request" to listener "App\EventSubscriber\WikiRedirectSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "App\\EventSubscriber\\WikiRedirectSubscriber::onKernelRequest"
}
DEBUG 17:40:08 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}
DEBUG 17:40:08 event 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 17:40:08 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}
DEBUG 17:40:08 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}
DEBUG 17:40:08 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}
DEBUG 17:40:08 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}
DEBUG 17:40:08 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
}
DEBUG 17:40:08 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
}
DEBUG 17:40:08 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
}
DEBUG 17:40:08 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}
DEBUG 17:40:08 event Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}
DEBUG 17:40:08 event 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 17:40:08 event 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 17:40:08 event 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 17:40:08 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\Controller\ArgumentResolver\RequestPayloadValueResolver::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\RequestPayloadValueResolver::onKernelControllerArguments"
}
DEBUG 17:40:08 event Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::onControllerArguments"
}

Stack Traces 3

[3/3] UniqueConstraintViolationException
Doctrine\DBAL\Exception\UniqueConstraintViolationException:
An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '76665' for key 'stats.uniq_stats_zone'

  at vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:60
  at Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert()
     (vendor/doctrine/dbal/src/Connection.php:1456)
  at Doctrine\DBAL\Connection->handleDriverException()
     (vendor/doctrine/dbal/src/Connection.php:1392)
  at Doctrine\DBAL\Connection->convertExceptionDuringQuery()
     (vendor/doctrine/dbal/src/Statement.php:108)
  at Doctrine\DBAL\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:133)
  at Doctrine\DBAL\Statement->executeStatement()
     (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:253)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->executeInserts()
     (vendor/doctrine/orm/src/UnitOfWork.php:1059)
  at Doctrine\ORM\UnitOfWork->executeInserts()
     (vendor/doctrine/orm/src/UnitOfWork.php:402)
  at Doctrine\ORM\UnitOfWork->commit()
     (vendor/doctrine/orm/src/EntityManager.php:268)
  at Doctrine\ORM\EntityManager->flush()
     (src/Controller/AdminController.php:922)
  at App\Controller\AdminController->followupThemeGraph()
     (vendor/symfony/http-kernel/HttpKernel.php:183)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:182)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:29)
  at require_once('/home/poule/encrypted/stockage-syncable/www/server/sites/osm-labo/vendor/autoload_runtime.php')
     (public/index.php:5)                
[2/3] Exception
Doctrine\DBAL\Driver\PDO\Exception:
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '76665' for key 'stats.uniq_stats_zone'

  at vendor/doctrine/dbal/src/Driver/PDO/Exception.php:24
  at Doctrine\DBAL\Driver\PDO\Exception::new()
     (vendor/doctrine/dbal/src/Driver/PDO/Statement.php:57)
  at Doctrine\DBAL\Driver\PDO\Statement->execute()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:24)
  at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute()
     (vendor/doctrine/dbal/src/Logging/Statement.php:46)
  at Doctrine\DBAL\Logging\Statement->execute()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:24)
  at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute()
     (vendor/symfony/doctrine-bridge/Middleware/Debug/Statement.php:58)
  at Symfony\Bridge\Doctrine\Middleware\Debug\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:104)
  at Doctrine\DBAL\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:133)
  at Doctrine\DBAL\Statement->executeStatement()
     (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:253)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->executeInserts()
     (vendor/doctrine/orm/src/UnitOfWork.php:1059)
  at Doctrine\ORM\UnitOfWork->executeInserts()
     (vendor/doctrine/orm/src/UnitOfWork.php:402)
  at Doctrine\ORM\UnitOfWork->commit()
     (vendor/doctrine/orm/src/EntityManager.php:268)
  at Doctrine\ORM\EntityManager->flush()
     (src/Controller/AdminController.php:922)
  at App\Controller\AdminController->followupThemeGraph()
     (vendor/symfony/http-kernel/HttpKernel.php:183)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:182)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:29)
  at require_once('/home/poule/encrypted/stockage-syncable/www/server/sites/osm-labo/vendor/autoload_runtime.php')
     (public/index.php:5)                
[1/3] PDOException
PDOException:
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '76665' for key 'stats.uniq_stats_zone'

  at vendor/doctrine/dbal/src/Driver/PDO/Statement.php:55
  at PDOStatement->execute()
     (vendor/doctrine/dbal/src/Driver/PDO/Statement.php:55)
  at Doctrine\DBAL\Driver\PDO\Statement->execute()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:24)
  at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute()
     (vendor/doctrine/dbal/src/Logging/Statement.php:46)
  at Doctrine\DBAL\Logging\Statement->execute()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:24)
  at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute()
     (vendor/symfony/doctrine-bridge/Middleware/Debug/Statement.php:58)
  at Symfony\Bridge\Doctrine\Middleware\Debug\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:104)
  at Doctrine\DBAL\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:133)
  at Doctrine\DBAL\Statement->executeStatement()
     (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:253)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->executeInserts()
     (vendor/doctrine/orm/src/UnitOfWork.php:1059)
  at Doctrine\ORM\UnitOfWork->executeInserts()
     (vendor/doctrine/orm/src/UnitOfWork.php:402)
  at Doctrine\ORM\UnitOfWork->commit()
     (vendor/doctrine/orm/src/EntityManager.php:268)
  at Doctrine\ORM\EntityManager->flush()
     (src/Controller/AdminController.php:922)
  at App\Controller\AdminController->followupThemeGraph()
     (vendor/symfony/http-kernel/HttpKernel.php:183)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:182)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:29)
  at require_once('/home/poule/encrypted/stockage-syncable/www/server/sites/osm-labo/vendor/autoload_runtime.php')
     (public/index.php:5)