FlattenException {#401 -message: "Undefined index: data" -code: 0 -previous: null -trace: array:54 [ 0 => array:8 [ "namespace" => "" "short_class" => "" "class" => "" "type" => "" "function" => "" "file" => "/app/Http/Controllers/MainController.php" "line" => 127 "args" => [] ] 1 => array:8 [ "namespace" => "Illuminate\Foundation\Bootstrap" "short_class" => "HandleExceptions" "class" => "Illuminate\Foundation\Bootstrap\HandleExceptions" "type" => "->" "function" => "handleError" "file" => "/app/Http/Controllers/MainController.php" "line" => 127 "args" => array:5 [ 0 => array:2 [ 0 => "integer" 1 => 8 ] 1 => array:2 [ 0 => "string" 1 => "Undefined index: data" ] 2 => array:2 [ 0 => "string" 1 => "/app/Http/Controllers/MainController.php" ] 3 => array:2 [ 0 => "integer" 1 => 127 ] 4 => array:2 [ 0 => "array" 1 => array:4 [ "apiUrl" => array:2 [ 0 => "string" 1 => "https://interadapter.pl/api/content/v2/6/products/drabinki-6939?menuItem=25" ] "ch" => array:2 [ 0 => "string" 1 => "Resource id #398" ] "response" => array:2 [ 0 => "string" 1 => "{"error":"Product is inactive"}" ] "data" => array:2 [ 0 => "array" 1 => array:1 [ "error" => array:2 [ 0 => "string" 1 => "Product is inactive" ] ] ] ] ] ] ] 2 => array:8 [ "namespace" => "App\Http\Controllers" "short_class" => "MainController" "class" => "App\Http\Controllers\MainController" "type" => "->" "function" => "fetch_api" "file" => "/app/Http/Controllers/MainController.php" "line" => 1180 "args" => array:1 [ 0 => array:2 [ 0 => "string" 1 => "https://interadapter.pl/api/content/v2/6/products/drabinki-6939?menuItem=25" ] ] ] 3 => array:8 [ "namespace" => "App\Http\Controllers" "short_class" => "MainController" "class" => "App\Http\Controllers\MainController" "type" => "->" "function" => "product" "file" => null "line" => null "args" => array:4 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] 1 => array:2 [ 0 => "array" 1 => [] ] 2 => array:2 [ 0 => "string" 1 => "drabinki-6939" ] 3 => array:2 [ 0 => "string" 1 => "2753" ] ] ] 4 => array:8 [ "namespace" => "" "short_class" => "" "class" => "" "type" => "" "function" => "call_user_func_array" "file" => "/vendor/laravel/framework/src/Illuminate/Routing/Controller.php" "line" => 54 "args" => array:2 [ 0 => array:2 [ 0 => "array" 1 => array:2 [ 0 => array:2 [ 0 => "object" 1 => "App\Http\Controllers\MainController" ] 1 => array:2 [ 0 => "string" 1 => "product" ] ] ] 1 => array:2 [ 0 => "array" 1 => array:4 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] "categories" => array:2 [ 0 => "string" 1 => "urzadzenia-rehabilitacyjne" ] "product" => array:2 [ 0 => "string" 1 => "drabinki-6939" ] "id" => array:2 [ 0 => "string" 1 => "2753" ] ] ] ] ] 5 => array:8 [ "namespace" => "Illuminate\Routing" "short_class" => "Controller" "class" => "Illuminate\Routing\Controller" "type" => "->" "function" => "callAction" "file" => "/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php" "line" => 45 "args" => array:2 [ 0 => array:2 [ 0 => "string" 1 => "product" ] 1 => array:2 [ 0 => "array" 1 => array:4 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] "categories" => array:2 [ 0 => "string" 1 => "urzadzenia-rehabilitacyjne" ] "product" => array:2 [ 0 => "string" 1 => "drabinki-6939" ] "id" => array:2 [ 0 => "string" 1 => "2753" ] ] ] ] ] 6 => array:8 [ "namespace" => "Illuminate\Routing" "short_class" => "ControllerDispatcher" "class" => "Illuminate\Routing\ControllerDispatcher" "type" => "->" "function" => "dispatch" "file" => "/vendor/laravel/framework/src/Illuminate/Routing/Route.php" "line" => 219 "args" => array:3 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Routing\Route" ] 1 => array:2 [ 0 => "object" 1 => "App\Http\Controllers\MainController" ] 2 => array:2 [ 0 => "string" 1 => "product" ] ] ] 7 => array:8 [ "namespace" => "Illuminate\Routing" "short_class" => "Route" "class" => "Illuminate\Routing\Route" "type" => "->" "function" => "runController" "file" => "/vendor/laravel/framework/src/Illuminate/Routing/Route.php" "line" => 176 "args" => [] ] 8 => array:8 [ "namespace" => "Illuminate\Routing" "short_class" => "Route" "class" => "Illuminate\Routing\Route" "type" => "->" "function" => "run" "file" => "/vendor/laravel/framework/src/Illuminate/Routing/Router.php" "line" => 680 "args" => [] ] 9 => array:8 [ "namespace" => "Illuminate\Routing" "short_class" => "Router" "class" => "Illuminate\Routing\Router" "type" => "->" "function" => "Illuminate\Routing\{closure}" "file" => "/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" "line" => 30 "args" => array:1 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] ] ] 10 => array:8 [ "namespace" => "Illuminate\Routing" "short_class" => "Pipeline" "class" => "Illuminate\Routing\Pipeline" "type" => "->" "function" => "Illuminate\Routing\{closure}" "file" => "/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php" "line" => 41 "args" => array:1 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] ] ] 11 => array:8 [ "namespace" => "Illuminate\Routing\Middleware" "short_class" => "SubstituteBindings" "class" => "Illuminate\Routing\Middleware\SubstituteBindings" "type" => "->" "function" => "handle" "file" => "/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" "line" => 163 "args" => array:2 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] 1 => array:2 [ 0 => "object" 1 => "Closure" ] ] ] 12 => array:8 [ "namespace" => "Illuminate\Pipeline" "short_class" => "Pipeline" "class" => "Illuminate\Pipeline\Pipeline" "type" => "->" "function" => "Illuminate\Pipeline\{closure}" "file" => "/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" "line" => 53 "args" => array:1 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] ] ] 13 => array:8 [ "namespace" => "Illuminate\Routing" "short_class" => "Pipeline" "class" => "Illuminate\Routing\Pipeline" "type" => "->" "function" => "Illuminate\Routing\{closure}" "file" => "/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php" "line" => 75 "args" => array:1 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] ] ] 14 => array:8 [ "namespace" => "Illuminate\Foundation\Http\Middleware" "short_class" => "VerifyCsrfToken" "class" => "Illuminate\Foundation\Http\Middleware\VerifyCsrfToken" "type" => "->" "function" => "handle" "file" => "/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" "line" => 163 "args" => array:2 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] 1 => array:2 [ 0 => "object" 1 => "Closure" ] ] ] 15 => array:8 [ "namespace" => "Illuminate\Pipeline" "short_class" => "Pipeline" "class" => "Illuminate\Pipeline\Pipeline" "type" => "->" "function" => "Illuminate\Pipeline\{closure}" "file" => "/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" "line" => 53 "args" => array:1 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] ] ] 16 => array:8 [ "namespace" => "Illuminate\Routing" "short_class" => "Pipeline" "class" => "Illuminate\Routing\Pipeline" "type" => "->" "function" => "Illuminate\Routing\{closure}" "file" => "/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php" "line" => 49 "args" => array:1 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] ] ] 17 => array:8 [ "namespace" => "Illuminate\View\Middleware" "short_class" => "ShareErrorsFromSession" "class" => "Illuminate\View\Middleware\ShareErrorsFromSession" "type" => "->" "function" => "handle" "file" => "/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" "line" => 163 "args" => array:2 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] 1 => array:2 [ 0 => "object" 1 => "Closure" ] ] ] 18 => array:8 [ "namespace" => "Illuminate\Pipeline" "short_class" => "Pipeline" "class" => "Illuminate\Pipeline\Pipeline" "type" => "->" "function" => "Illuminate\Pipeline\{closure}" "file" => "/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" "line" => 53 "args" => array:1 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] ] ] 19 => array:8 [ "namespace" => "Illuminate\Routing" "short_class" => "Pipeline" "class" => "Illuminate\Routing\Pipeline" "type" => "->" "function" => "Illuminate\Routing\{closure}" "file" => "/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php" "line" => 56 "args" => array:1 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] ] ] 20 => array:8 [ "namespace" => "Illuminate\Session\Middleware" "short_class" => "StartSession" "class" => "Illuminate\Session\Middleware\StartSession" "type" => "->" "function" => "handle" "file" => "/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" "line" => 163 "args" => array:2 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] 1 => array:2 [ 0 => "object" 1 => "Closure" ] ] ] 21 => array:8 [ "namespace" => "Illuminate\Pipeline" "short_class" => "Pipeline" "class" => "Illuminate\Pipeline\Pipeline" "type" => "->" "function" => "Illuminate\Pipeline\{closure}" "file" => "/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" "line" => 53 "args" => array:1 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] ] ] 22 => array:8 [ "namespace" => "Illuminate\Routing" "short_class" => "Pipeline" "class" => "Illuminate\Routing\Pipeline" "type" => "->" "function" => "Illuminate\Routing\{closure}" "file" => "/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php" "line" => 37 "args" => array:1 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] ] ] 23 => array:8 [ "namespace" => "Illuminate\Cookie\Middleware" "short_class" => "AddQueuedCookiesToResponse" "class" => "Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse" "type" => "->" "function" => "handle" "file" => "/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" "line" => 163 "args" => array:2 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] 1 => array:2 [ 0 => "object" 1 => "Closure" ] ] ] 24 => array:8 [ "namespace" => "Illuminate\Pipeline" "short_class" => "Pipeline" "class" => "Illuminate\Pipeline\Pipeline" "type" => "->" "function" => "Illuminate\Pipeline\{closure}" "file" => "/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" "line" => 53 "args" => array:1 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] ] ] 25 => array:8 [ "namespace" => "Illuminate\Routing" "short_class" => "Pipeline" "class" => "Illuminate\Routing\Pipeline" "type" => "->" "function" => "Illuminate\Routing\{closure}" "file" => "/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php" "line" => 66 "args" => array:1 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] ] ] 26 => array:8 [ "namespace" => "Illuminate\Cookie\Middleware" "short_class" => "EncryptCookies" "class" => "Illuminate\Cookie\Middleware\EncryptCookies" "type" => "->" "function" => "handle" "file" => "/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" "line" => 163 "args" => array:2 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] 1 => array:2 [ 0 => "object" 1 => "Closure" ] ] ] 27 => array:8 [ "namespace" => "Illuminate\Pipeline" "short_class" => "Pipeline" "class" => "Illuminate\Pipeline\Pipeline" "type" => "->" "function" => "Illuminate\Pipeline\{closure}" "file" => "/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" "line" => 53 "args" => array:1 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] ] ] 28 => array:8 [ "namespace" => "Illuminate\Routing" "short_class" => "Pipeline" "class" => "Illuminate\Routing\Pipeline" "type" => "->" "function" => "Illuminate\Routing\{closure}" "file" => "/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" "line" => 104 "args" => array:1 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] ] ] 29 => array:8 [ "namespace" => "Illuminate\Pipeline" "short_class" => "Pipeline" "class" => "Illuminate\Pipeline\Pipeline" "type" => "->" "function" => "then" "file" => "/vendor/laravel/framework/src/Illuminate/Routing/Router.php" "line" => 682 "args" => array:1 [ 0 => array:2 [ 0 => "object" 1 => "Closure" ] ] ] 30 => array:8 [ "namespace" => "Illuminate\Routing" "short_class" => "Router" "class" => "Illuminate\Routing\Router" "type" => "->" "function" => "runRouteWithinStack" "file" => "/vendor/laravel/framework/src/Illuminate/Routing/Router.php" "line" => 657 "args" => array:2 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Routing\Route" ] 1 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] ] ] 31 => array:8 [ "namespace" => "Illuminate\Routing" "short_class" => "Router" "class" => "Illuminate\Routing\Router" "type" => "->" "function" => "runRoute" "file" => "/vendor/laravel/framework/src/Illuminate/Routing/Router.php" "line" => 623 "args" => array:2 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] 1 => array:2 [ 0 => "object" 1 => "Illuminate\Routing\Route" ] ] ] 32 => array:8 [ "namespace" => "Illuminate\Routing" "short_class" => "Router" "class" => "Illuminate\Routing\Router" "type" => "->" "function" => "dispatchToRoute" "file" => "/vendor/laravel/framework/src/Illuminate/Routing/Router.php" "line" => 612 "args" => array:1 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] ] ] 33 => array:8 [ "namespace" => "Illuminate\Routing" "short_class" => "Router" "class" => "Illuminate\Routing\Router" "type" => "->" "function" => "dispatch" "file" => "/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php" "line" => 176 "args" => array:1 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] ] ] 34 => array:8 [ "namespace" => "Illuminate\Foundation\Http" "short_class" => "Kernel" "class" => "Illuminate\Foundation\Http\Kernel" "type" => "->" "function" => "Illuminate\Foundation\Http\{closure}" "file" => "/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" "line" => 30 "args" => array:1 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] ] ] 35 => array:8 [ "namespace" => "Illuminate\Routing" "short_class" => "Pipeline" "class" => "Illuminate\Routing\Pipeline" "type" => "->" "function" => "Illuminate\Routing\{closure}" "file" => "/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php" "line" => 21 "args" => array:1 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] ] ] 36 => array:8 [ "namespace" => "Illuminate\Foundation\Http\Middleware" "short_class" => "TransformsRequest" "class" => "Illuminate\Foundation\Http\Middleware\TransformsRequest" "type" => "->" "function" => "handle" "file" => "/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" "line" => 163 "args" => array:2 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] 1 => array:2 [ 0 => "object" 1 => "Closure" ] ] ] 37 => array:8 [ "namespace" => "Illuminate\Pipeline" "short_class" => "Pipeline" "class" => "Illuminate\Pipeline\Pipeline" "type" => "->" "function" => "Illuminate\Pipeline\{closure}" "file" => "/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" "line" => 53 "args" => array:1 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] ] ] 38 => array:8 [ "namespace" => "Illuminate\Routing" "short_class" => "Pipeline" "class" => "Illuminate\Routing\Pipeline" "type" => "->" "function" => "Illuminate\Routing\{closure}" "file" => "/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php" "line" => 21 "args" => array:1 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] ] ] 39 => array:8 [ "namespace" => "Illuminate\Foundation\Http\Middleware" "short_class" => "TransformsRequest" "class" => "Illuminate\Foundation\Http\Middleware\TransformsRequest" "type" => "->" "function" => "handle" "file" => "/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" "line" => 163 "args" => array:2 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] 1 => array:2 [ 0 => "object" 1 => "Closure" ] ] ] 40 => array:8 [ "namespace" => "Illuminate\Pipeline" "short_class" => "Pipeline" "class" => "Illuminate\Pipeline\Pipeline" "type" => "->" "function" => "Illuminate\Pipeline\{closure}" "file" => "/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" "line" => 53 "args" => array:1 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] ] ] 41 => array:8 [ "namespace" => "Illuminate\Routing" "short_class" => "Pipeline" "class" => "Illuminate\Routing\Pipeline" "type" => "->" "function" => "Illuminate\Routing\{closure}" "file" => "/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php" "line" => 27 "args" => array:1 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] ] ] 42 => array:8 [ "namespace" => "Illuminate\Foundation\Http\Middleware" "short_class" => "ValidatePostSize" "class" => "Illuminate\Foundation\Http\Middleware\ValidatePostSize" "type" => "->" "function" => "handle" "file" => "/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" "line" => 163 "args" => array:2 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] 1 => array:2 [ 0 => "object" 1 => "Closure" ] ] ] 43 => array:8 [ "namespace" => "Illuminate\Pipeline" "short_class" => "Pipeline" "class" => "Illuminate\Pipeline\Pipeline" "type" => "->" "function" => "Illuminate\Pipeline\{closure}" "file" => "/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" "line" => 53 "args" => array:1 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] ] ] 44 => array:8 [ "namespace" => "Illuminate\Routing" "short_class" => "Pipeline" "class" => "Illuminate\Routing\Pipeline" "type" => "->" "function" => "Illuminate\Routing\{closure}" "file" => "/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php" "line" => 62 "args" => array:1 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] ] ] 45 => array:8 [ "namespace" => "Illuminate\Foundation\Http\Middleware" "short_class" => "CheckForMaintenanceMode" "class" => "Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode" "type" => "->" "function" => "handle" "file" => "/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" "line" => 163 "args" => array:2 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] 1 => array:2 [ 0 => "object" 1 => "Closure" ] ] ] 46 => array:8 [ "namespace" => "Illuminate\Pipeline" "short_class" => "Pipeline" "class" => "Illuminate\Pipeline\Pipeline" "type" => "->" "function" => "Illuminate\Pipeline\{closure}" "file" => "/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" "line" => 53 "args" => array:1 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] ] ] 47 => array:8 [ "namespace" => "Illuminate\Routing" "short_class" => "Pipeline" "class" => "Illuminate\Routing\Pipeline" "type" => "->" "function" => "Illuminate\Routing\{closure}" "file" => "/vendor/fideloper/proxy/src/TrustProxies.php" "line" => 57 "args" => array:1 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] ] ] 48 => array:8 [ "namespace" => "Fideloper\Proxy" "short_class" => "TrustProxies" "class" => "Fideloper\Proxy\TrustProxies" "type" => "->" "function" => "handle" "file" => "/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" "line" => 163 "args" => array:2 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] 1 => array:2 [ 0 => "object" 1 => "Closure" ] ] ] 49 => array:8 [ "namespace" => "Illuminate\Pipeline" "short_class" => "Pipeline" "class" => "Illuminate\Pipeline\Pipeline" "type" => "->" "function" => "Illuminate\Pipeline\{closure}" "file" => "/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php" "line" => 53 "args" => array:1 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] ] ] 50 => array:8 [ "namespace" => "Illuminate\Routing" "short_class" => "Pipeline" "class" => "Illuminate\Routing\Pipeline" "type" => "->" "function" => "Illuminate\Routing\{closure}" "file" => "/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php" "line" => 104 "args" => array:1 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] ] ] 51 => array:8 [ "namespace" => "Illuminate\Pipeline" "short_class" => "Pipeline" "class" => "Illuminate\Pipeline\Pipeline" "type" => "->" "function" => "then" "file" => "/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php" "line" => 151 "args" => array:1 [ 0 => array:2 [ 0 => "object" 1 => "Closure" ] ] ] 52 => array:8 [ "namespace" => "Illuminate\Foundation\Http" "short_class" => "Kernel" "class" => "Illuminate\Foundation\Http\Kernel" "type" => "->" "function" => "sendRequestThroughRouter" "file" => "/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php" "line" => 116 "args" => array:1 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] ] ] 53 => array:8 [ "namespace" => "Illuminate\Foundation\Http" "short_class" => "Kernel" "class" => "Illuminate\Foundation\Http\Kernel" "type" => "->" "function" => "handle" "file" => "/public/index.php" "line" => 55 "args" => array:1 [ 0 => array:2 [ 0 => "object" 1 => "Illuminate\Http\Request" ] ] ] ] -traceAsString: """ #0 /app/Http/Controllers/MainController.php(127): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined index...', '/app/Http/Contr...', 127, Array)\n #1 /app/Http/Controllers/MainController.php(1180): App\Http\Controllers\MainController->fetch_api('https://interad...')\n #2 [internal function]: App\Http\Controllers\MainController->product(Object(Illuminate\Http\Request), Array, 'drabinki-6939', '2753')\n #3 /vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): call_user_func_array(Array, Array)\n #4 /vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\Routing\Controller->callAction('product', Array)\n #5 /vendor/laravel/framework/src/Illuminate/Routing/Route.php(219): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(App\Http\Controllers\MainController), 'product')\n #6 /vendor/laravel/framework/src/Illuminate/Routing/Route.php(176): Illuminate\Routing\Route->runController()\n #7 /vendor/laravel/framework/src/Illuminate/Routing/Router.php(680): Illuminate\Routing\Route->run()\n #8 /vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(30): Illuminate\Routing\Router->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))\n #9 /vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(41): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))\n #10 /vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\Routing\Middleware\SubstituteBindings->handle(Object(Illuminate\Http\Request), Object(Closure))\n #11 /vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))\n #12 /vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(75): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))\n #13 /vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle(Object(Illuminate\Http\Request), Object(Closure))\n #14 /vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))\n #15 /vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))\n #16 /vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure))\n #17 /vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))\n #18 /vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(56): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))\n #19 /vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))\n #20 /vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))\n #21 /vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))\n #22 /vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure))\n #23 /vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))\n #24 /vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(66): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))\n #25 /vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))\n #26 /vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))\n #27 /vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(104): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))\n #28 /vendor/laravel/framework/src/Illuminate/Routing/Router.php(682): Illuminate\Pipeline\Pipeline->then(Object(Closure))\n #29 /vendor/laravel/framework/src/Illuminate/Routing/Router.php(657): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))\n #30 /vendor/laravel/framework/src/Illuminate/Routing/Router.php(623): Illuminate\Routing\Router->runRoute(Object(Illuminate\Http\Request), Object(Illuminate\Routing\Route))\n #31 /vendor/laravel/framework/src/Illuminate/Routing/Router.php(612): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))\n #32 /vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(176): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))\n #33 /vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(30): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request))\n #34 /vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))\n #35 /vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure))\n #36 /vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))\n #37 /vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))\n #38 /vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure))\n #39 /vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))\n #40 /vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))\n #41 /vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(Object(Illuminate\Http\Request), Object(Closure))\n #42 /vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))\n #43 /vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(62): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))\n #44 /vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))\n #45 /vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))\n #46 /vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))\n #47 /vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Fideloper\Proxy\TrustProxies->handle(Object(Illuminate\Http\Request), Object(Closure))\n #48 /vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))\n #49 /vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(104): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))\n #50 /vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(151): Illuminate\Pipeline\Pipeline->then(Object(Closure))\n #51 /vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(116): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))\n #52 /public/index.php(55): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))\n #53 {main} """ -class: "ErrorException" -statusCode: 500 -headers: [] -file: "/app/Http/Controllers/MainController.php" -line: 127 }