Not a member of Pastebin yet?
                        Sign Up,
                        it unlocks many cool features!                    
                - {
 - "@context": "/api/contexts/Error",
 - "@type": "hydra:Error",
 - "hydra:title": "An error occurred",
 - "hydra:description": "App\\Entity\\Test::__construct(): Argument #1 ($uuid) must be of type ?Ramsey\\Uuid\\UuidInterface, string given",
 - "trace": [
 - {
 - "namespace": "",
 - "short_class": "",
 - "class": "",
 - "type": "",
 - "function": "",
 - "file": "/application/src/Entity/Test.php",
 - "line": 40,
 - "args": []
 - },
 - {
 - "namespace": "App\\Entity",
 - "short_class": "Test",
 - "class": "App\\Entity\\Test",
 - "type": "->",
 - "function": "__construct",
 - "file": null,
 - "line": null,
 - "args": []
 - },
 - {
 - "namespace": "",
 - "short_class": "ReflectionClass",
 - "class": "ReflectionClass",
 - "type": "->",
 - "function": "newInstanceArgs",
 - "file": "/application/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php",
 - "line": 283,
 - "args": []
 - },
 - {
 - "namespace": "ApiPlatform\\Serializer",
 - "short_class": "AbstractItemNormalizer",
 - "class": "ApiPlatform\\Serializer\\AbstractItemNormalizer",
 - "type": "->",
 - "function": "instantiateObject",
 - "file": "/application/vendor/symfony/serializer/Normalizer/AbstractObjectNormalizer.php",
 - "line": 368,
 - "args": []
 - },
 - {
 - "namespace": "Symfony\\Component\\Serializer\\Normalizer",
 - "short_class": "AbstractObjectNormalizer",
 - "class": "Symfony\\Component\\Serializer\\Normalizer\\AbstractObjectNormalizer",
 - "type": "->",
 - "function": "denormalize",
 - "file": "/application/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php",
 - "line": 208,
 - "args": []
 - },
 - {
 - "namespace": "ApiPlatform\\Serializer",
 - "short_class": "AbstractItemNormalizer",
 - "class": "ApiPlatform\\Serializer\\AbstractItemNormalizer",
 - "type": "->",
 - "function": "denormalize",
 - "file": "/application/vendor/api-platform/core/src/JsonLd/Serializer/ItemNormalizer.php",
 - "line": 145,
 - "args": []
 - },
 - {
 - "namespace": "ApiPlatform\\JsonLd\\Serializer",
 - "short_class": "ItemNormalizer",
 - "class": "ApiPlatform\\JsonLd\\Serializer\\ItemNormalizer",
 - "type": "->",
 - "function": "denormalize",
 - "file": "/application/vendor/symfony/serializer/Serializer.php",
 - "line": 238,
 - "args": []
 - },
 - {
 - "namespace": "Symfony\\Component\\Serializer",
 - "short_class": "Serializer",
 - "class": "Symfony\\Component\\Serializer\\Serializer",
 - "type": "->",
 - "function": "denormalize",
 - "file": "/application/vendor/symfony/serializer/Serializer.php",
 - "line": 151,
 - "args": []
 - },
 - {
 - "namespace": "Symfony\\Component\\Serializer",
 - "short_class": "Serializer",
 - "class": "Symfony\\Component\\Serializer\\Serializer",
 - "type": "->",
 - "function": "deserialize",
 - "file": "/application/vendor/api-platform/core/src/Symfony/EventListener/DeserializeListener.php",
 - "line": 78,
 - "args": []
 - },
 - {
 - "namespace": "ApiPlatform\\Symfony\\EventListener",
 - "short_class": "DeserializeListener",
 - "class": "ApiPlatform\\Symfony\\EventListener\\DeserializeListener",
 - "type": "->",
 - "function": "onKernelRequest",
 - "file": "/application/vendor/symfony/event-dispatcher/Debug/WrappedListener.php",
 - "line": 115,
 - "args": []
 - },
 - {
 - "namespace": "Symfony\\Component\\EventDispatcher\\Debug",
 - "short_class": "WrappedListener",
 - "class": "Symfony\\Component\\EventDispatcher\\Debug\\WrappedListener",
 - "type": "->",
 - "function": "__invoke",
 - "file": "/application/vendor/symfony/event-dispatcher/EventDispatcher.php",
 - "line": 230,
 - "args": []
 - },
 - {
 - "namespace": "Symfony\\Component\\EventDispatcher",
 - "short_class": "EventDispatcher",
 - "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
 - "type": "->",
 - "function": "callListeners",
 - "file": "/application/vendor/symfony/event-dispatcher/EventDispatcher.php",
 - "line": 59,
 - "args": []
 - },
 - {
 - "namespace": "Symfony\\Component\\EventDispatcher",
 - "short_class": "EventDispatcher",
 - "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
 - "type": "->",
 - "function": "dispatch",
 - "file": "/application/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php",
 - "line": 153,
 - "args": []
 - },
 - {
 - "namespace": "Symfony\\Component\\EventDispatcher\\Debug",
 - "short_class": "TraceableEventDispatcher",
 - "class": "Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher",
 - "type": "->",
 - "function": "dispatch",
 - "file": "/application/vendor/symfony/http-kernel/HttpKernel.php",
 - "line": 139,
 - "args": []
 - },
 - {
 - "namespace": "Symfony\\Component\\HttpKernel",
 - "short_class": "HttpKernel",
 - "class": "Symfony\\Component\\HttpKernel\\HttpKernel",
 - "type": "->",
 - "function": "handleRaw",
 - "file": "/application/vendor/symfony/http-kernel/HttpKernel.php",
 - "line": 75,
 - "args": []
 - },
 - {
 - "namespace": "Symfony\\Component\\HttpKernel",
 - "short_class": "HttpKernel",
 - "class": "Symfony\\Component\\HttpKernel\\HttpKernel",
 - "type": "->",
 - "function": "handle",
 - "file": "/application/vendor/symfony/http-kernel/Kernel.php",
 - "line": 202,
 - "args": []
 - },
 - {
 - "namespace": "Symfony\\Component\\HttpKernel",
 - "short_class": "Kernel",
 - "class": "Symfony\\Component\\HttpKernel\\Kernel",
 - "type": "->",
 - "function": "handle",
 - "file": "/application/public/index.php",
 - "line": 30,
 - "args": []
 - }
 - ]
 - }
 
Advertisement
 
                    Add Comment                
                
                        Please, Sign In to add comment