Symfony Exception

RouteNotFoundException ViewException

HTTP 500 Internal Server Error

Route [public.products] not defined. (View: /home/ntechge/domains/ntech.ge/public_html/platform/themes/shopwise/views/404.blade.php)

Exceptions 2

Illuminate\View\ ViewException

  1.     {
  2.         if (! is_null($route $this->routes->getByName($name))) {
  3.             return $this->toRoute($route$parameters$absolute);
  4.         }
  5.         throw new RouteNotFoundException("Route [{$name}] not defined.");
  6.     }
  7.     /**
  8.      * Get the URL for a given route instance.
  9.      *
  1.         // flush out any stray output that might get out before an error occurs or
  2.         // an exception is thrown. This prevents any partial views from leaking.
  3.         try {
  4.             $this->files->getRequire($path$data);
  5.         } catch (Throwable $e) {
  6.             $this->handleViewException($e$obLevel);
  7.         }
  8.         return ltrim(ob_get_clean());
  9.     }
  1.         }
  2.         // Once we have the path to the compiled file, we will evaluate the paths with
  3.         // typical PHP just like any other templates. We also keep a stack of views
  4.         // which have been rendered for right exception messages to be generated.
  5.         $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         array_pop($this->lastCompiled);
  7.         return $results;
  8.     }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // We will keep track of the amount of views being rendered so we can flush
  2.         // the section after the complete rendering operation is done. This will
  3.         // clear out the sections for any separate views that may be rendered.
  4.         $this->factory->incrementRender();
  5.         $this->factory->callComposer($this);
  6.         $contents $this->getContents();
  7.         if ($this->shortcode->getStrip()) {
  8.             // strip content without shortcodes
  9.             $contents $this->shortcode->strip($contents);
  10.         } else {
  11.             // compile the shortcodes
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.         // If this content implements the "Renderable" interface then we will call the
  2.         // render method on the object so we will avoid any "__toString" exceptions
  3.         // that might be thrown and have their errors obscured by PHP's handling.
  4.         elseif ($content instanceof Renderable) {
  5.             $content $content->render();
  6.         }
  7.         parent::setContent($content);
  8.         return $this;
  1.      */
  2.     public function __construct($content ''$status 200, array $headers = [])
  3.     {
  4.         $this->headers = new ResponseHeaderBag($headers);
  5.         $this->setContent($content);
  6.         $this->setStatusCode($status);
  7.         $this->setProtocolVersion('1.0');
  8.     }
  9.     /**
  1.      * @param  array  $headers
  2.      * @return \Illuminate\Http\Response
  3.      */
  4.     public function make($content ''$status 200, array $headers = [])
  5.     {
  6.         return new Response($content$status$headers);
  7.     }
  8.     /**
  9.      * Create a new "no content" response.
  10.      *
  1.     {
  2.         if (is_array($view)) {
  3.             return $this->make($this->view->first($view$data), $status$headers);
  4.         }
  5.         return $this->make($this->view->make($view$data), $status$headers);
  6.     }
  7.     /**
  8.      * Create a new JSON response instance.
  9.      *
  1.         if (view()->exists($view $this->getHttpExceptionView($e))) {
  2.             return response()->view($view, [
  3.                 'errors' => new ViewErrorBag,
  4.                 'exception' => $e,
  5.             ], $e->getStatusCode(), $e->getHeaders());
  6.         }
  7.         return $this->convertExceptionToResponse($e);
  8.     }
  1.         if (! $this->isHttpException($e)) {
  2.             $e = new HttpException(500$e->getMessage());
  3.         }
  4.         return $this->toIlluminateResponse(
  5.             $this->renderHttpException($e), $e
  6.         );
  7.     }
  8.     /**
  9.      * Create a Symfony response for the given exception.
  1.             return $this->convertValidationExceptionToResponse($e$request);
  2.         }
  3.         return $request->expectsJson()
  4.                     ? $this->prepareJsonResponse($request$e)
  5.                     : $this->prepareResponse($request$e);
  6.     }
  7.     /**
  8.      * Map the exception using a registered mapper if possible.
  9.      *
  1.             if (!app()->isDownForMaintenance()) {
  2.                 do_action(BASE_ACTION_SITE_ERROR$code);
  3.             }
  4.         }
  5.         return parent::render($request$exception);
  6.     }
  7.     /**
  8.      * {@inheritDoc}
  9.      */
  1.         $handler $this->container->make(ExceptionHandler::class);
  2.         $handler->report($e);
  3.         $response $handler->render($passable$e);
  4.         if (is_object($response) && method_exists($response'withException')) {
  5.             $response->withException($e);
  6.         }
  1.     {
  2.         return function ($passable) use ($destination) {
  3.             try {
  4.                 return $destination($passable);
  5.             } catch (Throwable $e) {
  6.                 return $this->handleException($passable$e);
  7.             }
  8.         };
  9.     }
  10.     /**
  1.     {
  2.         if ($request->has($this->field)) {
  3.             $this->wrapValidator();
  4.         }
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Wraps Validator resolver with RemoteValidator resolver.
  9.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         $this->clean($request);
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Clean the request's data.
  9.      *
  1.             if ($callback($request)) {
  2.                 return $next($request);
  3.             }
  4.         }
  5.         return parent::handle($request$next);
  6.     }
  7.     /**
  8.      * Transform the given value.
  9.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         $this->clean($request);
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Clean the request's data.
  9.      *
  1.             if ($callback($request)) {
  2.                 return $next($request);
  3.             }
  4.         }
  5.         return parent::handle($request$next);
  6.     }
  7.     /**
  8.      * Transform the given value.
  9.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.         if ($max && $request->server('CONTENT_LENGTH') > $max) {
  2.             throw new PostTooLargeException;
  3.         }
  4.         return $next($request);
  5.     }
  6.     /**
  7.      * Determine the server 'post_max_size' as bytes.
  8.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.                 null,
  2.                 $this->getHeaders($data)
  3.             );
  4.         }
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Determine if the incoming request has a maintenance mode bypass cookie.
  9.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         // Check if we're dealing with CORS and if we should handle it
  5.         if (! $this->shouldRun($request)) {
  6.             return $next($request);
  7.         }
  8.         // For Preflight, return the Preflight response
  9.         if ($this->cors->isPreflightRequest($request)) {
  10.             $response $this->cors->handlePreflightRequest($request);
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.     public function handle(Request $requestClosure $next)
  2.     {
  3.         $request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests
  4.         $this->setTrustedProxyIpAddresses($request);
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Sets the trusted proxies on the request to the value of trustedproxy.proxies
  9.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.     {
  2.         $pipeline array_reduce(
  3.             array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
  4.         );
  5.         return $pipeline($this->passable);
  6.     }
  7.     /**
  8.      * Run the pipeline and return the result.
  9.      *
  1.         $this->bootstrap();
  2.         return (new Pipeline($this->app))
  3.                     ->send($request)
  4.                     ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
  5.                     ->then($this->dispatchToRouter());
  6.     }
  7.     /**
  8.      * Bootstrap the application for HTTP requests.
  9.      *
  1.     public function handle($request)
  2.     {
  3.         try {
  4.             $request->enableHttpMethodParameterOverride();
  5.             $response $this->sendRequestThroughRouter($request);
  6.         } catch (Throwable $e) {
  7.             $this->reportException($e);
  8.             $response $this->renderException($request$e);
  9.         }
  1. });
  2. $kernel $app->make(Kernel::class);
  3. $response tap($kernel->handle(
  4.     $request Request::capture()
  5. ))->send();
  6. $kernel->terminate($request$response);

Symfony\Component\Routing\Exception\ RouteNotFoundException

Route [public.products] not defined.

  1.     {
  2.         if (! is_null($route $this->routes->getByName($name))) {
  3.             return $this->toRoute($route$parameters$absolute);
  4.         }
  5.         throw new RouteNotFoundException("Route [{$name}] not defined.");
  6.     }
  7.     /**
  8.      * Get the URL for a given route instance.
  9.      *
  1.      * @param  bool  $absolute
  2.      * @return string
  3.      */
  4.     function route($name$parameters = [], $absolute true)
  5.     {
  6.         return app('url')->route($name$parameters$absolute);
  7.     }
  8. }
  9. if (! function_exists('secure_asset')) {
  10.     /**
  1.                     <div class="text-center">
  2.                         <div class="error_txt">404</div>
  3.                         <h5 class="mb-2 mb-sm-3"><?php echo e(__('Oops! The page you requested was not found!')); ?></h5>
  4.                         <p><?php echo e(__('The page you are looking for was moved, removed, renamed or might never existed.')); ?></p>
  5.                         <div class="search_form pb-3 pb-md-4">
  6.                             <form action="<?php echo e(route('public.products')); ?>" method="GET">
  7.                                 <input name="q" type="text" placeholder="<?php echo e(__('Search')); ?>" class="form-control">
  8.                                 <button type="submit" class="btn icon_search"><i class="ion-ios-search-strong"></i></button>
  9.                             </form>
  10.                         </div>
  11.                         <a href="<?php echo e(url('/')); ?>" class="btn btn-fill-out"><?php echo e(__('Back To Home')); ?></a>
  1.             $__data $data;
  2.             return (static function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 return require $__path;
  5.             })();
  6.         }
  7.         throw new FileNotFoundException("File does not exist at path {$path}.");
  8.     }
  1.             return (static function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 return require $__path;
  4.             })();
  5.         }
  6.         throw new FileNotFoundException("File does not exist at path {$path}.");
  7.     }
  1.         // We'll evaluate the contents of the view inside a try/catch block so we can
  2.         // flush out any stray output that might get out before an error occurs or
  3.         // an exception is thrown. This prevents any partial views from leaking.
  4.         try {
  5.             $this->files->getRequire($path$data);
  6.         } catch (Throwable $e) {
  7.             $this->handleViewException($e$obLevel);
  8.         }
  9.         return ltrim(ob_get_clean());
  1.         }
  2.         // Once we have the path to the compiled file, we will evaluate the paths with
  3.         // typical PHP just like any other templates. We also keep a stack of views
  4.         // which have been rendered for right exception messages to be generated.
  5.         $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         array_pop($this->lastCompiled);
  7.         return $results;
  8.     }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // We will keep track of the amount of views being rendered so we can flush
  2.         // the section after the complete rendering operation is done. This will
  3.         // clear out the sections for any separate views that may be rendered.
  4.         $this->factory->incrementRender();
  5.         $this->factory->callComposer($this);
  6.         $contents $this->getContents();
  7.         if ($this->shortcode->getStrip()) {
  8.             // strip content without shortcodes
  9.             $contents $this->shortcode->strip($contents);
  10.         } else {
  11.             // compile the shortcodes
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.         // If this content implements the "Renderable" interface then we will call the
  2.         // render method on the object so we will avoid any "__toString" exceptions
  3.         // that might be thrown and have their errors obscured by PHP's handling.
  4.         elseif ($content instanceof Renderable) {
  5.             $content $content->render();
  6.         }
  7.         parent::setContent($content);
  8.         return $this;
  1.      */
  2.     public function __construct($content ''$status 200, array $headers = [])
  3.     {
  4.         $this->headers = new ResponseHeaderBag($headers);
  5.         $this->setContent($content);
  6.         $this->setStatusCode($status);
  7.         $this->setProtocolVersion('1.0');
  8.     }
  9.     /**
  1.      * @param  array  $headers
  2.      * @return \Illuminate\Http\Response
  3.      */
  4.     public function make($content ''$status 200, array $headers = [])
  5.     {
  6.         return new Response($content$status$headers);
  7.     }
  8.     /**
  9.      * Create a new "no content" response.
  10.      *
  1.     {
  2.         if (is_array($view)) {
  3.             return $this->make($this->view->first($view$data), $status$headers);
  4.         }
  5.         return $this->make($this->view->make($view$data), $status$headers);
  6.     }
  7.     /**
  8.      * Create a new JSON response instance.
  9.      *
  1.         if (view()->exists($view $this->getHttpExceptionView($e))) {
  2.             return response()->view($view, [
  3.                 'errors' => new ViewErrorBag,
  4.                 'exception' => $e,
  5.             ], $e->getStatusCode(), $e->getHeaders());
  6.         }
  7.         return $this->convertExceptionToResponse($e);
  8.     }
  1.         if (! $this->isHttpException($e)) {
  2.             $e = new HttpException(500$e->getMessage());
  3.         }
  4.         return $this->toIlluminateResponse(
  5.             $this->renderHttpException($e), $e
  6.         );
  7.     }
  8.     /**
  9.      * Create a Symfony response for the given exception.
  1.             return $this->convertValidationExceptionToResponse($e$request);
  2.         }
  3.         return $request->expectsJson()
  4.                     ? $this->prepareJsonResponse($request$e)
  5.                     : $this->prepareResponse($request$e);
  6.     }
  7.     /**
  8.      * Map the exception using a registered mapper if possible.
  9.      *
  1.             if (!app()->isDownForMaintenance()) {
  2.                 do_action(BASE_ACTION_SITE_ERROR$code);
  3.             }
  4.         }
  5.         return parent::render($request$exception);
  6.     }
  7.     /**
  8.      * {@inheritDoc}
  9.      */
  1.         $handler $this->container->make(ExceptionHandler::class);
  2.         $handler->report($e);
  3.         $response $handler->render($passable$e);
  4.         if (is_object($response) && method_exists($response'withException')) {
  5.             $response->withException($e);
  6.         }
  1.     {
  2.         return function ($passable) use ($destination) {
  3.             try {
  4.                 return $destination($passable);
  5.             } catch (Throwable $e) {
  6.                 return $this->handleException($passable$e);
  7.             }
  8.         };
  9.     }
  10.     /**
  1.     {
  2.         if ($request->has($this->field)) {
  3.             $this->wrapValidator();
  4.         }
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Wraps Validator resolver with RemoteValidator resolver.
  9.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         $this->clean($request);
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Clean the request's data.
  9.      *
  1.             if ($callback($request)) {
  2.                 return $next($request);
  3.             }
  4.         }
  5.         return parent::handle($request$next);
  6.     }
  7.     /**
  8.      * Transform the given value.
  9.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         $this->clean($request);
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Clean the request's data.
  9.      *
  1.             if ($callback($request)) {
  2.                 return $next($request);
  3.             }
  4.         }
  5.         return parent::handle($request$next);
  6.     }
  7.     /**
  8.      * Transform the given value.
  9.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.         if ($max && $request->server('CONTENT_LENGTH') > $max) {
  2.             throw new PostTooLargeException;
  3.         }
  4.         return $next($request);
  5.     }
  6.     /**
  7.      * Determine the server 'post_max_size' as bytes.
  8.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.                 null,
  2.                 $this->getHeaders($data)
  3.             );
  4.         }
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Determine if the incoming request has a maintenance mode bypass cookie.
  9.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         // Check if we're dealing with CORS and if we should handle it
  5.         if (! $this->shouldRun($request)) {
  6.             return $next($request);
  7.         }
  8.         // For Preflight, return the Preflight response
  9.         if ($this->cors->isPreflightRequest($request)) {
  10.             $response $this->cors->handlePreflightRequest($request);
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.     public function handle(Request $requestClosure $next)
  2.     {
  3.         $request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests
  4.         $this->setTrustedProxyIpAddresses($request);
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Sets the trusted proxies on the request to the value of trustedproxy.proxies
  9.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.     {
  2.         $pipeline array_reduce(
  3.             array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
  4.         );
  5.         return $pipeline($this->passable);
  6.     }
  7.     /**
  8.      * Run the pipeline and return the result.
  9.      *
  1.         $this->bootstrap();
  2.         return (new Pipeline($this->app))
  3.                     ->send($request)
  4.                     ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
  5.                     ->then($this->dispatchToRouter());
  6.     }
  7.     /**
  8.      * Bootstrap the application for HTTP requests.
  9.      *
  1.     public function handle($request)
  2.     {
  3.         try {
  4.             $request->enableHttpMethodParameterOverride();
  5.             $response $this->sendRequestThroughRouter($request);
  6.         } catch (Throwable $e) {
  7.             $this->reportException($e);
  8.             $response $this->renderException($request$e);
  9.         }
  1. });
  2. $kernel $app->make(Kernel::class);
  3. $response tap($kernel->handle(
  4.     $request Request::capture()
  5. ))->send();
  6. $kernel->terminate($request$response);

Stack Traces 2

[2/2] ViewException
Illuminate\View\ViewException:
Route [public.products] not defined. (View: /home/ntechge/domains/ntech.ge/public_html/platform/themes/shopwise/views/404.blade.php)

  at /home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Routing/UrlGenerator.php:427
  at Illuminate\View\Engines\CompilerEngine->handleViewException()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:60)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:61)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:139)
  at Illuminate\View\View->getContents()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/botble/shortcode/src/View/View.php:83)
  at Botble\Shortcode\View\View->renderContents()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:91)
  at Illuminate\View\View->render()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Http/Response.php:69)
  at Illuminate\Http\Response->setContent()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Http/Response.php:35)
  at Illuminate\Http\Response->__construct()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:55)
  at Illuminate\Routing\ResponseFactory->make()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:85)
  at Illuminate\Routing\ResponseFactory->view()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:571)
  at Illuminate\Foundation\Exceptions\Handler->renderHttpException()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:476)
  at Illuminate\Foundation\Exceptions\Handler->prepareResponse()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:354)
  at Illuminate\Foundation\Exceptions\Handler->render()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/botble/platform/base/src/Exceptions/Handler.php:77)
  at Botble\Base\Exceptions\Handler->render()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51)
  at Illuminate\Routing\Pipeline->handleException()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:130)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/botble/platform/js-validation/src/RemoteValidationMiddleware.php:61)
  at Botble\JsValidation\RemoteValidationMiddleware->handle()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
  at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27)
  at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php:38)
  at Fruitcake\Cors\HandleCors->handle()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/fideloper/proxy/src/TrustProxies.php:57)
  at Fideloper\Proxy\TrustProxies->handle()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103)
  at Illuminate\Pipeline\Pipeline->then()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:141)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:110)
  at Illuminate\Foundation\Http\Kernel->handle()
     (/home/ntechge/domains/ntech.ge/public_html/public/index.php:56)                
[1/2] RouteNotFoundException
Symfony\Component\Routing\Exception\RouteNotFoundException:
Route [public.products] not defined.

  at /home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Routing/UrlGenerator.php:427
  at Illuminate\Routing\UrlGenerator->route()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php:726)
  at route()
     (/home/ntechge/domains/ntech.ge/public_html/storage/framework/views/ac93ee0fdd547a14ad225907269c6bbf902b263c.php:41)
  at require('/home/ntechge/domains/ntech.ge/public_html/storage/framework/views/ac93ee0fdd547a14ad225907269c6bbf902b263c.php')
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:107)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:108)
  at Illuminate\Filesystem\Filesystem->getRequire()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:61)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:139)
  at Illuminate\View\View->getContents()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/botble/shortcode/src/View/View.php:83)
  at Botble\Shortcode\View\View->renderContents()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:91)
  at Illuminate\View\View->render()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Http/Response.php:69)
  at Illuminate\Http\Response->setContent()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Http/Response.php:35)
  at Illuminate\Http\Response->__construct()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:55)
  at Illuminate\Routing\ResponseFactory->make()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:85)
  at Illuminate\Routing\ResponseFactory->view()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:571)
  at Illuminate\Foundation\Exceptions\Handler->renderHttpException()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:476)
  at Illuminate\Foundation\Exceptions\Handler->prepareResponse()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:354)
  at Illuminate\Foundation\Exceptions\Handler->render()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/botble/platform/base/src/Exceptions/Handler.php:77)
  at Botble\Base\Exceptions\Handler->render()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51)
  at Illuminate\Routing\Pipeline->handleException()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:130)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/botble/platform/js-validation/src/RemoteValidationMiddleware.php:61)
  at Botble\JsValidation\RemoteValidationMiddleware->handle()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
  at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27)
  at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php:38)
  at Fruitcake\Cors\HandleCors->handle()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/fideloper/proxy/src/TrustProxies.php:57)
  at Fideloper\Proxy\TrustProxies->handle()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103)
  at Illuminate\Pipeline\Pipeline->then()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:141)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
     (/home/ntechge/domains/ntech.ge/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:110)
  at Illuminate\Foundation\Http\Kernel->handle()
     (/home/ntechge/domains/ntech.ge/public_html/public/index.php:56)