Exceptions
Exceptions 3
Doctrine\DBAL\Exception\ UniqueConstraintViolationException
Show exception properties
Doctrine\DBAL\Exception\UniqueConstraintViolationException {#2989 -query: Doctrine\DBAL\Query {#2982 -sql: "INSERT INTO "order" (id, external_id, external_reference, reference, payment_method, customer_email_token, transaction_id, total_paid, total_paid_with_tax, total_products, total_products_with_tax, total_shipping, total_captured_tax, total_shipping_with_tax, created_at, updated_at, has_been_updated, sales_commission, sales_commission_amount, tracking_number, warning, logistic_message, logistic_id, language_id, company_id, delivery_address_id, billing_address_id, company_carrier_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)" -params: array:28 [ 1 => 68927 2 => 3679412 3 => "3679412_MONOL" 4 => "1124_MONOL" 5 => "stripe" 6 => "verguet@antadis.com" 7 => "pi_3UciXbFNlVHenCFN1RqYY22c" 8 => "21.96" 9 => "23.60" 10 => "18.96" 11 => "20.00" 12 => "3.00" 13 => "0.00" 14 => "3.60" 15 => DateTimeImmutable @1795602003 {#2690 : 2026-11-25 10:20:03.824500 UTC (+00:00) } 16 => DateTimeImmutable @1795602003 {#2920 : 2026-11-25 10:20:03.824501 UTC (+00:00) } 17 => false 18 => "0.1700" 19 => "4.01" 20 => null 21 => false 22 => null 23 => null 24 => 1 25 => 8 26 => 609981 27 => 609982 28 => 81 ] -types: array:28 [ 1 => "integer" 2 => "integer" 3 => "string" 4 => "string" 5 => "string" 6 => "string" 7 => "string" 8 => "decimal" 9 => "decimal" 10 => "decimal" 11 => "decimal" 12 => "decimal" 13 => "decimal" 14 => "decimal" 15 => "datetime_immutable" 16 => "datetime_immutable" 17 => "boolean" 18 => "decimal" 19 => "decimal" 20 => "string" 21 => "boolean" 22 => "text" 23 => "integer" 24 => "integer" 25 => "integer" 26 => "integer" 27 => "integer" 28 => "integer" ] } }
case '23503':return new ForeignKeyConstraintViolationException($exception, $query);case '23505':return new UniqueConstraintViolationException($exception, $query);case '3D000':return new DatabaseDoesNotExist($exception, $query);case '3F000':
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Connection.php
->
convert
(line 1453)
private function handleDriverException(Driver\Exception $driverException,?Query $query,): DriverException {$this->exceptionConverter ??= $this->driver->getExceptionConverter();$exception = $this->exceptionConverter->convert($driverException, $query);if ($exception instanceof ConnectionLost) {$this->close();}
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Connection.php
->
handleDriverException
(line 1389)
Driver\Exception $e,string $sql,array $params = [],array $types = [],): DriverException {return $this->handleDriverException($e, new Query($sql, $params, $types));}/** @internal */final public function convertException(Driver\Exception $e): DriverException{
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Statement.php
->
convertExceptionDuringQuery
(line 108)
return new Result($this->stmt->execute(),$this->conn,);} catch (Driver\Exception $ex) {throw $this->conn->convertExceptionDuringQuery($ex, $this->sql, $this->params, $this->types);}}/*** Executes the statement with the currently bound parameters and return result.
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Statement.php
->
execute
(line 133)
** @throws Exception*/public function executeStatement(): int|string{return $this->execute()->rowCount();}/*** Gets the wrapped driver statement.*/
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php
->
executeStatement
(line 255)
foreach ($insertData[$tableName] as $column => $value) {$stmt->bindValue($paramIndex++, $value, $this->columnTypes[$column]);}}$stmt->executeStatement();if ($isPostInsertId) {$generatedId = $idGenerator->generateId($this->em, $entity);$id = [$this->class->identifier[0] => $generatedId];
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/UnitOfWork.php
->
executeInserts
(line 1144)
$persister->addInsert($entity);unset($this->entityInsertions[$oid]);}$persister->executeInserts();foreach ($batch->entities as $entity) {$oid = spl_object_id($entity);if (! isset($this->entityIdentifiers[$oid])) {
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/UnitOfWork.php
->
executeInserts
(line 426)
// Perform entity insertions first, so that all new entities have their rows in the database// and can be referred to by foreign keys. The commit order only needs to take new entities// into account (new entities referring to other new entities), since all other types (entities// with updates or scheduled deletions) are currently not a problem, since they are already// in the database.$this->executeInserts();}if ($this->entityUpdates) {// Updates are executed in a consistent order (class name, then entity ID (hash)) to eliminate deadlock// risk in concurrent update transactions ("Process X waits for ShareLock on transaction Y; blocked
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/EntityManager.php
->
commit
(line 270)
* @throws ORMException*/public function flush(): void{$this->errorIfClosed();$this->unitOfWork->commit();}/*** {@inheritDoc}*/
}// Create Order$order = $this->createOrder($data);$this->entityManager->persist($order);$this->entityManager->flush();$orderPlacedEvent = new OrderEvents($order);$this->eventDispatcher->dispatch($orderPlacedEvent);return $order;}
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/state/CallableProcessor.php
->
process
(line 52)
}/** @var ProcessorInterface<T1, T2> $processorInstance */$processorInstance = $this->locator->get($processor);return $processorInstance->process($data, $operation, $uriVariables, $context);}}
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/state/Processor/WriteProcessor.php
->
process
(line 58)
) {return $this->processor ? $this->processor->process($data, $operation, $uriVariables, $context) : $data;}$this->stopwatch?->start('api_platform.processor.write');$data = $this->callableProcessor->process($data, $operation, $uriVariables, $context);$this->stopwatch?->stop('api_platform.processor.write');return $this->processor ? $this->processor->process($data, $operation, $uriVariables, $context) : $data;}}
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/symfony/Validator/State/ValidateProcessor.php
->
process
(line 51)
// Only validate at the processor level when ObjectMapper is used (canMap() is true).// Without ObjectMapper, ValidateProvider already handles validation in the provider chain,// so running it again here would cause duplicate external API calls and DB queries.if (!$operation->canMap()) {return $this->decorated ? $this->decorated->process($data, $operation, $uriVariables, $context) : $data;}$this->validator->validate($data, $operation->getValidationContext() ?? []);return $this->decorated ? $this->decorated->process($data, $operation, $uriVariables, $context) : $data;
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/symfony/Controller/MainController.php
->
process
(line 125)
if (null === $operation->canSerialize()) {$operation = $operation->withSerialize(true);}return $this->processor->process($body, $operation, $uriVariables, $context);}}
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/http-kernel/HttpKernel.php
->
__invoke
(line 200)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);$controller = $event->getController();$arguments = $event->getArguments();// call controller$response = $controller(...$arguments);// viewif (!$response instanceof Response) {$event = new ViewEvent($this, $request, $type, $response, $controllerMetadata);$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 80)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type, $controllerMetadata);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/http-kernel/Kernel.php
->
handle
(line 155)
if (!$this->handlingHttpCache) {$this->resetServices = true;}try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 34)
) {}public function run(): int{$response = $this->kernel->handle($this->request);$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {fastcgi_finish_request();
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/autoload_runtime.php
->
run
(line 32)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
require_once('/home/www/marketplace-preprod.philibertnet.com/shared/vendor/autoload_runtime.php')
in
/home/www/marketplace-preprod.philibertnet.com/releases/261/public/index.php
(line 5)
<?phpuse App\Kernel;require_once dirname(__DIR__) . '/vendor/autoload_runtime.php';return function (array $context) {$debug = $_GET['debugAntadis'] ?? $context['APP_DEBUG'];return new Kernel($context['APP_ENV'], $debug);};
Doctrine\DBAL\Driver\PDO\ Exception
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Driver/PDO/Exception.php
(line 24)
} else {$code = $exception->getCode();$sqlState = null;}return new self($exception->getMessage(), $sqlState, $code, $exception);}}
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Driver/PDO/Statement.php
::
new
(line 57)
public function execute(): Result{try {$this->stmt->execute();} catch (PDOException $exception) {throw Exception::new($exception);}return new Result($this->stmt);}
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php
->
execute
(line 24)
$this->wrappedStatement->bindValue($param, $value, $type);}public function execute(): Result{return $this->wrappedStatement->execute();}}
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Logging/Statement.php
->
execute
(line 46)
'sql' => $this->sql,'params' => $this->params,'types' => $this->types,]);return parent::execute();}}
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php
->
execute
(line 24)
$this->wrappedStatement->bindValue($param, $value, $type);}public function execute(): Result{return $this->wrappedStatement->execute();}}
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/doctrine-bridge/Middleware/Debug/Statement.php
->
execute
(line 58)
$this->stopwatch?->start('doctrine', 'doctrine');$query->start();try {return parent::execute();} finally {$query->stop();$this->stopwatch?->stop('doctrine');}}
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Statement.php
->
execute
(line 104)
/** @throws Exception */private function execute(): Result{try {return new Result($this->stmt->execute(),$this->conn,);} catch (Driver\Exception $ex) {throw $this->conn->convertExceptionDuringQuery($ex, $this->sql, $this->params, $this->types);}
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Statement.php
->
execute
(line 133)
** @throws Exception*/public function executeStatement(): int|string{return $this->execute()->rowCount();}/*** Gets the wrapped driver statement.*/
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php
->
executeStatement
(line 255)
foreach ($insertData[$tableName] as $column => $value) {$stmt->bindValue($paramIndex++, $value, $this->columnTypes[$column]);}}$stmt->executeStatement();if ($isPostInsertId) {$generatedId = $idGenerator->generateId($this->em, $entity);$id = [$this->class->identifier[0] => $generatedId];
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/UnitOfWork.php
->
executeInserts
(line 1144)
$persister->addInsert($entity);unset($this->entityInsertions[$oid]);}$persister->executeInserts();foreach ($batch->entities as $entity) {$oid = spl_object_id($entity);if (! isset($this->entityIdentifiers[$oid])) {
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/UnitOfWork.php
->
executeInserts
(line 426)
// Perform entity insertions first, so that all new entities have their rows in the database// and can be referred to by foreign keys. The commit order only needs to take new entities// into account (new entities referring to other new entities), since all other types (entities// with updates or scheduled deletions) are currently not a problem, since they are already// in the database.$this->executeInserts();}if ($this->entityUpdates) {// Updates are executed in a consistent order (class name, then entity ID (hash)) to eliminate deadlock// risk in concurrent update transactions ("Process X waits for ShareLock on transaction Y; blocked
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/EntityManager.php
->
commit
(line 270)
* @throws ORMException*/public function flush(): void{$this->errorIfClosed();$this->unitOfWork->commit();}/*** {@inheritDoc}*/
}// Create Order$order = $this->createOrder($data);$this->entityManager->persist($order);$this->entityManager->flush();$orderPlacedEvent = new OrderEvents($order);$this->eventDispatcher->dispatch($orderPlacedEvent);return $order;}
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/state/CallableProcessor.php
->
process
(line 52)
}/** @var ProcessorInterface<T1, T2> $processorInstance */$processorInstance = $this->locator->get($processor);return $processorInstance->process($data, $operation, $uriVariables, $context);}}
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/state/Processor/WriteProcessor.php
->
process
(line 58)
) {return $this->processor ? $this->processor->process($data, $operation, $uriVariables, $context) : $data;}$this->stopwatch?->start('api_platform.processor.write');$data = $this->callableProcessor->process($data, $operation, $uriVariables, $context);$this->stopwatch?->stop('api_platform.processor.write');return $this->processor ? $this->processor->process($data, $operation, $uriVariables, $context) : $data;}}
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/symfony/Validator/State/ValidateProcessor.php
->
process
(line 51)
// Only validate at the processor level when ObjectMapper is used (canMap() is true).// Without ObjectMapper, ValidateProvider already handles validation in the provider chain,// so running it again here would cause duplicate external API calls and DB queries.if (!$operation->canMap()) {return $this->decorated ? $this->decorated->process($data, $operation, $uriVariables, $context) : $data;}$this->validator->validate($data, $operation->getValidationContext() ?? []);return $this->decorated ? $this->decorated->process($data, $operation, $uriVariables, $context) : $data;
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/symfony/Controller/MainController.php
->
process
(line 125)
if (null === $operation->canSerialize()) {$operation = $operation->withSerialize(true);}return $this->processor->process($body, $operation, $uriVariables, $context);}}
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/http-kernel/HttpKernel.php
->
__invoke
(line 200)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);$controller = $event->getController();$arguments = $event->getArguments();// call controller$response = $controller(...$arguments);// viewif (!$response instanceof Response) {$event = new ViewEvent($this, $request, $type, $response, $controllerMetadata);$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 80)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type, $controllerMetadata);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/http-kernel/Kernel.php
->
handle
(line 155)
if (!$this->handlingHttpCache) {$this->resetServices = true;}try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 34)
) {}public function run(): int{$response = $this->kernel->handle($this->request);$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {fastcgi_finish_request();
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/autoload_runtime.php
->
run
(line 32)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
require_once('/home/www/marketplace-preprod.philibertnet.com/shared/vendor/autoload_runtime.php')
in
/home/www/marketplace-preprod.philibertnet.com/releases/261/public/index.php
(line 5)
<?phpuse App\Kernel;require_once dirname(__DIR__) . '/vendor/autoload_runtime.php';return function (array $context) {$debug = $_GET['debugAntadis'] ?? $context['APP_DEBUG'];return new Kernel($context['APP_ENV'], $debug);};
PDOException
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Driver/PDO/Statement.php
(line 55)
}public function execute(): Result{try {$this->stmt->execute();} catch (PDOException $exception) {throw Exception::new($exception);}return new Result($this->stmt);
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Driver/PDO/Statement.php
->
execute
(line 55)
}public function execute(): Result{try {$this->stmt->execute();} catch (PDOException $exception) {throw Exception::new($exception);}return new Result($this->stmt);
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php
->
execute
(line 24)
$this->wrappedStatement->bindValue($param, $value, $type);}public function execute(): Result{return $this->wrappedStatement->execute();}}
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Logging/Statement.php
->
execute
(line 46)
'sql' => $this->sql,'params' => $this->params,'types' => $this->types,]);return parent::execute();}}
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php
->
execute
(line 24)
$this->wrappedStatement->bindValue($param, $value, $type);}public function execute(): Result{return $this->wrappedStatement->execute();}}
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/doctrine-bridge/Middleware/Debug/Statement.php
->
execute
(line 58)
$this->stopwatch?->start('doctrine', 'doctrine');$query->start();try {return parent::execute();} finally {$query->stop();$this->stopwatch?->stop('doctrine');}}
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Statement.php
->
execute
(line 104)
/** @throws Exception */private function execute(): Result{try {return new Result($this->stmt->execute(),$this->conn,);} catch (Driver\Exception $ex) {throw $this->conn->convertExceptionDuringQuery($ex, $this->sql, $this->params, $this->types);}
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Statement.php
->
execute
(line 133)
** @throws Exception*/public function executeStatement(): int|string{return $this->execute()->rowCount();}/*** Gets the wrapped driver statement.*/
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php
->
executeStatement
(line 255)
foreach ($insertData[$tableName] as $column => $value) {$stmt->bindValue($paramIndex++, $value, $this->columnTypes[$column]);}}$stmt->executeStatement();if ($isPostInsertId) {$generatedId = $idGenerator->generateId($this->em, $entity);$id = [$this->class->identifier[0] => $generatedId];
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/UnitOfWork.php
->
executeInserts
(line 1144)
$persister->addInsert($entity);unset($this->entityInsertions[$oid]);}$persister->executeInserts();foreach ($batch->entities as $entity) {$oid = spl_object_id($entity);if (! isset($this->entityIdentifiers[$oid])) {
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/UnitOfWork.php
->
executeInserts
(line 426)
// Perform entity insertions first, so that all new entities have their rows in the database// and can be referred to by foreign keys. The commit order only needs to take new entities// into account (new entities referring to other new entities), since all other types (entities// with updates or scheduled deletions) are currently not a problem, since they are already// in the database.$this->executeInserts();}if ($this->entityUpdates) {// Updates are executed in a consistent order (class name, then entity ID (hash)) to eliminate deadlock// risk in concurrent update transactions ("Process X waits for ShareLock on transaction Y; blocked
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/EntityManager.php
->
commit
(line 270)
* @throws ORMException*/public function flush(): void{$this->errorIfClosed();$this->unitOfWork->commit();}/*** {@inheritDoc}*/
}// Create Order$order = $this->createOrder($data);$this->entityManager->persist($order);$this->entityManager->flush();$orderPlacedEvent = new OrderEvents($order);$this->eventDispatcher->dispatch($orderPlacedEvent);return $order;}
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/state/CallableProcessor.php
->
process
(line 52)
}/** @var ProcessorInterface<T1, T2> $processorInstance */$processorInstance = $this->locator->get($processor);return $processorInstance->process($data, $operation, $uriVariables, $context);}}
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/state/Processor/WriteProcessor.php
->
process
(line 58)
) {return $this->processor ? $this->processor->process($data, $operation, $uriVariables, $context) : $data;}$this->stopwatch?->start('api_platform.processor.write');$data = $this->callableProcessor->process($data, $operation, $uriVariables, $context);$this->stopwatch?->stop('api_platform.processor.write');return $this->processor ? $this->processor->process($data, $operation, $uriVariables, $context) : $data;}}
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/symfony/Validator/State/ValidateProcessor.php
->
process
(line 51)
// Only validate at the processor level when ObjectMapper is used (canMap() is true).// Without ObjectMapper, ValidateProvider already handles validation in the provider chain,// so running it again here would cause duplicate external API calls and DB queries.if (!$operation->canMap()) {return $this->decorated ? $this->decorated->process($data, $operation, $uriVariables, $context) : $data;}$this->validator->validate($data, $operation->getValidationContext() ?? []);return $this->decorated ? $this->decorated->process($data, $operation, $uriVariables, $context) : $data;
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/symfony/Controller/MainController.php
->
process
(line 125)
if (null === $operation->canSerialize()) {$operation = $operation->withSerialize(true);}return $this->processor->process($body, $operation, $uriVariables, $context);}}
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/http-kernel/HttpKernel.php
->
__invoke
(line 200)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);$controller = $event->getController();$arguments = $event->getArguments();// call controller$response = $controller(...$arguments);// viewif (!$response instanceof Response) {$event = new ViewEvent($this, $request, $type, $response, $controllerMetadata);$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 80)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type, $controllerMetadata);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/http-kernel/Kernel.php
->
handle
(line 155)
if (!$this->handlingHttpCache) {$this->resetServices = true;}try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 34)
) {}public function run(): int{$response = $this->kernel->handle($this->request);$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {fastcgi_finish_request();
in
/home/www/marketplace-preprod.philibertnet.com/shared/vendor/autoload_runtime.php
->
run
(line 32)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
require_once('/home/www/marketplace-preprod.philibertnet.com/shared/vendor/autoload_runtime.php')
in
/home/www/marketplace-preprod.philibertnet.com/releases/261/public/index.php
(line 5)
<?phpuse App\Kernel;require_once dirname(__DIR__) . '/vendor/autoload_runtime.php';return function (array $context) {$debug = $_GET['debugAntadis'] ?? $context['APP_DEBUG'];return new Kernel($context['APP_ENV'], $debug);};
Logs
| Level | Message |
|---|---|
| info 10:49:46 |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "163afb"
},
"request_uri": "https://marketplace-preprod.philibertnet.com/_profiler/163afb?panel=exception&type=request",
"method": "GET"
}
|
| debug 10:49:46 |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}
|
| debug 10:49:46 |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}
|
| debug 10:49:46 |
Notified event "kernel.request" to listener "Nelmio\CorsBundle\EventListener\CorsListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Nelmio\\CorsBundle\\EventListener\\CorsListener::onKernelRequest"
}
|
| debug 10:49:46 |
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 10:49:46 |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}
|
| debug 10:49:46 |
Notified event "kernel.request" to listener "App\EventSubscriber\UserLocaleSubscriber::onKernelRequest". {
"event": "kernel.request",
"listener": "App\\EventSubscriber\\UserLocaleSubscriber::onKernelRequest"
}
|
| debug 10:49:46 |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}
|
| debug 10:49:46 |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}
|
| debug 10:49:46 |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}
|
| debug 10:49:46 |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
}
|
| debug 10:49:46 |
Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator". {
"event": "kernel.request",
"listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
}
|
| debug 10:49:46 |
Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
}
|
| debug 10:49:46 |
Notified event "kernel.request" to listener "App\EventSubscriber\FirstLoginSubscriber::forcePasswordChange". {
"event": "kernel.request",
"listener": "App\\EventSubscriber\\FirstLoginSubscriber::forcePasswordChange"
}
|
| debug 10:49:46 |
Notified event "kernel.request" to listener "App\EventSubscriber\FirstLoginSubscriber::forcePasswordChange". {
"event": "kernel.request",
"listener": "App\\EventSubscriber\\FirstLoginSubscriber::forcePasswordChange"
}
|
| debug 10:49:46 |
Notified event "kernel.request" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelRequest". {
"event": "kernel.request",
"listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelRequest"
}
|
| debug 10:49:46 |
Notified event "kernel.controller" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelController". {
"event": "kernel.controller",
"listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelController"
}
|
| debug 10:49:46 |
Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController". {
"event": "kernel.controller",
"listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}
|
| debug 10:49:46 |
Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController". {
"event": "kernel.controller",
"listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}
|
| debug 10:49:46 |
Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\EventListener\ControllerAttributesListener::beforeController". {
"event": "kernel.controller",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\ControllerAttributesListener::beforeController"
}
|
| debug 10:49:46 |
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 10:49:46 |
Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\ControllerAttributesListener::beforeController". {
"event": "kernel.controller_arguments",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\ControllerAttributesListener::beforeController"
}
|
| debug 10:49:46 |
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"
}
|
Stack Traces 3
|
[3/3]
UniqueConstraintViolationException
|
|---|
Doctrine\DBAL\Exception\UniqueConstraintViolationException:
An exception occurred while executing a query: SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint "uniq_f52993988af8e607"
DETAIL: Key (external_reference)=(3679412_MONOL) already exists.
at /home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Driver/API/PostgreSQL/ExceptionConverter.php:54
at Doctrine\DBAL\Driver\API\PostgreSQL\ExceptionConverter->convert()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Connection.php:1453)
at Doctrine\DBAL\Connection->handleDriverException()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Connection.php:1389)
at Doctrine\DBAL\Connection->convertExceptionDuringQuery()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Statement.php:108)
at Doctrine\DBAL\Statement->execute()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Statement.php:133)
at Doctrine\DBAL\Statement->executeStatement()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:255)
at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->executeInserts()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/UnitOfWork.php:1144)
at Doctrine\ORM\UnitOfWork->executeInserts()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/UnitOfWork.php:426)
at Doctrine\ORM\UnitOfWork->commit()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/EntityManager.php:270)
at Doctrine\ORM\EntityManager->flush()
(src/Processor/OrderPostProcessor.php:114)
at App\Processor\OrderPostProcessor->process()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/state/CallableProcessor.php:52)
at ApiPlatform\State\CallableProcessor->process()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/state/Processor/WriteProcessor.php:58)
at ApiPlatform\State\Processor\WriteProcessor->process()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/symfony/Validator/State/ValidateProcessor.php:51)
at ApiPlatform\Symfony\Validator\State\ValidateProcessor->process()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/symfony/Controller/MainController.php:125)
at ApiPlatform\Symfony\Controller\MainController->__invoke()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/http-kernel/HttpKernel.php:200)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/http-kernel/HttpKernel.php:80)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/http-kernel/Kernel.php:155)
at Symfony\Component\HttpKernel\Kernel->handle()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/autoload_runtime.php:32)
at require_once('/home/www/marketplace-preprod.philibertnet.com/shared/vendor/autoload_runtime.php')
(/home/www/marketplace-preprod.philibertnet.com/releases/261/public/index.php:5)
|
|
[2/3]
Exception
|
|---|
Doctrine\DBAL\Driver\PDO\Exception:
SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint "uniq_f52993988af8e607"
DETAIL: Key (external_reference)=(3679412_MONOL) already exists.
at /home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:24
at Doctrine\DBAL\Driver\PDO\Exception::new()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:57)
at Doctrine\DBAL\Driver\PDO\Statement->execute()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:24)
at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Logging/Statement.php:46)
at Doctrine\DBAL\Logging\Statement->execute()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:24)
at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/doctrine-bridge/Middleware/Debug/Statement.php:58)
at Symfony\Bridge\Doctrine\Middleware\Debug\Statement->execute()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Statement.php:104)
at Doctrine\DBAL\Statement->execute()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Statement.php:133)
at Doctrine\DBAL\Statement->executeStatement()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:255)
at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->executeInserts()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/UnitOfWork.php:1144)
at Doctrine\ORM\UnitOfWork->executeInserts()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/UnitOfWork.php:426)
at Doctrine\ORM\UnitOfWork->commit()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/EntityManager.php:270)
at Doctrine\ORM\EntityManager->flush()
(src/Processor/OrderPostProcessor.php:114)
at App\Processor\OrderPostProcessor->process()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/state/CallableProcessor.php:52)
at ApiPlatform\State\CallableProcessor->process()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/state/Processor/WriteProcessor.php:58)
at ApiPlatform\State\Processor\WriteProcessor->process()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/symfony/Validator/State/ValidateProcessor.php:51)
at ApiPlatform\Symfony\Validator\State\ValidateProcessor->process()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/symfony/Controller/MainController.php:125)
at ApiPlatform\Symfony\Controller\MainController->__invoke()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/http-kernel/HttpKernel.php:200)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/http-kernel/HttpKernel.php:80)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/http-kernel/Kernel.php:155)
at Symfony\Component\HttpKernel\Kernel->handle()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/autoload_runtime.php:32)
at require_once('/home/www/marketplace-preprod.philibertnet.com/shared/vendor/autoload_runtime.php')
(/home/www/marketplace-preprod.philibertnet.com/releases/261/public/index.php:5)
|
|
[1/3]
PDOException
|
|---|
PDOException:
SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint "uniq_f52993988af8e607"
DETAIL: Key (external_reference)=(3679412_MONOL) already exists.
at /home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:55
at PDOStatement->execute()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:55)
at Doctrine\DBAL\Driver\PDO\Statement->execute()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:24)
at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Logging/Statement.php:46)
at Doctrine\DBAL\Logging\Statement->execute()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:24)
at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/doctrine-bridge/Middleware/Debug/Statement.php:58)
at Symfony\Bridge\Doctrine\Middleware\Debug\Statement->execute()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Statement.php:104)
at Doctrine\DBAL\Statement->execute()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Statement.php:133)
at Doctrine\DBAL\Statement->executeStatement()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:255)
at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->executeInserts()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/UnitOfWork.php:1144)
at Doctrine\ORM\UnitOfWork->executeInserts()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/UnitOfWork.php:426)
at Doctrine\ORM\UnitOfWork->commit()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/EntityManager.php:270)
at Doctrine\ORM\EntityManager->flush()
(src/Processor/OrderPostProcessor.php:114)
at App\Processor\OrderPostProcessor->process()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/state/CallableProcessor.php:52)
at ApiPlatform\State\CallableProcessor->process()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/state/Processor/WriteProcessor.php:58)
at ApiPlatform\State\Processor\WriteProcessor->process()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/symfony/Validator/State/ValidateProcessor.php:51)
at ApiPlatform\Symfony\Validator\State\ValidateProcessor->process()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/symfony/Controller/MainController.php:125)
at ApiPlatform\Symfony\Controller\MainController->__invoke()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/http-kernel/HttpKernel.php:200)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/http-kernel/HttpKernel.php:80)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/http-kernel/Kernel.php:155)
at Symfony\Component\HttpKernel\Kernel->handle()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(/home/www/marketplace-preprod.philibertnet.com/shared/vendor/autoload_runtime.php:32)
at require_once('/home/www/marketplace-preprod.philibertnet.com/shared/vendor/autoload_runtime.php')
(/home/www/marketplace-preprod.philibertnet.com/releases/261/public/index.php:5)
|