ErrorException {#714
  #message: "Undefined array key 0"
  #code: 0
  #file: "/mnt/volume_nyc1_01/frontend/vendor/twa/ecom-products/src/controllers/EcomProductsController.php"
  #line: 364
  #severity: E_WARNING
  trace: {
    /mnt/volume_nyc1_01/frontend/vendor/twa/ecom-products/src/controllers/EcomProductsController.php:364 {
      twa\ecomproducts\controllers\EcomProductsController->query($values = []) …
      › try{    $products['load_adjuster'] = self::getLoadAdjusters($products["data"][0]);}catch (\Throwable $e){
    }
    /mnt/volume_nyc1_01/frontend/vendor/twa/ecom-products/src/controllers/EcomProductsController.php:340 {
      twa\ecomproducts\controllers\EcomProductsController->query($values = []) …
      › foreach ($products['data'][$key]['recommended_ecom_products_id'] AS $key2 => $value2){    $recommended_product = collect(self::query(['productID' => $value2, "store" => $values->get('store') ]))->recursive();    if(isset($recommended_product['data'][0])){
    }
    /mnt/volume_nyc1_01/frontend/vendor/twa/ecom-general/src/helpers/productsHelper.php:45 {
      twa\ecomgeneral\helpers\productsHelper->byKeyword($ids) …
      › $this->parameters["keywords"] = $ids;$return = $this->productsClass->query($this->parameters);return collect($return);
    }
    /mnt/volume_nyc1_01/frontend/vendor/twa/ecom-general/src/helpers/productsHelper.php:70 {
      twa\ecomgeneral\helpers\productsHelper->byCollection($id) …
      › case "products using keyword":    $return = self::byKeyword(implode(',',$menu->keywords));    $return["menu"] = $menu;
    }
    /mnt/volume_nyc1_01/frontend/app/Http/Controllers/CollectionsController.php:11 {
      App\Http\Controllers\CollectionsController->redirect($prefix, $lang, $id, $slug) …
      › 
      › $products = ecom('products')->includeFilters()->addFilters(request()->input('filter', []))->condition("display", "full")->condition('slug', $slug)->condition('includeTitle', 0)->condition("IncludeProducts", 1)->condition("collectionID", $id)->condition("forceVariationSorting", 1)->byCollection($id);}
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54 {
      Illuminate\Routing\Controller->callAction($method, $parameters) …
      › {    return $this->{$method}(...array_values($parameters));}
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:45 {
      Illuminate\Routing\ControllerDispatcher->dispatch(Route $route, $controller, $method) …
      › if (method_exists($controller, 'callAction')) {    return $controller->callAction($method, $parameters);}
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Routing/Route.php:262 {
      Illuminate\Routing\Route->runController() …
      › return $this->controllerDispatcher()->dispatch(    $this, $this->getController(), $this->getControllerMethod());
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Routing/Route.php:205 {
      Illuminate\Routing\Route->run() …
      › if ($this->isControllerAction()) {    return $this->runController();}
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Routing/Router.php:695 {
      Illuminate\Routing\Router->Illuminate\Routing\{closure} …
      › return $this->prepareResponse(    $request, $route->run());
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › try {    return $destination($passable);} catch (Throwable $e) {
    }
    /mnt/volume_nyc1_01/frontend/app/Http/Middleware/CheckCountry.php:32 {
      App\Http\Middleware\CheckCountry->handle(Request $request, Closure $next) …
      ›     $request->country_code = $code;    return $next($request);}
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /mnt/volume_nyc1_01/frontend/vendor/twa/ecom-general/src/middleware/storeDefaultDataMiddleware.php:59 {
      twa\ecomgeneral\middleware\storeDefaultDataMiddleware->handle(Request $request, Closure $next) …
      ›     setcookie('offlineToken', $userData["user"]["token"], time()+60*24*60*3600,"/");    return $next($request);}else{
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /mnt/volume_nyc1_01/frontend/vendor/twa/ecom-general/src/middleware/storeRoutesMiddleware.php:51 {
      twa\ecomgeneral\middleware\storeRoutesMiddleware->handle(Request $request, Closure $next) …
      › 
      ›     return $next($request);}
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /mnt/volume_nyc1_01/frontend/app/Http/Middleware/EcomLanguageMiddleware.php:22 {
      App\Http\Middleware\EcomLanguageMiddleware->handle(Request $request, Closure $next) …
      ›     }    return $next($request);}
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:50 {
      Illuminate\Routing\Middleware\SubstituteBindings->handle($request, Closure $next) …
      › 
      ›     return $next($request);}
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78 {
      Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle($request, Closure $next) …
      › ) {    return tap($next($request), function ($response) use ($request) {        if ($this->shouldAddXsrfTokenCookie()) {
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49 {
      Illuminate\View\Middleware\ShareErrorsFromSession->handle($request, Closure $next) …
      › 
      ›     return $next($request);}
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121 {
      Illuminate\Session\Middleware\StartSession->handleStatefulRequest(Request $request, $session, Closure $next) …
      › 
      › $response = $next($request);}
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64 {
      Illuminate\Session\Middleware\StartSession->handle($request, Closure $next) …
      › 
      ›     return $this->handleStatefulRequest($request, $session, $next);}
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 {
      Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle($request, Closure $next) …
      › {    $response = $next($request);}
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67 {
      Illuminate\Cookie\Middleware\EncryptCookies->handle($request, Closure $next) …
      › {    return $this->encrypt($next($this->decrypt($request)));}
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103 {
      Illuminate\Pipeline\Pipeline->then(Closure $destination) …
      › 
      ›     return $pipeline($this->passable);}
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Routing/Router.php:697 {
      Illuminate\Routing\Router->runRouteWithinStack(Route $route, Request $request) …
      ›                         );                    });}
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Routing/Router.php:672 {
      Illuminate\Routing\Router->runRoute(Request $request, Route $route) …
      › return $this->prepareResponse($request,    $this->runRouteWithinStack($route, $request));
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Routing/Router.php:636 {
      Illuminate\Routing\Router->dispatchToRoute(Request $request) …
      › {    return $this->runRoute($request, $this->findRoute($request));}
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Routing/Router.php:625 {
      Illuminate\Routing\Router->dispatch(Request $request) …
      › 
      ›     return $this->dispatchToRoute($request);}
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:167 {
      Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure} …
      › 
      ›     return $this->router->dispatch($request);};
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › try {    return $destination($passable);} catch (Throwable $e) {
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67 {
      Illuminate\Cookie\Middleware\EncryptCookies->handle($request, Closure $next) …
      › {    return $this->encrypt($next($this->decrypt($request)));}
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121 {
      Illuminate\Session\Middleware\StartSession->handleStatefulRequest(Request $request, $session, Closure $next) …
      › 
      › $response = $next($request);}
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64 {
      Illuminate\Session\Middleware\StartSession->handle($request, Closure $next) …
      › 
      ›     return $this->handleStatefulRequest($request, $session, $next);}
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 {
      Illuminate\Foundation\Http\Middleware\TransformsRequest->handle($request, Closure $next) …
      › 
      ›     return $next($request);}
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31 {
      Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle($request, Closure $next) …
      › 
      ›     return parent::handle($request, $next);}
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 {
      Illuminate\Foundation\Http\Middleware\TransformsRequest->handle($request, Closure $next) …
      › 
      ›     return $next($request);}
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40 {
      Illuminate\Foundation\Http\Middleware\TrimStrings->handle($request, Closure $next) …
      › 
      ›     return parent::handle($request, $next);}
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27 {
      Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle($request, Closure $next) …
      › 
      ›     return $next($request);}
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /mnt/volume_nyc1_01/frontend/vendor/fruitcake/laravel-cors/src/HandleCors.php:38 {
      Fruitcake\Cors\HandleCors->handle($request, Closure $next) …
      › if (! $this->shouldRun($request)) {    return $next($request);}
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39 {
      Illuminate\Http\Middleware\TrustProxies->handle(Request $request, Closure $next) …
      › 
      ›     return $next($request);}
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 {
      Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
      › $carry = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103 {
      Illuminate\Pipeline\Pipeline->then(Closure $destination) …
      › 
      ›     return $pipeline($this->passable);}
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:142 {
      Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter($request) …
      ›                 ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)                ->then($this->dispatchToRouter());}
    }
    /mnt/volume_nyc1_01/frontend/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:111 {
      Illuminate\Foundation\Http\Kernel->handle($request) …
      › 
      ›     $response = $this->sendRequestThroughRouter($request);} catch (Throwable $e) {
    }
    /mnt/volume_nyc1_01/frontend/public/index.php:52 {$response = tap($kernel->handle(    $request = Request::capture()))->send();
    }
  }
}
🧨 Dump, Die, Debug