ErrorException {#862
  #message: "Undefined index: product"
  #code: 0
  #file: "/home/kitapk/web/kitapkalbi.com/public_html/app/Services/Catalog/Catalog.php"
  #line: 60
  #severity: E_NOTICE
  trace: {
    /home/kitapk/web/kitapkalbi.com/public_html/app/Services/Catalog/Catalog.php:60 {} else {    $lastVisitedProducts = [$product['product']->id];}
    }
    /home/kitapk/web/kitapkalbi.com/public_html/app/Http/Controllers/SlugController.php:19 {{\t$data = $this->catalog->handleSlug($main, $sub);\tif ($data) {
    }
    App\Http\Controllers\SlugController->handle() {}
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54 {{    return call_user_func_array([$this, $method], $parameters);}
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:45 {if (method_exists($controller, 'callAction')) {    return $controller->callAction($method, $parameters);}
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:219 {return $this->controllerDispatcher()->dispatch(    $this, $this->getController(), $this->getControllerMethod());
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:176 {if ($this->isControllerAction()) {    return $this->runController();}
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:682 {return $this->prepareResponse(    $request, $route->run());
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30 {try {    return $destination($passable);} catch (Exception $e) {
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:41 {
      › 
      ›     return $next($request);}
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {$response = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:75 {) {    return tap($next($request), function ($response) use ($request) {        if ($this->shouldAddXsrfTokenCookie()) {
    }
    /home/kitapk/web/kitapkalbi.com/public_html/app/Http/Middleware/VerifyCsrfToken.php:28 {
      › 
      ›     return parent::handle($request, $next);}
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {$response = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:104 {
      › 
      ›     return $pipeline($this->passable);}
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:684 {                        );                    });}
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:659 {return $this->prepareResponse($request,    $this->runRouteWithinStack($route, $request));
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:625 {{    return $this->runRoute($request, $this->findRoute($request));}
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:614 {
      › 
      ›     return $this->dispatchToRoute($request);}
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:176 {
      › 
      ›     return $this->router->dispatch($request);};
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30 {try {    return $destination($passable);} catch (Exception $e) {
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49 {
      › 
      ›     return $next($request);}
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {$response = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:63 {
      › 
      › $response = $next($request);}
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {$response = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 {{    $response = $next($request);}
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {$response = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:66 {{    return $this->encrypt($next($this->decrypt($request)));}
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {$response = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:31 {
      › 
      ›     return $next($request);}
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {$response = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27 {
      › 
      ›     return $next($request);}
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {$response = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:62 {
      › 
      ›     return $next($request);}
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {$response = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/barryvdh/laravel-cors/src/HandlePreflight.php:29 {
      › 
      ›     return $next($request);}
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {$response = method_exists($pipe, $this->method)                ? $pipe->{$this->method}(...$parameters)                : $pipe(...$parameters);
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
      › 
      ›     return $callable($passable);} catch (Exception $e) {
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:104 {
      › 
      ›     return $pipeline($this->passable);}
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:151 {                ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)                ->then($this->dispatchToRouter());}
    }
    /home/kitapk/web/kitapkalbi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 {
      › 
      ›     $response = $this->sendRequestThroughRouter($request);} catch (Exception $e) {
    }
    /home/kitapk/web/kitapkalbi.com/public_html/public/index.php:52 {$response = $kernel->handle(\t$request = Illuminate\Http\Request::capture());
    }
  }
}