Survey in Order Canceled

mail@pastecode.io avatar
unknown
json
2 years ago
24 kB
3
Indexable
Never
{
    "errors": {
        "links": "/errors#",
        "status": 500,
        "source": {
            "pointer": ""
        },
        "code": "0",
        "title": "Attempt to read property \"id\" on null",
        "meta": [
            {
                "namespace": "",
                "short_class": "",
                "class": "",
                "type": "",
                "function": "",
                "file": "/home/ubuntu/helper_api/lib/src/Services/OrderService.php",
                "line": 546,
                "args": []
            },
            {
                "namespace": "Illuminate\\Foundation\\Bootstrap",
                "short_class": "HandleExceptions",
                "class": "Illuminate\\Foundation\\Bootstrap\\HandleExceptions",
                "type": "->",
                "function": "handleError",
                "file": "/home/ubuntu/helper_api/lib/src/Services/OrderService.php",
                "line": 546,
                "args": []
            },
            {
                "namespace": "Lib\\Services",
                "short_class": "OrderService",
                "class": "Lib\\Services\\OrderService",
                "type": "->",
                "function": "giveSurvey",
                "file": "/home/ubuntu/helper_api/app/Http/Controllers/Api/V1/OrderSurveyController.php",
                "line": 21,
                "args": []
            },
            {
                "namespace": "App\\Http\\Controllers\\Api\\V1",
                "short_class": "OrderSurveyController",
                "class": "App\\Http\\Controllers\\Api\\V1\\OrderSurveyController",
                "type": "->",
                "function": "survey",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Routing/Controller.php",
                "line": 54,
                "args": []
            },
            {
                "namespace": "Illuminate\\Routing",
                "short_class": "Controller",
                "class": "Illuminate\\Routing\\Controller",
                "type": "->",
                "function": "callAction",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php",
                "line": 45,
                "args": []
            },
            {
                "namespace": "Illuminate\\Routing",
                "short_class": "ControllerDispatcher",
                "class": "Illuminate\\Routing\\ControllerDispatcher",
                "type": "->",
                "function": "dispatch",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Routing/Route.php",
                "line": 262,
                "args": []
            },
            {
                "namespace": "Illuminate\\Routing",
                "short_class": "Route",
                "class": "Illuminate\\Routing\\Route",
                "type": "->",
                "function": "runController",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Routing/Route.php",
                "line": 205,
                "args": []
            },
            {
                "namespace": "Illuminate\\Routing",
                "short_class": "Route",
                "class": "Illuminate\\Routing\\Route",
                "type": "->",
                "function": "run",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
                "line": 721,
                "args": []
            },
            {
                "namespace": "Illuminate\\Routing",
                "short_class": "Router",
                "class": "Illuminate\\Routing\\Router",
                "type": "->",
                "function": "Illuminate\\Routing\\{closure}",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 128,
                "args": []
            },
            {
                "namespace": "Illuminate\\Pipeline",
                "short_class": "Pipeline",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->",
                "function": "Illuminate\\Pipeline\\{closure}",
                "file": "/home/ubuntu/helper_api/app/Http/Middleware/OrderOwnerOnlyMiddleware.php",
                "line": 37,
                "args": []
            },
            {
                "namespace": "App\\Http\\Middleware",
                "short_class": "OrderOwnerOnlyMiddleware",
                "class": "App\\Http\\Middleware\\OrderOwnerOnlyMiddleware",
                "type": "->",
                "function": "handle",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 167,
                "args": []
            },
            {
                "namespace": "Illuminate\\Pipeline",
                "short_class": "Pipeline",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->",
                "function": "Illuminate\\Pipeline\\{closure}",
                "file": "/home/ubuntu/helper_api/app/Http/Middleware/EnsureTheUserIsActive.php",
                "line": 23,
                "args": []
            },
            {
                "namespace": "App\\Http\\Middleware",
                "short_class": "EnsureTheUserIsActive",
                "class": "App\\Http\\Middleware\\EnsureTheUserIsActive",
                "type": "->",
                "function": "handle",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 167,
                "args": []
            },
            {
                "namespace": "Illuminate\\Pipeline",
                "short_class": "Pipeline",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->",
                "function": "Illuminate\\Pipeline\\{closure}",
                "file": "/home/ubuntu/helper_api/app/Http/Middleware/CheckForQueryDebug.php",
                "line": 42,
                "args": []
            },
            {
                "namespace": "App\\Http\\Middleware",
                "short_class": "CheckForQueryDebug",
                "class": "App\\Http\\Middleware\\CheckForQueryDebug",
                "type": "->",
                "function": "handle",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 167,
                "args": []
            },
            {
                "namespace": "Illuminate\\Pipeline",
                "short_class": "Pipeline",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->",
                "function": "Illuminate\\Pipeline\\{closure}",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php",
                "line": 50,
                "args": []
            },
            {
                "namespace": "Illuminate\\Routing\\Middleware",
                "short_class": "SubstituteBindings",
                "class": "Illuminate\\Routing\\Middleware\\SubstituteBindings",
                "type": "->",
                "function": "handle",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 167,
                "args": []
            },
            {
                "namespace": "Illuminate\\Pipeline",
                "short_class": "Pipeline",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->",
                "function": "Illuminate\\Pipeline\\{closure}",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php",
                "line": 127,
                "args": []
            },
            {
                "namespace": "Illuminate\\Routing\\Middleware",
                "short_class": "ThrottleRequests",
                "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
                "type": "->",
                "function": "handleRequest",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php",
                "line": 63,
                "args": []
            },
            {
                "namespace": "Illuminate\\Routing\\Middleware",
                "short_class": "ThrottleRequests",
                "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
                "type": "->",
                "function": "handle",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 167,
                "args": []
            },
            {
                "namespace": "Illuminate\\Pipeline",
                "short_class": "Pipeline",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->",
                "function": "Illuminate\\Pipeline\\{closure}",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php",
                "line": 44,
                "args": []
            },
            {
                "namespace": "Illuminate\\Auth\\Middleware",
                "short_class": "Authenticate",
                "class": "Illuminate\\Auth\\Middleware\\Authenticate",
                "type": "->",
                "function": "handle",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 167,
                "args": []
            },
            {
                "namespace": "Illuminate\\Pipeline",
                "short_class": "Pipeline",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->",
                "function": "Illuminate\\Pipeline\\{closure}",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 103,
                "args": []
            },
            {
                "namespace": "Illuminate\\Pipeline",
                "short_class": "Pipeline",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->",
                "function": "then",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
                "line": 723,
                "args": []
            },
            {
                "namespace": "Illuminate\\Routing",
                "short_class": "Router",
                "class": "Illuminate\\Routing\\Router",
                "type": "->",
                "function": "runRouteWithinStack",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
                "line": 698,
                "args": []
            },
            {
                "namespace": "Illuminate\\Routing",
                "short_class": "Router",
                "class": "Illuminate\\Routing\\Router",
                "type": "->",
                "function": "runRoute",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
                "line": 662,
                "args": []
            },
            {
                "namespace": "Illuminate\\Routing",
                "short_class": "Router",
                "class": "Illuminate\\Routing\\Router",
                "type": "->",
                "function": "dispatchToRoute",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
                "line": 651,
                "args": []
            },
            {
                "namespace": "Illuminate\\Routing",
                "short_class": "Router",
                "class": "Illuminate\\Routing\\Router",
                "type": "->",
                "function": "dispatch",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
                "line": 167,
                "args": []
            },
            {
                "namespace": "Illuminate\\Foundation\\Http",
                "short_class": "Kernel",
                "class": "Illuminate\\Foundation\\Http\\Kernel",
                "type": "->",
                "function": "Illuminate\\Foundation\\Http\\{closure}",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 128,
                "args": []
            },
            {
                "namespace": "Illuminate\\Pipeline",
                "short_class": "Pipeline",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->",
                "function": "Illuminate\\Pipeline\\{closure}",
                "file": "/home/ubuntu/helper_api/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Http/SetRequestIpMiddleware.php",
                "line": 45,
                "args": []
            },
            {
                "namespace": "Sentry\\Laravel\\Http",
                "short_class": "SetRequestIpMiddleware",
                "class": "Sentry\\Laravel\\Http\\SetRequestIpMiddleware",
                "type": "->",
                "function": "handle",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 167,
                "args": []
            },
            {
                "namespace": "Illuminate\\Pipeline",
                "short_class": "Pipeline",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->",
                "function": "Illuminate\\Pipeline\\{closure}",
                "file": "/home/ubuntu/helper_api/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Http/SetRequestMiddleware.php",
                "line": 42,
                "args": []
            },
            {
                "namespace": "Sentry\\Laravel\\Http",
                "short_class": "SetRequestMiddleware",
                "class": "Sentry\\Laravel\\Http\\SetRequestMiddleware",
                "type": "->",
                "function": "handle",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 167,
                "args": []
            },
            {
                "namespace": "Illuminate\\Pipeline",
                "short_class": "Pipeline",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->",
                "function": "Illuminate\\Pipeline\\{closure}",
                "file": "/home/ubuntu/helper_api/vendor/livewire/livewire/src/DisableBrowserCache.php",
                "line": 19,
                "args": []
            },
            {
                "namespace": "Livewire",
                "short_class": "DisableBrowserCache",
                "class": "Livewire\\DisableBrowserCache",
                "type": "->",
                "function": "handle",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 167,
                "args": []
            },
            {
                "namespace": "Illuminate\\Pipeline",
                "short_class": "Pipeline",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->",
                "function": "Illuminate\\Pipeline\\{closure}",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
                "line": 21,
                "args": []
            },
            {
                "namespace": "Illuminate\\Foundation\\Http\\Middleware",
                "short_class": "TransformsRequest",
                "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
                "type": "->",
                "function": "handle",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php",
                "line": 31,
                "args": []
            },
            {
                "namespace": "Illuminate\\Foundation\\Http\\Middleware",
                "short_class": "ConvertEmptyStringsToNull",
                "class": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull",
                "type": "->",
                "function": "handle",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 167,
                "args": []
            },
            {
                "namespace": "Illuminate\\Pipeline",
                "short_class": "Pipeline",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->",
                "function": "Illuminate\\Pipeline\\{closure}",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
                "line": 21,
                "args": []
            },
            {
                "namespace": "Illuminate\\Foundation\\Http\\Middleware",
                "short_class": "TransformsRequest",
                "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
                "type": "->",
                "function": "handle",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php",
                "line": 40,
                "args": []
            },
            {
                "namespace": "Illuminate\\Foundation\\Http\\Middleware",
                "short_class": "TrimStrings",
                "class": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings",
                "type": "->",
                "function": "handle",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 167,
                "args": []
            },
            {
                "namespace": "Illuminate\\Pipeline",
                "short_class": "Pipeline",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->",
                "function": "Illuminate\\Pipeline\\{closure}",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php",
                "line": 27,
                "args": []
            },
            {
                "namespace": "Illuminate\\Foundation\\Http\\Middleware",
                "short_class": "ValidatePostSize",
                "class": "Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize",
                "type": "->",
                "function": "handle",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 167,
                "args": []
            },
            {
                "namespace": "Illuminate\\Pipeline",
                "short_class": "Pipeline",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->",
                "function": "Illuminate\\Pipeline\\{closure}",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php",
                "line": 86,
                "args": []
            },
            {
                "namespace": "Illuminate\\Foundation\\Http\\Middleware",
                "short_class": "PreventRequestsDuringMaintenance",
                "class": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance",
                "type": "->",
                "function": "handle",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 167,
                "args": []
            },
            {
                "namespace": "Illuminate\\Pipeline",
                "short_class": "Pipeline",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->",
                "function": "Illuminate\\Pipeline\\{closure}",
                "file": "/home/ubuntu/helper_api/vendor/fruitcake/laravel-cors/src/HandleCors.php",
                "line": 37,
                "args": []
            },
            {
                "namespace": "Fruitcake\\Cors",
                "short_class": "HandleCors",
                "class": "Fruitcake\\Cors\\HandleCors",
                "type": "->",
                "function": "handle",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 167,
                "args": []
            },
            {
                "namespace": "Illuminate\\Pipeline",
                "short_class": "Pipeline",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->",
                "function": "Illuminate\\Pipeline\\{closure}",
                "file": "/home/ubuntu/helper_api/vendor/fideloper/proxy/src/TrustProxies.php",
                "line": 57,
                "args": []
            },
            {
                "namespace": "Fideloper\\Proxy",
                "short_class": "TrustProxies",
                "class": "Fideloper\\Proxy\\TrustProxies",
                "type": "->",
                "function": "handle",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 167,
                "args": []
            },
            {
                "namespace": "Illuminate\\Pipeline",
                "short_class": "Pipeline",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->",
                "function": "Illuminate\\Pipeline\\{closure}",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 103,
                "args": []
            },
            {
                "namespace": "Illuminate\\Pipeline",
                "short_class": "Pipeline",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->",
                "function": "then",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
                "line": 142,
                "args": []
            },
            {
                "namespace": "Illuminate\\Foundation\\Http",
                "short_class": "Kernel",
                "class": "Illuminate\\Foundation\\Http\\Kernel",
                "type": "->",
                "function": "sendRequestThroughRouter",
                "file": "/home/ubuntu/helper_api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
                "line": 111,
                "args": []
            },
            {
                "namespace": "Illuminate\\Foundation\\Http",
                "short_class": "Kernel",
                "class": "Illuminate\\Foundation\\Http\\Kernel",
                "type": "->",
                "function": "handle",
                "file": "/home/ubuntu/helper_api/public/index.php",
                "line": 55,
                "args": []
            }
        ]
    }
}