Untitled
unknown
plain_text
a year ago
5.7 kB
49
Indexable
{
"@id": "/api/errors",
"@type": "hydra:Error",
"title": "An error occurred",
"detail": "An exception occurred while executing a query: SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint \"uniq_8d93d649e7927c74\"\nDETAIL: Key (email)=(admin@gmail.com) already exists.",
"status": 500,
"type": "/errors/500",
"trace": [
{
"file": "/var/www/server/vendor/doctrine/dbal/src/Connection.php",
"line": 1939,
"function": "convert",
"class": "Doctrine\\DBAL\\Driver\\API\\PostgreSQL\\ExceptionConverter",
"type": "->"
},
{
"file": "/var/www/server/vendor/doctrine/dbal/src/Connection.php",
"line": 1881,
"function": "handleDriverException",
"class": "Doctrine\\DBAL\\Connection",
"type": "->"
},
{
"file": "/var/www/server/vendor/doctrine/dbal/src/Statement.php",
"line": 194,
"function": "convertExceptionDuringQuery",
"class": "Doctrine\\DBAL\\Connection",
"type": "->"
},
{
"file": "/var/www/server/vendor/doctrine/dbal/src/Statement.php",
"line": 249,
"function": "execute",
"class": "Doctrine\\DBAL\\Statement",
"type": "->"
},
{
"file": "/var/www/server/vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php",
"line": 249,
"function": "executeStatement",
"class": "Doctrine\\DBAL\\Statement",
"type": "->"
},
{
"file": "/var/www/server/vendor/doctrine/orm/src/UnitOfWork.php",
"line": 1048,
"function": "executeInserts",
"class": "Doctrine\\ORM\\Persisters\\Entity\\BasicEntityPersister",
"type": "->"
},
{
"file": "/var/www/server/vendor/doctrine/orm/src/UnitOfWork.php",
"line": 399,
"function": "executeInserts",
"class": "Doctrine\\ORM\\UnitOfWork",
"type": "->"
},
{
"file": "/var/www/server/vendor/doctrine/orm/src/EntityManager.php",
"line": 259,
"function": "commit",
"class": "Doctrine\\ORM\\UnitOfWork",
"type": "->"
},
{
"file": "/var/www/server/vendor/api-platform/core/src/Doctrine/Common/State/PersistProcessor.php",
"line": 104,
"function": "flush",
"class": "Doctrine\\ORM\\EntityManager",
"type": "->"
},
{
"file": "/var/www/server/src/State/UserPasswordHasher.php",
"line": 39,
"function": "process",
"class": "ApiPlatform\\Doctrine\\Common\\State\\PersistProcessor",
"type": "->"
},
{
"file": "/var/www/server/vendor/api-platform/core/src/State/CallableProcessor.php",
"line": 52,
"function": "process",
"class": "App\\State\\UserPasswordHasher",
"type": "->"
},
{
"file": "/var/www/server/vendor/api-platform/core/src/State/Processor/WriteProcessor.php",
"line": 54,
"function": "process",
"class": "ApiPlatform\\State\\CallableProcessor",
"type": "->"
},
{
"file": "/var/www/server/vendor/api-platform/core/src/Symfony/EventListener/WriteListener.php",
"line": 107,
"function": "process",
"class": "ApiPlatform\\State\\Processor\\WriteProcessor",
"type": "->"
},
{
"file": "/var/www/server/vendor/symfony/event-dispatcher/Debug/WrappedListener.php",
"line": 115,
"function": "onKernelView",
"class": "ApiPlatform\\Symfony\\EventListener\\WriteListener",
"type": "->"
},
{
"file": "/var/www/server/vendor/symfony/event-dispatcher/EventDispatcher.php",
"line": 206,
"function": "__invoke",
"class": "Symfony\\Component\\EventDispatcher\\Debug\\WrappedListener",
"type": "->"
},
{
"file": "/var/www/server/vendor/symfony/event-dispatcher/EventDispatcher.php",
"line": 56,
"function": "callListeners",
"class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
"type": "->"
},
{
"file": "/var/www/server/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php",
"line": 122,
"function": "dispatch",
"class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
"type": "->"
},
{
"file": "/var/www/server/vendor/symfony/http-kernel/HttpKernel.php",
"line": 188,
"function": "dispatch",
"class": "Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher",
"type": "->"
},
{
"file": "/var/www/server/vendor/symfony/http-kernel/HttpKernel.php",
"line": 76,
"function": "handleRaw",
"class": "Symfony\\Component\\HttpKernel\\HttpKernel",
"type": "->"
},
{
"file": "/var/www/server/vendor/symfony/http-kernel/Kernel.php",
"line": 182,
"function": "handle",
"class": "Symfony\\Component\\HttpKernel\\HttpKernel",
"type": "->"
},
{
"file": "/var/www/server/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php",
"line": 35,
"function": "handle",
"class": "Symfony\\Component\\HttpKernel\\Kernel",
"type": "->"
},
{
"file": "/var/www/server/vendor/autoload_runtime.php",
"line": 29,
"function": "run",
"class": "Symfony\\Component\\Runtime\\Runner\\Symfony\\HttpKernelRunner",
"type": "->"
},
{
"file": "/var/www/server/public/index.php",
"line": 5,
"function": "require_once"
}
],
"hydra:title": "An error occurred",
"hydra:description": "An exception occurred while executing a query: SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint \"uniq_8d93d649e7927c74\"\nDETAIL: Key (email)=(admin@gmail.com) already exists."
}Editor is loading...
Leave a Comment