Symfony Exception

An exception occurred while executing a query: SQLSTATE[HY000]: General error: 1364 Field 'id' doesn't have a default value

Exceptions 3

Doctrine\DBAL\Exception\ NotNullConstraintViolationException

  1.             case 1171:
  2.             case 1252:
  3.             case 1263:
  4.             case 1364:
  5.             case 1566:
  6.                 return new NotNullConstraintViolationException($exception$query);
  7.         }
  8.         return new DriverException($exception$query);
  9.     }
  10. }
  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 1874)
  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 194)
  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.         if ($params === []) {
  2.             $params null// Workaround as long execute() exists and used internally.
  3.         }
  4.         return $this->execute($params)->rowCount();
  5.     }
  6.     /**
  7.      * Gets the wrapped driver statement.
  8.      *
  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];
  9.                 $postInsertIds[] = [
  1.             if ($invoke !== ListenersInvoker::INVOKE_NONE) {
  2.                 $entities[] = $entity;
  3.             }
  4.         }
  5.         $postInsertIds $persister->executeInserts();
  6.         if ($postInsertIds) {
  7.             // Persister returned post-insert IDs
  8.             foreach ($postInsertIds as $postInsertId) {
  9.                 $idField $class->getSingleIdentifierFieldName();
  1.                 }
  2.             }
  3.             if ($this->entityInsertions) {
  4.                 foreach ($commitOrder as $class) {
  5.                     $this->executeInserts($class);
  6.                 }
  7.             }
  8.             if ($this->entityUpdates) {
  9.                 foreach ($commitOrder as $class) {
  1.             );
  2.         }
  3.         $this->errorIfClosed();
  4.         $this->unitOfWork->commit($entity);
  5.     }
  6.     /**
  7.      * Finds an Entity by its identifier.
  8.      *
EntityManager->flush() in src/Controller/ProductController.php (line 92)
  1.             $p->setSewing($sewingRepository->find((int)$request->query->get("sewing")));
  2.             $p->setQty(1);
  3.             $manager->persist($p);
  4.             $manager->flush();
  5.             $this->addFlash('success-cart'"Produit ajouté Ã  votre panier");
  6.             return $this->redirectToRoute("show_product", ["url" => $product->getUrl()], 301);
  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.     }
Kernel->handle() in public74830432/index.php (line 37)
  1. }
  2. $GLOBALS["dir"] = __DIR__;
  3. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Doctrine\DBAL\Driver\PDO\ Exception

SQLSTATE[HY000]: General error: 1364 Field 'id' doesn't have a default value

  1.         } else {
  2.             $code     $exception->getCode();
  3.             $sqlState null;
  4.         }
  5.         return new self($exception->getMessage(), $sqlState$code$exception);
  6.     }
  7. }
  1.         }
  2.         try {
  3.             $this->stmt->execute($params);
  4.         } catch (PDOException $exception) {
  5.             throw Exception::new($exception);
  6.         }
  7.         return new Result($this->stmt);
  8.     }
  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.         if ($params === []) {
  2.             $params null// Workaround as long execute() exists and used internally.
  3.         }
  4.         return $this->execute($params)->rowCount();
  5.     }
  6.     /**
  7.      * Gets the wrapped driver statement.
  8.      *
  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];
  9.                 $postInsertIds[] = [
  1.             if ($invoke !== ListenersInvoker::INVOKE_NONE) {
  2.                 $entities[] = $entity;
  3.             }
  4.         }
  5.         $postInsertIds $persister->executeInserts();
  6.         if ($postInsertIds) {
  7.             // Persister returned post-insert IDs
  8.             foreach ($postInsertIds as $postInsertId) {
  9.                 $idField $class->getSingleIdentifierFieldName();
  1.                 }
  2.             }
  3.             if ($this->entityInsertions) {
  4.                 foreach ($commitOrder as $class) {
  5.                     $this->executeInserts($class);
  6.                 }
  7.             }
  8.             if ($this->entityUpdates) {
  9.                 foreach ($commitOrder as $class) {
  1.             );
  2.         }
  3.         $this->errorIfClosed();
  4.         $this->unitOfWork->commit($entity);
  5.     }
  6.     /**
  7.      * Finds an Entity by its identifier.
  8.      *
EntityManager->flush() in src/Controller/ProductController.php (line 92)
  1.             $p->setSewing($sewingRepository->find((int)$request->query->get("sewing")));
  2.             $p->setQty(1);
  3.             $manager->persist($p);
  4.             $manager->flush();
  5.             $this->addFlash('success-cart'"Produit ajouté Ã  votre panier");
  6.             return $this->redirectToRoute("show_product", ["url" => $product->getUrl()], 301);
  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.     }
Kernel->handle() in public74830432/index.php (line 37)
  1. }
  2. $GLOBALS["dir"] = __DIR__;
  3. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

PDOException

SQLSTATE[HY000]: General error: 1364 Field 'id' doesn't have a default value

  1.                     ' Statement::bindParam() or Statement::bindValue() instead.',
  2.             );
  3.         }
  4.         try {
  5.             $this->stmt->execute($params);
  6.         } catch (PDOException $exception) {
  7.             throw Exception::new($exception);
  8.         }
  9.         return new Result($this->stmt);
  1.                     ' Statement::bindParam() or Statement::bindValue() instead.',
  2.             );
  3.         }
  4.         try {
  5.             $this->stmt->execute($params);
  6.         } catch (PDOException $exception) {
  7.             throw Exception::new($exception);
  8.         }
  9.         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.         if ($params === []) {
  2.             $params null// Workaround as long execute() exists and used internally.
  3.         }
  4.         return $this->execute($params)->rowCount();
  5.     }
  6.     /**
  7.      * Gets the wrapped driver statement.
  8.      *
  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];
  9.                 $postInsertIds[] = [
  1.             if ($invoke !== ListenersInvoker::INVOKE_NONE) {
  2.                 $entities[] = $entity;
  3.             }
  4.         }
  5.         $postInsertIds $persister->executeInserts();
  6.         if ($postInsertIds) {
  7.             // Persister returned post-insert IDs
  8.             foreach ($postInsertIds as $postInsertId) {
  9.                 $idField $class->getSingleIdentifierFieldName();
  1.                 }
  2.             }
  3.             if ($this->entityInsertions) {
  4.                 foreach ($commitOrder as $class) {
  5.                     $this->executeInserts($class);
  6.                 }
  7.             }
  8.             if ($this->entityUpdates) {
  9.                 foreach ($commitOrder as $class) {
  1.             );
  2.         }
  3.         $this->errorIfClosed();
  4.         $this->unitOfWork->commit($entity);
  5.     }
  6.     /**
  7.      * Finds an Entity by its identifier.
  8.      *
EntityManager->flush() in src/Controller/ProductController.php (line 92)
  1.             $p->setSewing($sewingRepository->find((int)$request->query->get("sewing")));
  2.             $p->setQty(1);
  3.             $manager->persist($p);
  4.             $manager->flush();
  5.             $this->addFlash('success-cart'"Produit ajouté Ã  votre panier");
  6.             return $this->redirectToRoute("show_product", ["url" => $product->getUrl()], 301);
  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.     }
Kernel->handle() in public74830432/index.php (line 37)
  1. }
  2. $GLOBALS["dir"] = __DIR__;
  3. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Logs 1

Level Channel Message
INFO 16:55:31 deprecation User Deprecated: Since symfony/security-core 5.4: Not setting the 5th argument of "Symfony\Component\Security\Core\Authorization\AuthorizationChecker::__construct" to "false" is deprecated.
{
    "exception": {}
}
INFO 16:55:31 deprecation User Deprecated: Since symfony/framework-bundle 5.3: The "session.storage.native" service is deprecated, use "session.storage.factory.native" instead.
{
    "exception": {}
}
INFO 16:55:31 deprecation User Deprecated: Since symfony/framework-bundle 5.3: The "session.storage.metadata_bag" service is deprecated, create your own "session.storage.factory" instead.
{
    "exception": {}
}
INFO 16:55:31 request Matched route "show_product".
{
    "route": "show_product",
    "route_parameters": {
        "_route": "show_product",
        "_controller": "App\\Controller\\ProductController::show",
        "url": "masque"
    },
    "request_uri": "https://www.cooperative-des-possibles.fr/produits/masque?add=product&sewing=72",
    "method": "GET"
}
INFO 16:55:31 deprecation User Deprecated: Since symfony/security-guard 5.3: The "Symfony\Component\Security\Guard\PasswordAuthenticatedInterface" class is deprecated, use the new authenticator system instead.
{
    "exception": {}
}
INFO 16:55:31 deprecation User Deprecated: Since symfony/security-bundle 5.3: The ".container.private.security.password_encoder" service is deprecated, use "security.user_password_hasher" instead.
{
    "exception": {}
}
INFO 16:55:31 deprecation User Deprecated: Since symfony/security-core 5.3: The "Symfony\Component\Security\Core\Encoder\UserPasswordEncoder" class is deprecated, use "Symfony\Component\PasswordHasher\Hasher\UserPasswordHasher" instead.
{
    "exception": {}
}
INFO 16:55:31 deprecation User Deprecated: Since symfony/security-core 5.3: The "Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface" interface is deprecated, use "Symfony\Component\PasswordHasher\Hasher\UserPasswordHasherInterface" instead.
{
    "exception": {}
}
INFO 16:55:31 deprecation User Deprecated: Since symfony/security-bundle 5.3: The "security.encoder_factory.generic" service is deprecated, use "security.password_hasher_factory" instead.
{
    "exception": {}
}
INFO 16:55:31 deprecation User Deprecated: Since symfony/security-core 5.3: The "Symfony\Component\Security\Core\Encoder\EncoderFactory" class is deprecated, use "Symfony\Component\PasswordHasher\Hasher\PasswordHasherFactory" instead.
{
    "exception": {}
}
INFO 16:55:31 deprecation User Deprecated: Since symfony/security-core 5.3: The "Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface" class is deprecated, use "Symfony\Component\PasswordHasher\Hasher\PasswordHasherFactoryInterface" instead.
{
    "exception": {}
}
INFO 16:55:31 deprecation User Deprecated: Since symfony/security-bundle 5.3: The "security.authentication.listener.guard.main" service is deprecated, use the new authenticator system instead.
{
    "exception": {}
}
INFO 16:55:31 deprecation User Deprecated: Since symfony/security-bundle 5.3: The "security.authentication.guard_handler" service is deprecated, use the new authenticator system instead.
{
    "exception": {}
}
INFO 16:55:31 deprecation User Deprecated: Since symfony/security-guard 5.3: The "Symfony\Component\Security\Guard\GuardAuthenticatorHandler" class is deprecated, use the new authenticator system instead.
{
    "exception": {}
}
INFO 16:55:31 deprecation User Deprecated: Since symfony/security-bundle 5.3: The "security.authentication.manager" service is deprecated, use the new authenticator system instead.
{
    "exception": {}
}
INFO 16:55:31 deprecation User Deprecated: Since symfony/security-core 5.3: The "Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager" class is deprecated, use the new authenticator system instead.
{
    "exception": {}
}
INFO 16:55:31 deprecation User Deprecated: Since symfony/security-core 5.3: The "Symfony\Component\Security\Core\Event\AuthenticationFailureEvent" class is deprecated, use "Symfony\Component\Security\Http\Event\LoginFailureEvent" with the new authenticator system instead.
{
    "exception": {}
}
INFO 16:55:31 deprecation User Deprecated: Since symfony/security-guard 5.3: The "Symfony\Component\Security\Guard\Firewall\GuardAuthenticationListener" class is deprecated, use the new authenticator system instead.
{
    "exception": {}
}
INFO 16:55:31 deprecation User Deprecated: Since symfony/security-bundle 5.3: The "security.authentication.listener.anonymous.main" service is deprecated, use the new authenticator system instead.
{
    "exception": {}
}
INFO 16:55:31 deprecation User Deprecated: Since symfony/security-http 5.3: The "Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener" class is deprecated, use the new authenticator system instead.
{
    "exception": {}
}
INFO 16:55:31 deprecation User Deprecated: Since symfony/security-http 5.4: The $authManager argument of "Symfony\Component\Security\Http\Firewall\AccessListener::__construct" is deprecated.
{
    "exception": {}
}
INFO 16:55:31 deprecation User Deprecated: Since symfony/security-http 5.4: Not setting the $exceptionOnNoToken argument of "Symfony\Component\Security\Http\Firewall\AccessListener::__construct" to "false" is deprecated.
{
    "exception": {}
}
DEBUG 16:55:31 security Checking for guard authentication credentials.
{
    "firewall_key": "main",
    "authenticators": 1
}
DEBUG 16:55:31 security Checking support on guard authenticator.
{
    "firewall_key": "main",
    "authenticator": "App\\Security\\AuthAuthenticator"
}
DEBUG 16:55:31 security Guard authenticator does not support the request.
{
    "firewall_key": "main",
    "authenticator": "App\\Security\\AuthAuthenticator"
}
DEBUG 16:55:31 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}
DEBUG 16:55:31 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}
DEBUG 16:55:31 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}
DEBUG 16:55:31 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}
DEBUG 16:55:31 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}
DEBUG 16:55:31 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}
DEBUG 16:55:31 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
}
DEBUG 16:55:31 event Notified event "kernel.request" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::handleLegacyEaContext".
{
    "event": "kernel.request",
    "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::handleLegacyEaContext"
}
DEBUG 16:55:31 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
}
DEBUG 16:55:31 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
}
DEBUG 16:55:31 event Notified event "kernel.request" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelRequest"
}
INFO 16:55:31 doctrine Connecting with parameters {params}
{
    "params": {
        "url": "<redacted>",
        "driver": "pdo_mysql",
        "host": "localhost",
        "port": 3306,
        "user": "coop",
        "password": "<redacted>",
        "driverOptions": [],
        "serverVersion": "mariadb-10.4.11",
        "defaultTableOptions": {
            "collation": "utf8mb4_unicode_ci"
        },
        "dbname": "cooperative-des-possibles.fr",
        "charset": "utf8mb4"
    }
}
DEBUG 16:55:31 doctrine Executing statement: SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.content AS content_4, t0.sub_title AS sub_title_5, t0.url AS url_6, t0.price AS price_7, t0.order_display AS order_display_8, t0.visible AS visible_9, t0.filename AS filename_10, t0.update_at AS update_at_11, t0.activity_id AS activity_id_12 FROM coop_web_product t0 WHERE t0.url = ? LIMIT 1 (parameters: {params}, types: {types})
{
    "sql": "SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.content AS content_4, t0.sub_title AS sub_title_5, t0.url AS url_6, t0.price AS price_7, t0.order_display AS order_display_8, t0.visible AS visible_9, t0.filename AS filename_10, t0.update_at AS update_at_11, t0.activity_id AS activity_id_12 FROM coop_web_product t0 WHERE t0.url = ? LIMIT 1",
    "params": {
        "1": "masque"
    },
    "types": {
        "1": 2
    }
}
DEBUG 16:55:31 event Notified event "kernel.controller" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelController".
{
    "event": "kernel.controller",
    "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelController"
}
DEBUG 16:55:31 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}
DEBUG 16:55:31 event Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}
DEBUG 16:55:31 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\ControllerListener::onKernelController"
}
DEBUG 16:55:31 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\ParamConverterListener::onKernelController"
}
DEBUG 16:55:31 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\HttpCacheListener::onKernelController"
}
DEBUG 16:55:31 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\TemplateListener::onKernelController"
}
DEBUG 16:55:31 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"
}
DEBUG 16:55:31 event Notified event "kernel.controller_arguments" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\SecurityListener::onKernelControllerArguments"
}
DEBUG 16:55:31 event Notified event "kernel.controller_arguments" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\IsGrantedListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\IsGrantedListener::onKernelControllerArguments"
}
INFO 16:55:31 deprecation User Deprecated: Since symfony/framework-bundle 5.3: The "session.storage.factory.service" service is deprecated, use "session.storage.factory.native", "session.storage.factory.php_bridge" or "session.storage.factory.mock_file" instead.
{
    "exception": {}
}
INFO 16:55:31 deprecation User Deprecated: Since symfony/framework-bundle 5.4: Method "Symfony\Bundle\FrameworkBundle\Controller\AbstractController::getDoctrine()" is deprecated, inject an instance of ManagerRegistry in your controller instead.
{
    "exception": {}
}
DEBUG 16:55:31 doctrine Executing statement: SELECT t0.id AS id_1, t0.name AS name_2, t0.surname AS surname_3, t0.adress AS adress_4, t0.city AS city_5, t0.codepostal AS codepostal_6, t0.phone AS phone_7, t0.id_session AS id_session_8, t0.sended AS sended_9, t0.date AS date_10, t0.email AS email_11, t0.message AS message_12, t0.user_id AS user_id_13 FROM coop_web_cart t0 WHERE t0.id_session = ? LIMIT 1 (parameters: {params}, types: {types})
{
    "sql": "SELECT t0.id AS id_1, t0.name AS name_2, t0.surname AS surname_3, t0.adress AS adress_4, t0.city AS city_5, t0.codepostal AS codepostal_6, t0.phone AS phone_7, t0.id_session AS id_session_8, t0.sended AS sended_9, t0.date AS date_10, t0.email AS email_11, t0.message AS message_12, t0.user_id AS user_id_13 FROM coop_web_cart t0 WHERE t0.id_session = ? LIMIT 1",
    "params": {
        "1": "171345933166215083b133f0.16205878"
    },
    "types": {
        "1": 2
    }
}
DEBUG 16:55:31 doctrine Beginning transaction
DEBUG 16:55:31 doctrine Executing statement: INSERT INTO coop_web_cart (name, surname, adress, city, codepostal, phone, id_session, sended, date, email, message, user_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (parameters: {params}, types: {types})
{
    "sql": "INSERT INTO coop_web_cart (name, surname, adress, city, codepostal, phone, id_session, sended, date, email, message, user_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",
    "params": {
        "1": "",
        "2": "",
        "3": "",
        "4": "",
        "5": "",
        "6": "",
        "7": "171345933166215083b133f0.16205878",
        "8": 0,
        "9": null,
        "10": "",
        "11": "",
        "12": null
    },
    "types": {
        "1": 2,
        "2": 2,
        "3": 2,
        "4": 2,
        "5": 2,
        "6": 2,
        "7": 2,
        "8": 5,
        "9": 2,
        "10": 2,
        "11": 2,
        "12": 1
    }
}
DEBUG 16:55:31 doctrine Committing transaction
DEBUG 16:55:31 doctrine Executing statement: SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3, t0.price AS price_4, t0.filename AS filename_5, t0.update_at AS update_at_6 FROM coop_web_options t0 INNER JOIN product_options ON t0.id = product_options.options_id WHERE product_options.product_id = ? (parameters: {params}, types: {types})
{
    "sql": "SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3, t0.price AS price_4, t0.filename AS filename_5, t0.update_at AS update_at_6 FROM coop_web_options t0 INNER JOIN product_options ON t0.id = product_options.options_id WHERE product_options.product_id = ?",
    "params": {
        "1": 39
    },
    "types": {
        "1": 1
    }
}
DEBUG 16:55:31 doctrine Executing statement: SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.sub_title AS sub_title_4, t0.visible AS visible_5, t0.filename AS filename_6, t0.update_at AS update_at_7 FROM coop_web_sewing t0 WHERE t0.id = ? (parameters: {params}, types: {types})
{
    "sql": "SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.sub_title AS sub_title_4, t0.visible AS visible_5, t0.filename AS filename_6, t0.update_at AS update_at_7 FROM coop_web_sewing t0 WHERE t0.id = ?",
    "params": {
        "1": 72
    },
    "types": {
        "1": 1
    }
}
DEBUG 16:55:31 doctrine Beginning transaction
DEBUG 16:55:31 doctrine Executing statement: INSERT INTO coop_web_product_in_cart (price, qty, product_id, cart_id, sewing_id, option_select_id) VALUES (?, ?, ?, ?, ?, ?) (parameters: {params}, types: {types})
{
    "sql": "INSERT INTO coop_web_product_in_cart (price, qty, product_id, cart_id, sewing_id, option_select_id) VALUES (?, ?, ?, ?, ?, ?)",
    "params": {
        "1": 4,
        "2": 1,
        "3": 39,
        "4": 75597,
        "5": 72,
        "6": null
    },
    "types": {
        "1": 2,
        "2": 1,
        "3": 1,
        "4": 1,
        "5": 1,
        "6": 1
    }
}
DEBUG 16:55:31 doctrine Rolling back transaction
INFO 16:55:31 deprecation User Deprecated: Since symfony/security-bundle 5.4: Setting the $authenticatorManagerEnabled argument of "Symfony\Bundle\SecurityBundle\DataCollector\SecurityDataCollector::__construct" to "false" is deprecated, use the new authenticator system instead.
{
    "exception": {}
}
CRITICAL 16:55:31 request Uncaught PHP Exception Doctrine\DBAL\Exception\NotNullConstraintViolationException: "An exception occurred while executing a query: SQLSTATE[HY000]: General error: 1364 Field 'id' doesn't have a default value" at /home/cooperative-des-possibles/public_html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 114
{
    "exception": {}
}
DEBUG 16:55:31 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}
DEBUG 16:55:31 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}
DEBUG 16:55:31 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}
DEBUG 16:55:31 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}
DEBUG 16:55:31 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}
DEBUG 16:55:31 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}
DEBUG 16:55:31 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
}
DEBUG 16:55:31 event Notified event "kernel.request" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::handleLegacyEaContext".
{
    "event": "kernel.request",
    "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::handleLegacyEaContext"
}
DEBUG 16:55:31 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
}
DEBUG 16:55:31 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
}
DEBUG 16:55:31 event Notified event "kernel.request" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelRequest"
}
DEBUG 16:55:31 event Notified event "kernel.controller" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelController".
{
    "event": "kernel.controller",
    "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelController"
}
DEBUG 16:55:31 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}
DEBUG 16:55:31 event Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}
DEBUG 16:55:31 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\ControllerListener::onKernelController"
}
DEBUG 16:55:31 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\ParamConverterListener::onKernelController"
}
DEBUG 16:55:31 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\HttpCacheListener::onKernelController"
}
DEBUG 16:55:31 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\TemplateListener::onKernelController"
}
DEBUG 16:55:31 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"
}
DEBUG 16:55:31 event Notified event "kernel.controller_arguments" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\SecurityListener::onKernelControllerArguments"
}
DEBUG 16:55:31 event Notified event "kernel.controller_arguments" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\IsGrantedListener::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\IsGrantedListener::onKernelControllerArguments"
}

Stack Traces 3

[3/3] NotNullConstraintViolationException
Doctrine\DBAL\Exception\NotNullConstraintViolationException:
An exception occurred while executing a query: SQLSTATE[HY000]: General error: 1364 Field 'id' doesn't have a default value

  at vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:114
  at Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert()
     (vendor/doctrine/dbal/src/Connection.php:1931)
  at Doctrine\DBAL\Connection->handleDriverException()
     (vendor/doctrine/dbal/src/Connection.php:1874)
  at Doctrine\DBAL\Connection->convertExceptionDuringQuery()
     (vendor/doctrine/dbal/src/Statement.php:194)
  at Doctrine\DBAL\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:249)
  at Doctrine\DBAL\Statement->executeStatement()
     (vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php:278)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->executeInserts()
     (vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1145)
  at Doctrine\ORM\UnitOfWork->executeInserts()
     (vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:431)
  at Doctrine\ORM\UnitOfWork->commit()
     (vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403)
  at Doctrine\ORM\EntityManager->flush()
     (src/Controller/ProductController.php:92)
  at App\Controller\ProductController->show()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (public74830432/index.php:37)                
[2/3] Exception
Doctrine\DBAL\Driver\PDO\Exception:
SQLSTATE[HY000]: General error: 1364 Field 'id' doesn't have a default value

  at vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
  at Doctrine\DBAL\Driver\PDO\Exception::new()
     (vendor/doctrine/dbal/src/Driver/PDO/Statement.php:123)
  at Doctrine\DBAL\Driver\PDO\Statement->execute()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69)
  at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute()
     (vendor/doctrine/dbal/src/Logging/Statement.php:98)
  at Doctrine\DBAL\Logging\Statement->execute()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69)
  at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute()
     (vendor/symfony/doctrine-bridge/Middleware/Debug/Statement.php:65)
  at Symfony\Bridge\Doctrine\Middleware\Debug\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:190)
  at Doctrine\DBAL\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:249)
  at Doctrine\DBAL\Statement->executeStatement()
     (vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php:278)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->executeInserts()
     (vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1145)
  at Doctrine\ORM\UnitOfWork->executeInserts()
     (vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:431)
  at Doctrine\ORM\UnitOfWork->commit()
     (vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403)
  at Doctrine\ORM\EntityManager->flush()
     (src/Controller/ProductController.php:92)
  at App\Controller\ProductController->show()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (public74830432/index.php:37)                
[1/3] PDOException
PDOException:
SQLSTATE[HY000]: General error: 1364 Field 'id' doesn't have a default value

  at vendor/doctrine/dbal/src/Driver/PDO/Statement.php:121
  at PDOStatement->execute()
     (vendor/doctrine/dbal/src/Driver/PDO/Statement.php:121)
  at Doctrine\DBAL\Driver\PDO\Statement->execute()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69)
  at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute()
     (vendor/doctrine/dbal/src/Logging/Statement.php:98)
  at Doctrine\DBAL\Logging\Statement->execute()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:69)
  at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute()
     (vendor/symfony/doctrine-bridge/Middleware/Debug/Statement.php:65)
  at Symfony\Bridge\Doctrine\Middleware\Debug\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:190)
  at Doctrine\DBAL\Statement->execute()
     (vendor/doctrine/dbal/src/Statement.php:249)
  at Doctrine\DBAL\Statement->executeStatement()
     (vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php:278)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->executeInserts()
     (vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1145)
  at Doctrine\ORM\UnitOfWork->executeInserts()
     (vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:431)
  at Doctrine\ORM\UnitOfWork->commit()
     (vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403)
  at Doctrine\ORM\EntityManager->flush()
     (src/Controller/ProductController.php:92)
  at App\Controller\ProductController->show()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (public74830432/index.php:37)                
Loading…
Loading the web debug toolbar…
Attempt #