Serializer
1
Handled
1.64 ms
Total time
serialize 1
Data | Context | Normalizer | Encoder | Time | Caller |
---|---|---|---|---|---|
ApiPlatform\State\ApiResource\Error
Show contents
ApiPlatform\State\ApiResource\Error {#1495 #message: "An error occurred" #code: 500 #file: "/opt/bitnami/apache/htdocs/dev_erp/vendor/api-platform/core/src/State/ApiResource/Error.php" #line: 125 -previous: Doctrine\DBAL\Driver\PDO\Exception {#1218 …} -title: "An error occurred" -detail: "An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'g0_.refund' in 'field list'" -status: 500 -instance: null -type: "/errors/500" -headers: [] +originalTrace: [ [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/doctrine/dbal/src/Connection.php" "line" => 1939 "function" => "convert" "class" => "Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/doctrine/dbal/src/Connection.php" "line" => 1881 "function" => "handleDriverException" "class" => "Doctrine\DBAL\Connection" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/doctrine/dbal/src/Connection.php" "line" => 1106 "function" => "convertExceptionDuringQuery" "class" => "Doctrine\DBAL\Connection" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/doctrine/orm/src/Query/Exec/SingleSelectExecutor.php" "line" => 33 "function" => "executeQuery" "class" => "Doctrine\DBAL\Connection" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/doctrine/orm/src/Query.php" "line" => 327 "function" => "execute" "class" => "Doctrine\ORM\Query\Exec\SingleSelectExecutor" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/doctrine/orm/src/AbstractQuery.php" "line" => 1212 "function" => "_doExecute" "class" => "Doctrine\ORM\Query" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/doctrine/orm/src/AbstractQuery.php" "line" => 1166 "function" => "executeIgnoreQueryCache" "class" => "Doctrine\ORM\AbstractQuery" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/doctrine/orm/src/AbstractQuery.php" "line" => 901 "function" => "execute" "class" => "Doctrine\ORM\AbstractQuery" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/doctrine/orm/src/Tools/Pagination/Paginator.php" "line" => 171 "function" => "getResult" "class" => "Doctrine\ORM\AbstractQuery" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/api-platform/core/src/Doctrine/Orm/AbstractPaginator.php" "line" => 69 "function" => "getIterator" "class" => "Doctrine\ORM\Tools\Pagination\Paginator" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/symfony/serializer/Serializer.php" "line" => 176 "function" => "getIterator" "class" => "ApiPlatform\Doctrine\Orm\AbstractPaginator" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/symfony/serializer/Serializer.php" "line" => 138 "function" => "normalize" "class" => "Symfony\Component\Serializer\Serializer" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/symfony/serializer/Debug/TraceableSerializer.php" "line" => 47 "function" => "serialize" "class" => "Symfony\Component\Serializer\Serializer" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/api-platform/core/src/State/Processor/SerializeProcessor.php" "line" => 79 "function" => "serialize" "class" => "Symfony\Component\Serializer\Debug\TraceableSerializer" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/api-platform/core/src/Symfony/EventListener/SerializeListener.php" "line" => 102 "function" => "process" "class" => "ApiPlatform\State\Processor\SerializeProcessor" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/symfony/event-dispatcher/Debug/WrappedListener.php" "line" => 116 "function" => "onKernelView" "class" => "ApiPlatform\Symfony\EventListener\SerializeListener" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/symfony/event-dispatcher/EventDispatcher.php" "line" => 220 "function" => "__invoke" "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/symfony/event-dispatcher/EventDispatcher.php" "line" => 56 "function" => "callListeners" "class" => "Symfony\Component\EventDispatcher\EventDispatcher" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php" "line" => 139 "function" => "dispatch" "class" => "Symfony\Component\EventDispatcher\EventDispatcher" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/symfony/http-kernel/HttpKernel.php" "line" => 186 "function" => "dispatch" "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/symfony/http-kernel/HttpKernel.php" "line" => 76 "function" => "handleRaw" "class" => "Symfony\Component\HttpKernel\HttpKernel" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/symfony/http-kernel/Kernel.php" "line" => 197 "function" => "handle" "class" => "Symfony\Component\HttpKernel\HttpKernel" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php" "line" => 35 "function" => "handle" "class" => "Symfony\Component\HttpKernel\Kernel" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/autoload_runtime.php" "line" => 29 "function" => "run" "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/public/index.php" "line" => 5 "function" => "require_once" ] ] : { { ApiPlatform\State\ApiResource\Error::createFromException(Exception|Throwable $exception, int $status): self … › › |
Format: jsonld
Show context
[ "groups" => [ "jsonld" "trace" ] "skip_null_values" => true "rfc_7807_compliant_errors" => true "api_error_resource" => true "ignored_attributes" => [ "trace" "file" "line" "code" "message" "traceAsString" ] "operation_name" => "_api_errors_hydra" "operation" => ApiPlatform\Metadata\Error {#1563 #parameters: ApiPlatform\Metadata\Parameters {#1422 …} #shortName: "Error" #class: "ApiPlatform\State\ApiResource\Error" #description: null #urlGenerationStrategy: null #deprecationReason: null #normalizationContext: [ "groups" => [ "jsonld" ] "skip_null_values" => true "rfc_7807_compliant_errors" => true "api_error_resource" => true "ignored_attributes" => [ "trace" "file" "line" "code" "message" "traceAsString" ] ] #denormalizationContext: null #collectDenormalizationErrors: null #validationContext: null #filters: [] #elasticsearch: null #mercure: null #messenger: null #input: null #output: null #order: null #fetchPartial: null #forceEager: null #paginationEnabled: null #paginationType: null #paginationItemsPerPage: null #paginationMaximumItemsPerPage: null #paginationPartial: null #paginationClientEnabled: null #paginationClientItemsPerPage: true #paginationClientPartial: null #paginationFetchJoinCollection: null #paginationUseOutputWalkers: null #security: null #securityMessage: null #securityPostDenormalize: null #securityPostDenormalizeMessage: null #securityPostValidation: null #securityPostValidationMessage: null #provider: "api_platform.state.error_provider" #processor: null #stateOptions: null #queryParameterValidationEnabled: null #extraProperties: [ "standard_put" => true "rfc_7807_compliant_errors" => true "user_defined_uri_template" => true ] #paginationViaCursor: null #read: true #deserialize: null #validate: null #write: null #serialize: true #priority: 1 #name: "_api_errors_hydra" #method: "GET" #uriTemplate: "/errors/{status}" #types: [ "hydra:Error" ] #formats: null #inputFormats: [ "json" => [ "application/json" ] "jsonld" => [ "application/ld+json" ] "html" => [ "text/html" ] "multipart" => [ "multipart/form-data" ] "mime_types" => [ "multipart/form-data" ] ] #outputFormats: [ "jsonld" => [ "application/problem+json" ] ] #uriVariables: [ "status" => ApiPlatform\Metadata\Link {#1423 #key: null #schema: null #openApi: null #provider: null #filter: null #property: null #description: null #required: null #priority: null #constraints: null #extraProperties: [] -parameterName: "status" -fromProperty: null -toProperty: null -fromClass: "ApiPlatform\State\ApiResource\Error" -toClass: null -identifiers: [ "status" ] -compositeIdentifier: null -expandedValue: null -security: null -securityMessage: null -securityObjectName: null } ] #routePrefix: null #routeName: "api_errors" #defaults: null #requirements: null #options: null #stateless: true #sunset: null #acceptPatch: null #status: 500 #host: null #schemes: null #condition: null #controller: null #headers: null #cacheHeaders: [ "vary" => [ "Content-Type" "Authorization" "Origin" ] ] #hydraContext: null #openapiContext: null #openapi: false #exceptionToStatus: null #links: [ Symfony\Component\WebLink\Link {#1424 -href: "http://www.w3.org/ns/hydra/error" -rel: [ "http://www.w3.org/ns/json-ld#error" => "http://www.w3.org/ns/json-ld#error" ] -attributes: [] } ] } "resource_class" => "ApiPlatform\State\ApiResource\Error" "iri_only" => false "request_uri" => "/api/gift_cards" "uri" => "https://www.bo.blacksheep-van.com/api/gift_cards" "input" => null "output" => null "types" => [ "hydra:Error" ] "uri_variables" => [] "exclude_from_cache_key" => [ "root_operation" "operation" "resources" "resources_to_push" ] "api_gateway" => false "base_url" => "" "spec_version" => "" "resources" => ApiPlatform\State\ResourceList {#1564 : [ "/api/errors" => "/api/errors" ] : false : false : "ArrayIterator" } "resources_to_push" => ApiPlatform\State\ResourceList {#1565 : [] : false : false : "ArrayIterator" } ] |
ItemNormalizer (1.54 ms) | JsonEncoder (0.03 ms) | 1.64 ms |
deserialize 0
Nothing was deserialized.
normalize 0
Nothing was normalized.
denormalize 0
Nothing was denormalized.
encode 0
Nothing was encoded.
decode 0
Nothing was decoded.