Serializer
1
Handled
2.43 ms
Total time
serialize 1
Data | Context | Normalizer | Encoder | Time | Caller |
---|---|---|---|---|---|
ApiPlatform\State\ApiResource\Error
Show contents
ApiPlatform\State\ApiResource\Error {#2050 #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 {#1775 …} -title: "An error occurred" -detail: "An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'a1_.description' 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" => 953 "function" => "execute" "class" => "Doctrine\ORM\AbstractQuery" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/api-platform/core/src/Doctrine/Orm/State/ItemProvider.php" "line" => 87 "function" => "getOneOrNullResult" "class" => "Doctrine\ORM\AbstractQuery" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/api-platform/core/src/State/CallableProvider.php" "line" => 43 "function" => "provide" "class" => "ApiPlatform\Doctrine\Orm\State\ItemProvider" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/api-platform/core/src/State/Provider/ReadProvider.php" "line" => 76 "function" => "provide" "class" => "ApiPlatform\State\CallableProvider" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/api-platform/core/src/Symfony/Validator/State/ParameterValidatorProvider.php" "line" => 87 "function" => "provide" "class" => "ApiPlatform\State\Provider\ReadProvider" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/api-platform/core/src/State/Provider/ParameterProvider.php" "line" => 99 "function" => "provide" "class" => "ApiPlatform\Symfony\Validator\State\ParameterValidatorProvider" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/api-platform/core/src/Symfony/Bundle/SwaggerUi/SwaggerUiProvider.php" "line" => 50 "function" => "provide" "class" => "ApiPlatform\State\Provider\ParameterProvider" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/api-platform/core/src/Symfony/Security/State/AccessCheckerProvider.php" "line" => 62 "function" => "provide" "class" => "ApiPlatform\Symfony\Bundle\SwaggerUi\SwaggerUiProvider" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/api-platform/core/src/Symfony/EventListener/ReadListener.php" "line" => 95 "function" => "provide" "class" => "ApiPlatform\Symfony\Security\State\AccessCheckerProvider" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/symfony/event-dispatcher/Debug/WrappedListener.php" "line" => 116 "function" => "onKernelRequest" "class" => "ApiPlatform\Symfony\EventListener\ReadListener" "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" => 157 "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 {#2160 #parameters: ApiPlatform\Metadata\Parameters {#1793 …} #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 {#1792 #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 {#1791 -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/promotion_codes/post/" "uri" => "https://www.bo.blacksheep-van.com/api/promotion_codes/post/" "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 {#2161 : [ "/api/errors" => "/api/errors" ] : false : false : "ArrayIterator" } "resources_to_push" => ApiPlatform\State\ResourceList {#2162 : [] : false : false : "ArrayIterator" } ] |
ItemNormalizer (2.29 ms) | JsonEncoder (0.04 ms) | 2.43 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.