Symfony Exception

Error ViewException ViewException ViewException

HTTP 500 Internal Server Error

Call to a member function getName() on null (View: /var/www/vhosts/aquapool.kz/new.aquapool.kz/resources/views/includes/header.blade.php) (View: /var/www/vhosts/aquapool.kz/new.aquapool.kz/resources/views/includes/header.blade.php) (View: /var/www/vhosts/aquapool.kz/new.aquapool.kz/resources/views/includes/header.blade.php)

Exceptions 4

Illuminate\View\ ViewException

Show exception properties
Illuminate\View\ViewException {#756
  #severity: E_ERROR
}
  1.             <div class="nav-panel nav-panel--sticky" data-sticky-mode="pullToShow">
  2.                 <div class="nav-panel__container container">
  3.                     <div class="nav-panel__row">
  4.                         <div class="nav-panel__departments">
  5.                             <!-- .departments -->
  6.                             <div class="departments <?php echo e(Route::current()->getName() == 'index' 'departments--open departments--fixed' ''); ?> " data-departments-fixed-by=".block-slideshow">
  7.                                 <div class="departments__body">
  8.                                     <div class="departments__links-wrapper">
  9.                                         <div class="departments__submenus-container"></div>
  10.                                         <ul class="departments__links">
  11.                                             <?php $__currentLoopData $categories->children$__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop $__env->getLastLoop(); ?>
  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.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  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.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each section gets flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  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 $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(), $e);
  3.         }
  4.         return $this->toIlluminateResponse(
  5.             $this->renderHttpException($e), $e
  6.         )->prepare($request);
  7.     }
  8.     /**
  9.      * Create a Symfony response for the given exception.
  1.      */
  2.     protected function renderExceptionResponse($requestThrowable $e)
  3.     {
  4.         return $this->shouldReturnJson($request$e)
  5.                     ? $this->prepareJsonResponse($request$e)
  6.                     : $this->prepareResponse($request$e);
  7.     }
  8.     /**
  9.      * Convert an authentication exception into a response.
  10.      *
  1.         return match (true) {
  2.             $e instanceof HttpResponseException => $e->getResponse(),
  3.             $e instanceof AuthenticationException => $this->unauthenticated($request$e),
  4.             $e instanceof ValidationException => $this->convertValidationExceptionToResponse($e$request),
  5.             default => $this->renderExceptionResponse($request$e),
  6.         };
  7.     }
  8.     /**
  9.      * Prepare exception for rendering.
  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.     public function handle(Request $request$type HttpKernelInterface::MASTER_REQUEST$catch true): Response
  3.     {
  4.         $closure $this->closure;
  5.         return $closure($request);
  6.     }
  7. }
  1.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         $this->kernel->setClosure($next);
  5.         return $this->middleware->handle($request);
  6.     }
  7. }
  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.      * @return \Illuminate\Http\Response
  2.      */
  3.     public function handle($requestClosure $next)
  4.     {
  5.         if (! $this->hasMatchingPath($request)) {
  6.             return $next($request);
  7.         }
  8.         $this->cors->setOptions($this->container['config']->get('cors', []));
  9.         if ($this->cors->isPreflightRequest($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.     {
  2.         $request::setTrustedProxies([], $this->getTrustedHeaderNames());
  3.         $this->setTrustedProxyIpAddresses($request);
  4.         return $next($request);
  5.     }
  6.     /**
  7.      * Sets the trusted proxies on the request.
  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.     {
  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.         $this->requestStartedAt Carbon::now();
  2.         try {
  3.             $request->enableHttpMethodParameterOverride();
  4.             $response $this->sendRequestThroughRouter($request);
  5.         } catch (Throwable $e) {
  6.             $this->reportException($e);
  7.             $response $this->renderException($request$e);
  8.         }
Kernel->handle(object(Request)) in /var/www/vhosts/aquapool.kz/new.aquapool.kz/public/index.php (line 54)
  1. $curs_eu file_get_contents($_SERVER['DOCUMENT_ROOT'].'/price_eu.txt');
  2. $kernel $app->make(Kernel::class);
  3. $response $kernel->handle(
  4.     $request Request::capture()
  5. )->send();
  6. $kernel->terminate($request$response);

Illuminate\View\ ViewException

Call to a member function getName() on null (View: /var/www/vhosts/aquapool.kz/new.aquapool.kz/resources/views/includes/header.blade.php) (View: /var/www/vhosts/aquapool.kz/new.aquapool.kz/resources/views/includes/header.blade.php)

  1.             <div class="nav-panel nav-panel--sticky" data-sticky-mode="pullToShow">
  2.                 <div class="nav-panel__container container">
  3.                     <div class="nav-panel__row">
  4.                         <div class="nav-panel__departments">
  5.                             <!-- .departments -->
  6.                             <div class="departments <?php echo e(Route::current()->getName() == 'index' 'departments--open departments--fixed' ''); ?> " data-departments-fixed-by=".block-slideshow">
  7.                                 <div class="departments__body">
  8.                                     <div class="departments__links-wrapper">
  9.                                         <div class="departments__submenus-container"></div>
  10.                                         <ul class="departments__links">
  11.                                             <?php $__currentLoopData $categories->children$__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop $__env->getLastLoop(); ?>
  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.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  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.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each section gets flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  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.         </div>
  2.     </div>
  3. <?php $__env->stopSection(); ?>
  4. <?php echo $__env->make('layouts.main'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?><?php /**PATH /var/www/vhosts/aquapool.kz/new.aquapool.kz/resources/views/errors/404.blade.php ENDPATH**/ ?>
  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.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  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.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each section gets flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  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 $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(), $e);
  3.         }
  4.         return $this->toIlluminateResponse(
  5.             $this->renderHttpException($e), $e
  6.         )->prepare($request);
  7.     }
  8.     /**
  9.      * Create a Symfony response for the given exception.
  1.      */
  2.     protected function renderExceptionResponse($requestThrowable $e)
  3.     {
  4.         return $this->shouldReturnJson($request$e)
  5.                     ? $this->prepareJsonResponse($request$e)
  6.                     : $this->prepareResponse($request$e);
  7.     }
  8.     /**
  9.      * Convert an authentication exception into a response.
  10.      *
  1.         return match (true) {
  2.             $e instanceof HttpResponseException => $e->getResponse(),
  3.             $e instanceof AuthenticationException => $this->unauthenticated($request$e),
  4.             $e instanceof ValidationException => $this->convertValidationExceptionToResponse($e$request),
  5.             default => $this->renderExceptionResponse($request$e),
  6.         };
  7.     }
  8.     /**
  9.      * Prepare exception for rendering.
  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.     public function handle(Request $request$type HttpKernelInterface::MASTER_REQUEST$catch true): Response
  3.     {
  4.         $closure $this->closure;
  5.         return $closure($request);
  6.     }
  7. }
  1.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         $this->kernel->setClosure($next);
  5.         return $this->middleware->handle($request);
  6.     }
  7. }
  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.      * @return \Illuminate\Http\Response
  2.      */
  3.     public function handle($requestClosure $next)
  4.     {
  5.         if (! $this->hasMatchingPath($request)) {
  6.             return $next($request);
  7.         }
  8.         $this->cors->setOptions($this->container['config']->get('cors', []));
  9.         if ($this->cors->isPreflightRequest($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.     {
  2.         $request::setTrustedProxies([], $this->getTrustedHeaderNames());
  3.         $this->setTrustedProxyIpAddresses($request);
  4.         return $next($request);
  5.     }
  6.     /**
  7.      * Sets the trusted proxies on the request.
  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.     {
  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.         $this->requestStartedAt Carbon::now();
  2.         try {
  3.             $request->enableHttpMethodParameterOverride();
  4.             $response $this->sendRequestThroughRouter($request);
  5.         } catch (Throwable $e) {
  6.             $this->reportException($e);
  7.             $response $this->renderException($request$e);
  8.         }
Kernel->handle(object(Request)) in /var/www/vhosts/aquapool.kz/new.aquapool.kz/public/index.php (line 54)
  1. $curs_eu file_get_contents($_SERVER['DOCUMENT_ROOT'].'/price_eu.txt');
  2. $kernel $app->make(Kernel::class);
  3. $response $kernel->handle(
  4.     $request Request::capture()
  5. )->send();
  6. $kernel->terminate($request$response);

Illuminate\View\ ViewException

Call to a member function getName() on null (View: /var/www/vhosts/aquapool.kz/new.aquapool.kz/resources/views/includes/header.blade.php)

  1.             <div class="nav-panel nav-panel--sticky" data-sticky-mode="pullToShow">
  2.                 <div class="nav-panel__container container">
  3.                     <div class="nav-panel__row">
  4.                         <div class="nav-panel__departments">
  5.                             <!-- .departments -->
  6.                             <div class="departments <?php echo e(Route::current()->getName() == 'index' 'departments--open departments--fixed' ''); ?> " data-departments-fixed-by=".block-slideshow">
  7.                                 <div class="departments__body">
  8.                                     <div class="departments__links-wrapper">
  9.                                         <div class="departments__submenus-container"></div>
  10.                                         <ul class="departments__links">
  11.                                             <?php $__currentLoopData $categories->children$__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop $__env->getLastLoop(); ?>
  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.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  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.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each section gets flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  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. <body>
  2.     <?php echo seo(2); ?>
  3.     <div class="site">
  4.         <!-- mobile site__header -->
  5.         <?php echo $__env->make('includes.header'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?>
  6.         <?php echo $__env->renderUnless(request()->routeIs('index'), 'includes.breadcrumb'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path'])); ?>
  7.         <div class="site__body">
  8.             <!-- .block-slideshow -->
  9.             <?php echo $__env->yieldContent('content'); ?>
  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.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  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.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each section gets flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  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.         </div>
  2.     </div>
  3. <?php $__env->stopSection(); ?>
  4. <?php echo $__env->make('layouts.main'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?><?php /**PATH /var/www/vhosts/aquapool.kz/new.aquapool.kz/resources/views/errors/404.blade.php ENDPATH**/ ?>
  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.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  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.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each section gets flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  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 $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(), $e);
  3.         }
  4.         return $this->toIlluminateResponse(
  5.             $this->renderHttpException($e), $e
  6.         )->prepare($request);
  7.     }
  8.     /**
  9.      * Create a Symfony response for the given exception.
  1.      */
  2.     protected function renderExceptionResponse($requestThrowable $e)
  3.     {
  4.         return $this->shouldReturnJson($request$e)
  5.                     ? $this->prepareJsonResponse($request$e)
  6.                     : $this->prepareResponse($request$e);
  7.     }
  8.     /**
  9.      * Convert an authentication exception into a response.
  10.      *
  1.         return match (true) {
  2.             $e instanceof HttpResponseException => $e->getResponse(),
  3.             $e instanceof AuthenticationException => $this->unauthenticated($request$e),
  4.             $e instanceof ValidationException => $this->convertValidationExceptionToResponse($e$request),
  5.             default => $this->renderExceptionResponse($request$e),
  6.         };
  7.     }
  8.     /**
  9.      * Prepare exception for rendering.
  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.     public function handle(Request $request$type HttpKernelInterface::MASTER_REQUEST$catch true): Response
  3.     {
  4.         $closure $this->closure;
  5.         return $closure($request);
  6.     }
  7. }
  1.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         $this->kernel->setClosure($next);
  5.         return $this->middleware->handle($request);
  6.     }
  7. }
  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.      * @return \Illuminate\Http\Response
  2.      */
  3.     public function handle($requestClosure $next)
  4.     {
  5.         if (! $this->hasMatchingPath($request)) {
  6.             return $next($request);
  7.         }
  8.         $this->cors->setOptions($this->container['config']->get('cors', []));
  9.         if ($this->cors->isPreflightRequest($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.     {
  2.         $request::setTrustedProxies([], $this->getTrustedHeaderNames());
  3.         $this->setTrustedProxyIpAddresses($request);
  4.         return $next($request);
  5.     }
  6.     /**
  7.      * Sets the trusted proxies on the request.
  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.     {
  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.         $this->requestStartedAt Carbon::now();
  2.         try {
  3.             $request->enableHttpMethodParameterOverride();
  4.             $response $this->sendRequestThroughRouter($request);
  5.         } catch (Throwable $e) {
  6.             $this->reportException($e);
  7.             $response $this->renderException($request$e);
  8.         }
Kernel->handle(object(Request)) in /var/www/vhosts/aquapool.kz/new.aquapool.kz/public/index.php (line 54)
  1. $curs_eu file_get_contents($_SERVER['DOCUMENT_ROOT'].'/price_eu.txt');
  2. $kernel $app->make(Kernel::class);
  3. $response $kernel->handle(
  4.     $request Request::capture()
  5. )->send();
  6. $kernel->terminate($request$response);

Error

Call to a member function getName() on null

  1.             <div class="nav-panel nav-panel--sticky" data-sticky-mode="pullToShow">
  2.                 <div class="nav-panel__container container">
  3.                     <div class="nav-panel__row">
  4.                         <div class="nav-panel__departments">
  5.                             <!-- .departments -->
  6.                             <div class="departments <?php echo e(Route::current()->getName() == 'index' 'departments--open departments--fixed' ''); ?> " data-departments-fixed-by=".block-slideshow">
  7.                                 <div class="departments__body">
  8.                                     <div class="departments__links-wrapper">
  9.                                         <div class="departments__submenus-container"></div>
  10.                                         <ul class="departments__links">
  11.                                             <?php $__currentLoopData $categories->children$__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop $__env->getLastLoop(); ?>
  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.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  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.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each section gets flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  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. <body>
  2.     <?php echo seo(2); ?>
  3.     <div class="site">
  4.         <!-- mobile site__header -->
  5.         <?php echo $__env->make('includes.header'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?>
  6.         <?php echo $__env->renderUnless(request()->routeIs('index'), 'includes.breadcrumb'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path'])); ?>
  7.         <div class="site__body">
  8.             <!-- .block-slideshow -->
  9.             <?php echo $__env->yieldContent('content'); ?>
  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.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  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.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each section gets flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  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.         </div>
  2.     </div>
  3. <?php $__env->stopSection(); ?>
  4. <?php echo $__env->make('layouts.main'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?><?php /**PATH /var/www/vhosts/aquapool.kz/new.aquapool.kz/resources/views/errors/404.blade.php ENDPATH**/ ?>
  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.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  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.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each section gets flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  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 $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(), $e);
  3.         }
  4.         return $this->toIlluminateResponse(
  5.             $this->renderHttpException($e), $e
  6.         )->prepare($request);
  7.     }
  8.     /**
  9.      * Create a Symfony response for the given exception.
  1.      */
  2.     protected function renderExceptionResponse($requestThrowable $e)
  3.     {
  4.         return $this->shouldReturnJson($request$e)
  5.                     ? $this->prepareJsonResponse($request$e)
  6.                     : $this->prepareResponse($request$e);
  7.     }
  8.     /**
  9.      * Convert an authentication exception into a response.
  10.      *
  1.         return match (true) {
  2.             $e instanceof HttpResponseException => $e->getResponse(),
  3.             $e instanceof AuthenticationException => $this->unauthenticated($request$e),
  4.             $e instanceof ValidationException => $this->convertValidationExceptionToResponse($e$request),
  5.             default => $this->renderExceptionResponse($request$e),
  6.         };
  7.     }
  8.     /**
  9.      * Prepare exception for rendering.
  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.     public function handle(Request $request$type HttpKernelInterface::MASTER_REQUEST$catch true): Response
  3.     {
  4.         $closure $this->closure;
  5.         return $closure($request);
  6.     }
  7. }
  1.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         $this->kernel->setClosure($next);
  5.         return $this->middleware->handle($request);
  6.     }
  7. }
  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.      * @return \Illuminate\Http\Response
  2.      */
  3.     public function handle($requestClosure $next)
  4.     {
  5.         if (! $this->hasMatchingPath($request)) {
  6.             return $next($request);
  7.         }
  8.         $this->cors->setOptions($this->container['config']->get('cors', []));
  9.         if ($this->cors->isPreflightRequest($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.     {
  2.         $request::setTrustedProxies([], $this->getTrustedHeaderNames());
  3.         $this->setTrustedProxyIpAddresses($request);
  4.         return $next($request);
  5.     }
  6.     /**
  7.      * Sets the trusted proxies on the request.
  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.     {
  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.         $this->requestStartedAt Carbon::now();
  2.         try {
  3.             $request->enableHttpMethodParameterOverride();
  4.             $response $this->sendRequestThroughRouter($request);
  5.         } catch (Throwable $e) {
  6.             $this->reportException($e);
  7.             $response $this->renderException($request$e);
  8.         }
Kernel->handle(object(Request)) in /var/www/vhosts/aquapool.kz/new.aquapool.kz/public/index.php (line 54)
  1. $curs_eu file_get_contents($_SERVER['DOCUMENT_ROOT'].'/price_eu.txt');
  2. $kernel $app->make(Kernel::class);
  3. $response $kernel->handle(
  4.     $request Request::capture()
  5. )->send();
  6. $kernel->terminate($request$response);

Stack Traces 4

[4/4] ViewException
Illuminate\View\ViewException:
Call to a member function getName() on null (View: /var/www/vhosts/aquapool.kz/new.aquapool.kz/resources/views/includes/header.blade.php) (View: /var/www/vhosts/aquapool.kz/new.aquapool.kz/resources/views/includes/header.blade.php) (View: /var/www/vhosts/aquapool.kz/new.aquapool.kz/resources/views/includes/header.blade.php)

  at /var/www/vhosts/aquapool.kz/new.aquapool.kz/storage/framework/views/61997a5563a0f4a3393425cab9b4011aa654da0b.php:346
  at Illuminate\View\Engines\CompilerEngine->handleViewException(object(ViewException), 1)
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:60)
  at Illuminate\View\Engines\PhpEngine->evaluatePath('/var/www/vhosts/aquapool.kz/new.aquapool.kz/storage/framework/views/69d38dba7348cb183e954687a5c4a90cdb6dbad9.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException)))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70)
  at Illuminate\View\Engines\CompilerEngine->get('/var/www/vhosts/aquapool.kz/new.aquapool.kz/resources/views/errors/404.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException)))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/View.php:195)
  at Illuminate\View\View->getContents()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/View.php:178)
  at Illuminate\View\View->renderContents()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/View.php:147)
  at Illuminate\View\View->render()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Http/Response.php:69)
  at Illuminate\Http\Response->setContent(object(View))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Http/Response.php:35)
  at Illuminate\Http\Response->__construct(object(View), 404, array())
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:57)
  at Illuminate\Routing\ResponseFactory->make(object(View), 404, array())
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:87)
  at Illuminate\Routing\ResponseFactory->view('errors::404', array('errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException)), 404, array())
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:629)
  at Illuminate\Foundation\Exceptions\Handler->renderHttpException(object(NotFoundHttpException))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:554)
  at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(NotFoundHttpException))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:460)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse(object(Request), object(NotFoundHttpException))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:377)
  at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(NotFoundHttpException))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51)
  at Illuminate\Routing\Pipeline->handleException(object(Request), object(NotFoundHttpException))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:143)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/barryvdh/laravel-stack-middleware/src/ClosureHttpKernel.php:31)
  at Barryvdh\StackMiddleware\ClosureHttpKernel->handle(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/barryvdh/laravel-stack-middleware/src/ClosureMiddleware.php:36)
  at Barryvdh\StackMiddleware\ClosureMiddleware->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
  at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27)
  at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49)
  at Illuminate\Http\Middleware\HandleCors->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39)
  at Illuminate\Http\Middleware\TrustProxies->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
  at Illuminate\Pipeline\Pipeline->then(object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:165)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:134)
  at Illuminate\Foundation\Http\Kernel->handle(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/public/index.php:54)                
[3/4] ViewException
Illuminate\View\ViewException:
Call to a member function getName() on null (View: /var/www/vhosts/aquapool.kz/new.aquapool.kz/resources/views/includes/header.blade.php) (View: /var/www/vhosts/aquapool.kz/new.aquapool.kz/resources/views/includes/header.blade.php)

  at /var/www/vhosts/aquapool.kz/new.aquapool.kz/storage/framework/views/61997a5563a0f4a3393425cab9b4011aa654da0b.php:346
  at Illuminate\View\Engines\CompilerEngine->handleViewException(object(ViewException), 2)
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:60)
  at Illuminate\View\Engines\PhpEngine->evaluatePath('/var/www/vhosts/aquapool.kz/new.aquapool.kz/storage/framework/views/ca0b0eea4ade89da394f2c8dbd6d386418c88821.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException)))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70)
  at Illuminate\View\Engines\CompilerEngine->get('/var/www/vhosts/aquapool.kz/new.aquapool.kz/resources/views/layouts/main.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException)))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/View.php:195)
  at Illuminate\View\View->getContents()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/View.php:178)
  at Illuminate\View\View->renderContents()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/View.php:147)
  at Illuminate\View\View->render()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/storage/framework/views/69d38dba7348cb183e954687a5c4a90cdb6dbad9.php:30)
  at require('/var/www/vhosts/aquapool.kz/new.aquapool.kz/storage/framework/views/69d38dba7348cb183e954687a5c4a90cdb6dbad9.php')
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:109)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110)
  at Illuminate\Filesystem\Filesystem->getRequire('/var/www/vhosts/aquapool.kz/new.aquapool.kz/storage/framework/views/69d38dba7348cb183e954687a5c4a90cdb6dbad9.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException)))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath('/var/www/vhosts/aquapool.kz/new.aquapool.kz/storage/framework/views/69d38dba7348cb183e954687a5c4a90cdb6dbad9.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException)))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70)
  at Illuminate\View\Engines\CompilerEngine->get('/var/www/vhosts/aquapool.kz/new.aquapool.kz/resources/views/errors/404.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException)))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/View.php:195)
  at Illuminate\View\View->getContents()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/View.php:178)
  at Illuminate\View\View->renderContents()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/View.php:147)
  at Illuminate\View\View->render()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Http/Response.php:69)
  at Illuminate\Http\Response->setContent(object(View))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Http/Response.php:35)
  at Illuminate\Http\Response->__construct(object(View), 404, array())
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:57)
  at Illuminate\Routing\ResponseFactory->make(object(View), 404, array())
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:87)
  at Illuminate\Routing\ResponseFactory->view('errors::404', array('errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException)), 404, array())
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:629)
  at Illuminate\Foundation\Exceptions\Handler->renderHttpException(object(NotFoundHttpException))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:554)
  at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(NotFoundHttpException))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:460)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse(object(Request), object(NotFoundHttpException))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:377)
  at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(NotFoundHttpException))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51)
  at Illuminate\Routing\Pipeline->handleException(object(Request), object(NotFoundHttpException))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:143)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/barryvdh/laravel-stack-middleware/src/ClosureHttpKernel.php:31)
  at Barryvdh\StackMiddleware\ClosureHttpKernel->handle(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/barryvdh/laravel-stack-middleware/src/ClosureMiddleware.php:36)
  at Barryvdh\StackMiddleware\ClosureMiddleware->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
  at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27)
  at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49)
  at Illuminate\Http\Middleware\HandleCors->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39)
  at Illuminate\Http\Middleware\TrustProxies->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
  at Illuminate\Pipeline\Pipeline->then(object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:165)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:134)
  at Illuminate\Foundation\Http\Kernel->handle(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/public/index.php:54)                
[2/4] ViewException
Illuminate\View\ViewException:
Call to a member function getName() on null (View: /var/www/vhosts/aquapool.kz/new.aquapool.kz/resources/views/includes/header.blade.php)

  at /var/www/vhosts/aquapool.kz/new.aquapool.kz/storage/framework/views/61997a5563a0f4a3393425cab9b4011aa654da0b.php:346
  at Illuminate\View\Engines\CompilerEngine->handleViewException(object(Error), 3)
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:60)
  at Illuminate\View\Engines\PhpEngine->evaluatePath('/var/www/vhosts/aquapool.kz/new.aquapool.kz/storage/framework/views/61997a5563a0f4a3393425cab9b4011aa654da0b.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException), 'menu1' => object(Menu), 'menu2' => object(Menu), 'categories' => object(Category)))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70)
  at Illuminate\View\Engines\CompilerEngine->get('/var/www/vhosts/aquapool.kz/new.aquapool.kz/resources/views/includes/header.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException), 'menu1' => object(Menu), 'menu2' => object(Menu), 'categories' => object(Category)))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/View.php:195)
  at Illuminate\View\View->getContents()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/View.php:178)
  at Illuminate\View\View->renderContents()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/View.php:147)
  at Illuminate\View\View->render()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/storage/framework/views/ca0b0eea4ade89da394f2c8dbd6d386418c88821.php:23)
  at require('/var/www/vhosts/aquapool.kz/new.aquapool.kz/storage/framework/views/ca0b0eea4ade89da394f2c8dbd6d386418c88821.php')
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:109)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110)
  at Illuminate\Filesystem\Filesystem->getRequire('/var/www/vhosts/aquapool.kz/new.aquapool.kz/storage/framework/views/ca0b0eea4ade89da394f2c8dbd6d386418c88821.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException)))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath('/var/www/vhosts/aquapool.kz/new.aquapool.kz/storage/framework/views/ca0b0eea4ade89da394f2c8dbd6d386418c88821.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException)))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70)
  at Illuminate\View\Engines\CompilerEngine->get('/var/www/vhosts/aquapool.kz/new.aquapool.kz/resources/views/layouts/main.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException)))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/View.php:195)
  at Illuminate\View\View->getContents()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/View.php:178)
  at Illuminate\View\View->renderContents()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/View.php:147)
  at Illuminate\View\View->render()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/storage/framework/views/69d38dba7348cb183e954687a5c4a90cdb6dbad9.php:30)
  at require('/var/www/vhosts/aquapool.kz/new.aquapool.kz/storage/framework/views/69d38dba7348cb183e954687a5c4a90cdb6dbad9.php')
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:109)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110)
  at Illuminate\Filesystem\Filesystem->getRequire('/var/www/vhosts/aquapool.kz/new.aquapool.kz/storage/framework/views/69d38dba7348cb183e954687a5c4a90cdb6dbad9.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException)))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath('/var/www/vhosts/aquapool.kz/new.aquapool.kz/storage/framework/views/69d38dba7348cb183e954687a5c4a90cdb6dbad9.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException)))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70)
  at Illuminate\View\Engines\CompilerEngine->get('/var/www/vhosts/aquapool.kz/new.aquapool.kz/resources/views/errors/404.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException)))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/View.php:195)
  at Illuminate\View\View->getContents()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/View.php:178)
  at Illuminate\View\View->renderContents()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/View.php:147)
  at Illuminate\View\View->render()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Http/Response.php:69)
  at Illuminate\Http\Response->setContent(object(View))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Http/Response.php:35)
  at Illuminate\Http\Response->__construct(object(View), 404, array())
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:57)
  at Illuminate\Routing\ResponseFactory->make(object(View), 404, array())
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:87)
  at Illuminate\Routing\ResponseFactory->view('errors::404', array('errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException)), 404, array())
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:629)
  at Illuminate\Foundation\Exceptions\Handler->renderHttpException(object(NotFoundHttpException))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:554)
  at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(NotFoundHttpException))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:460)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse(object(Request), object(NotFoundHttpException))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:377)
  at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(NotFoundHttpException))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51)
  at Illuminate\Routing\Pipeline->handleException(object(Request), object(NotFoundHttpException))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:143)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/barryvdh/laravel-stack-middleware/src/ClosureHttpKernel.php:31)
  at Barryvdh\StackMiddleware\ClosureHttpKernel->handle(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/barryvdh/laravel-stack-middleware/src/ClosureMiddleware.php:36)
  at Barryvdh\StackMiddleware\ClosureMiddleware->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
  at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27)
  at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49)
  at Illuminate\Http\Middleware\HandleCors->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39)
  at Illuminate\Http\Middleware\TrustProxies->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
  at Illuminate\Pipeline\Pipeline->then(object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:165)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:134)
  at Illuminate\Foundation\Http\Kernel->handle(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/public/index.php:54)                
[1/4] Error
Error:
Call to a member function getName() on null

  at /var/www/vhosts/aquapool.kz/new.aquapool.kz/storage/framework/views/61997a5563a0f4a3393425cab9b4011aa654da0b.php:346
  at require()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:109)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110)
  at Illuminate\Filesystem\Filesystem->getRequire('/var/www/vhosts/aquapool.kz/new.aquapool.kz/storage/framework/views/61997a5563a0f4a3393425cab9b4011aa654da0b.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException), 'menu1' => object(Menu), 'menu2' => object(Menu), 'categories' => object(Category)))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath('/var/www/vhosts/aquapool.kz/new.aquapool.kz/storage/framework/views/61997a5563a0f4a3393425cab9b4011aa654da0b.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException), 'menu1' => object(Menu), 'menu2' => object(Menu), 'categories' => object(Category)))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70)
  at Illuminate\View\Engines\CompilerEngine->get('/var/www/vhosts/aquapool.kz/new.aquapool.kz/resources/views/includes/header.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException), 'menu1' => object(Menu), 'menu2' => object(Menu), 'categories' => object(Category)))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/View.php:195)
  at Illuminate\View\View->getContents()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/View.php:178)
  at Illuminate\View\View->renderContents()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/View.php:147)
  at Illuminate\View\View->render()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/storage/framework/views/ca0b0eea4ade89da394f2c8dbd6d386418c88821.php:23)
  at require('/var/www/vhosts/aquapool.kz/new.aquapool.kz/storage/framework/views/ca0b0eea4ade89da394f2c8dbd6d386418c88821.php')
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:109)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110)
  at Illuminate\Filesystem\Filesystem->getRequire('/var/www/vhosts/aquapool.kz/new.aquapool.kz/storage/framework/views/ca0b0eea4ade89da394f2c8dbd6d386418c88821.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException)))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath('/var/www/vhosts/aquapool.kz/new.aquapool.kz/storage/framework/views/ca0b0eea4ade89da394f2c8dbd6d386418c88821.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException)))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70)
  at Illuminate\View\Engines\CompilerEngine->get('/var/www/vhosts/aquapool.kz/new.aquapool.kz/resources/views/layouts/main.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException)))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/View.php:195)
  at Illuminate\View\View->getContents()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/View.php:178)
  at Illuminate\View\View->renderContents()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/View.php:147)
  at Illuminate\View\View->render()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/storage/framework/views/69d38dba7348cb183e954687a5c4a90cdb6dbad9.php:30)
  at require('/var/www/vhosts/aquapool.kz/new.aquapool.kz/storage/framework/views/69d38dba7348cb183e954687a5c4a90cdb6dbad9.php')
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:109)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110)
  at Illuminate\Filesystem\Filesystem->getRequire('/var/www/vhosts/aquapool.kz/new.aquapool.kz/storage/framework/views/69d38dba7348cb183e954687a5c4a90cdb6dbad9.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException)))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath('/var/www/vhosts/aquapool.kz/new.aquapool.kz/storage/framework/views/69d38dba7348cb183e954687a5c4a90cdb6dbad9.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException)))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70)
  at Illuminate\View\Engines\CompilerEngine->get('/var/www/vhosts/aquapool.kz/new.aquapool.kz/resources/views/errors/404.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException)))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/View.php:195)
  at Illuminate\View\View->getContents()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/View.php:178)
  at Illuminate\View\View->renderContents()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/View/View.php:147)
  at Illuminate\View\View->render()
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Http/Response.php:69)
  at Illuminate\Http\Response->setContent(object(View))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Http/Response.php:35)
  at Illuminate\Http\Response->__construct(object(View), 404, array())
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:57)
  at Illuminate\Routing\ResponseFactory->make(object(View), 404, array())
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:87)
  at Illuminate\Routing\ResponseFactory->view('errors::404', array('errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException)), 404, array())
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:629)
  at Illuminate\Foundation\Exceptions\Handler->renderHttpException(object(NotFoundHttpException))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:554)
  at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(NotFoundHttpException))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:460)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse(object(Request), object(NotFoundHttpException))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:377)
  at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(NotFoundHttpException))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51)
  at Illuminate\Routing\Pipeline->handleException(object(Request), object(NotFoundHttpException))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:143)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/barryvdh/laravel-stack-middleware/src/ClosureHttpKernel.php:31)
  at Barryvdh\StackMiddleware\ClosureHttpKernel->handle(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/barryvdh/laravel-stack-middleware/src/ClosureMiddleware.php:36)
  at Barryvdh\StackMiddleware\ClosureMiddleware->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
  at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27)
  at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49)
  at Illuminate\Http\Middleware\HandleCors->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39)
  at Illuminate\Http\Middleware\TrustProxies->handle(object(Request), object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
  at Illuminate\Pipeline\Pipeline->then(object(Closure))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:165)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:134)
  at Illuminate\Foundation\Http\Kernel->handle(object(Request))
     (/var/www/vhosts/aquapool.kz/new.aquapool.kz/public/index.php:54)