Symfony Exception

Error ViewException ViewException ViewException

HTTP 500 Internal Server Error

Call to a member function getName() on null (View: /home/pezeshky/laravel/packages/mks/panel/src/Resources/views/frontend/desktop/home/header.blade.php) (View: /home/pezeshky/laravel/packages/mks/panel/src/Resources/views/frontend/desktop/home/header.blade.php) (View: /home/pezeshky/laravel/packages/mks/panel/src/Resources/views/frontend/desktop/home/header.blade.php)

Exceptions 4

Illuminate\View\ ViewException

Show exception properties
Illuminate\View\ViewException {#1466
  #severity: E_ERROR
}
  1. /**
  2.  * @return string|null
  3.  */
  4. function routeName(){
  5.    return request()->route()->getName();
  6. }
  7. /**
  8.  * @return bool|\Illuminate\Contracts\Auth\Authenticatable|null
  9.  */
  1.             \Illuminate\View\Engines\PhpEngine::handleViewException($e$obLevel);
  2.             return;
  3.         }
  4.         parent::handleViewException($e$obLevel);
  5.     }
  6.     public function shouldBypassExceptionForLivewire(\Throwable $e$obLevel)
  7.     {
  8.         $uses array_flip(class_uses_recursive($e));
  1.         // flush out any stray output that might get out before an error occurs or
  2.         // an exception is thrown. This prevents any partial views from leaking.
  3.         try {
  4.             $this->files->getRequire($path$data);
  5.         } catch (Throwable $e) {
  6.             $this->handleViewException($e$obLevel);
  7.         }
  8.         return ltrim(ob_get_clean());
  9.     }
  1.     }
  2.     protected function evaluatePath($__path$__data)
  3.     {
  4.         if (! ExtendBlade::isRenderingLivewireComponent()) {
  5.             return parent::evaluatePath($__path$__data);
  6.         }
  7.         $obLevel ob_get_level();
  8.         ob_start();
  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. use function Livewire\trigger;
  2. class ExtendedCompilerEngine extends \Illuminate\View\Engines\CompilerEngine {
  3.     public function get($path, array $data = [])
  4.     {
  5.         if (! ExtendBlade::isRenderingLivewireComponent()) return parent::get($path$data);
  6.         $currentComponent ExtendBlade::currentRendering();
  7.         trigger('view:compile'$currentComponent$path);
  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.     {
  2.         $this->registerErrorViewPaths();
  3.         if ($view $this->getHttpExceptionView($e)) {
  4.             try {
  5.                 return response()->view($view, [
  6.                     'errors' => new ViewErrorBag,
  7.                     'exception' => $e,
  8.                 ], $e->getStatusCode(), $e->getHeaders());
  9.             } catch (Throwable $t) {
  10.                 config('app.debug') && throw $t;
  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 $this->finalizeRenderedResponse($request, 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.         }, $e);
  7.     }
  8.     /**
  9.      * Prepare the final, rendered response to be returned to the browser.
  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.      * @param  \Closure  $next
  2.      * @return mixed
  3.      */
  4.     public function handle($requestClosure $next)
  5.     {
  6.         $response $next($request);
  7.         if ($response instanceof Response && SupportDisablingBackButtonCache::$disableBackButtonCache){
  8.             $response->headers->add([
  9.                 "Pragma" => "no-cache",
  10.                 "Expires" => "Fri, 01 Jan 1990 00:00:00 GMT",
  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() in /home/pezeshky/public_html/index.php (line 57)
  1. $app->bind('path.public', function() {
  2.      return __DIR__;
  3. });
  4. $response tap($kernel->handle(
  5.     $request Request::capture()
  6. ))->send();
  7. $kernel->terminate($request$response);

Illuminate\View\ ViewException

Call to a member function getName() on null (View: /home/pezeshky/laravel/packages/mks/panel/src/Resources/views/frontend/desktop/home/header.blade.php) (View: /home/pezeshky/laravel/packages/mks/panel/src/Resources/views/frontend/desktop/home/header.blade.php)

  1. /**
  2.  * @return string|null
  3.  */
  4. function routeName(){
  5.    return request()->route()->getName();
  6. }
  7. /**
  8.  * @return bool|\Illuminate\Contracts\Auth\Authenticatable|null
  9.  */
  1.             \Illuminate\View\Engines\PhpEngine::handleViewException($e$obLevel);
  2.             return;
  3.         }
  4.         parent::handleViewException($e$obLevel);
  5.     }
  6.     public function shouldBypassExceptionForLivewire(\Throwable $e$obLevel)
  7.     {
  8.         $uses array_flip(class_uses_recursive($e));
  1.         // flush out any stray output that might get out before an error occurs or
  2.         // an exception is thrown. This prevents any partial views from leaking.
  3.         try {
  4.             $this->files->getRequire($path$data);
  5.         } catch (Throwable $e) {
  6.             $this->handleViewException($e$obLevel);
  7.         }
  8.         return ltrim(ob_get_clean());
  9.     }
  1.     }
  2.     protected function evaluatePath($__path$__data)
  3.     {
  4.         if (! ExtendBlade::isRenderingLivewireComponent()) {
  5.             return parent::evaluatePath($__path$__data);
  6.         }
  7.         $obLevel ob_get_level();
  8.         ob_start();
  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. use function Livewire\trigger;
  2. class ExtendedCompilerEngine extends \Illuminate\View\Engines\CompilerEngine {
  3.     public function get($path, array $data = [])
  4.     {
  5.         if (! ExtendBlade::isRenderingLivewireComponent()) return parent::get($path$data);
  6.         $currentComponent ExtendBlade::currentRendering();
  7.         trigger('view:compile'$currentComponent$path);
  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.     </div>
  4. <?php $__env->stopSection(); ?>
  5. <?php echo $__env->make('frontend.desktop.layouts.index'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?><?php /**PATH /home/pezeshky/laravel/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.     }
  2.     protected function evaluatePath($__path$__data)
  3.     {
  4.         if (! ExtendBlade::isRenderingLivewireComponent()) {
  5.             return parent::evaluatePath($__path$__data);
  6.         }
  7.         $obLevel ob_get_level();
  8.         ob_start();
  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. use function Livewire\trigger;
  2. class ExtendedCompilerEngine extends \Illuminate\View\Engines\CompilerEngine {
  3.     public function get($path, array $data = [])
  4.     {
  5.         if (! ExtendBlade::isRenderingLivewireComponent()) return parent::get($path$data);
  6.         $currentComponent ExtendBlade::currentRendering();
  7.         trigger('view:compile'$currentComponent$path);
  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.     {
  2.         $this->registerErrorViewPaths();
  3.         if ($view $this->getHttpExceptionView($e)) {
  4.             try {
  5.                 return response()->view($view, [
  6.                     'errors' => new ViewErrorBag,
  7.                     'exception' => $e,
  8.                 ], $e->getStatusCode(), $e->getHeaders());
  9.             } catch (Throwable $t) {
  10.                 config('app.debug') && throw $t;
  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 $this->finalizeRenderedResponse($request, 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.         }, $e);
  7.     }
  8.     /**
  9.      * Prepare the final, rendered response to be returned to the browser.
  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.      * @param  \Closure  $next
  2.      * @return mixed
  3.      */
  4.     public function handle($requestClosure $next)
  5.     {
  6.         $response $next($request);
  7.         if ($response instanceof Response && SupportDisablingBackButtonCache::$disableBackButtonCache){
  8.             $response->headers->add([
  9.                 "Pragma" => "no-cache",
  10.                 "Expires" => "Fri, 01 Jan 1990 00:00:00 GMT",
  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() in /home/pezeshky/public_html/index.php (line 57)
  1. $app->bind('path.public', function() {
  2.      return __DIR__;
  3. });
  4. $response tap($kernel->handle(
  5.     $request Request::capture()
  6. ))->send();
  7. $kernel->terminate($request$response);

Illuminate\View\ ViewException

Call to a member function getName() on null (View: /home/pezeshky/laravel/packages/mks/panel/src/Resources/views/frontend/desktop/home/header.blade.php)

  1. /**
  2.  * @return string|null
  3.  */
  4. function routeName(){
  5.    return request()->route()->getName();
  6. }
  7. /**
  8.  * @return bool|\Illuminate\Contracts\Auth\Authenticatable|null
  9.  */
  1.             \Illuminate\View\Engines\PhpEngine::handleViewException($e$obLevel);
  2.             return;
  3.         }
  4.         parent::handleViewException($e$obLevel);
  5.     }
  6.     public function shouldBypassExceptionForLivewire(\Throwable $e$obLevel)
  7.     {
  8.         $uses array_flip(class_uses_recursive($e));
  1.             \Closure::bind(function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 include $__path;
  4.             }, $component$component)();
  5.         } catch (\Exception|\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.         $currentComponent ExtendBlade::currentRendering();
  2.         trigger('view:compile'$currentComponent$path);
  3.         return parent::get($path$data);
  4.     }
  5.     protected function evaluatePath($__path$__data)
  6.     {
  7.         if (! ExtendBlade::isRenderingLivewireComponent()) {
  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.             $revertA Utils::shareWithViews('__livewire'$component);
  2.             $revertB Utils::shareWithViews('_instance'$component); // @deprecated
  3.             $viewContext = new ViewContext;
  4.             $html $view->render(function ($view) use ($viewContext) {
  5.                 // Extract leftover slots, sections, and pushes before they get flushed...
  6.                 $viewContext->extractFromEnvironment($view->getFactory());
  7.             });
  8.             $revertA(); $revertB();
  1.     protected function trackInRenderStack($component$callback)
  2.     {
  3.         array_push(static::$renderStack$component);
  4.         return tap($callback(), function () {
  5.             array_pop(static::$renderStack);
  6.         });
  7.     }
  8.     protected function updateProperties($component$updates$data$context)
  1.             ]);
  2.         }
  3.         [ $view$properties ] = $this->getView($component);
  4.         return $this->trackInRenderStack($component, function () use ($component$view$properties) {
  5.             $finish trigger('render'$component$view$properties);
  6.             $revertA Utils::shareWithViews('__livewire'$component);
  7.             $revertB Utils::shareWithViews('_instance'$component); // @deprecated
  1.         if (config('app.debug')) $start microtime(true);
  2.         $finish trigger('mount'$component$params$key$parent);
  3.         if (config('app.debug')) trigger('profile''mount'$component->getId(), [$startmicrotime(true)]);
  4.         if (config('app.debug')) $start microtime(true);
  5.         $html $this->render($component'<div></div>');
  6.         if (config('app.debug')) trigger('profile''render'$component->getId(), [$startmicrotime(true)]);
  7.         if (config('app.debug')) $start microtime(true);
  8.         trigger('dehydrate'$component$context);
  1.         return app(ComponentRegistry::class)->resolveMissingComponent($resolver);
  2.     }
  3.     function mount($name$params = [], $key null)
  4.     {
  5.         return app(HandleComponents::class)->mount($name$params$key);
  6.     }
  7.     function snapshot($component)
  8.     {
  9.         return app(HandleComponents::class)->snapshot($component);
  1. $__split = function ($name$params = []) {
  2.     return [$name$params];
  3. };
  4. [$__name$__params] = $__split('Header');
  5. $__html app('livewire')->mount($__name$__params'lw-335121213-0'$__slots ?? [], get_defined_vars());
  6. echo $__html;
  7. unset($__html);
  8. unset($__name);
  1.             $__data $data;
  2.             return (static function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 return require $__path;
  5.             })();
  6.         }
  7.         throw new FileNotFoundException("File does not exist at path {$path}.");
  8.     }
  1.             return (static function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 return require $__path;
  4.             })();
  5.         }
  6.         throw new FileNotFoundException("File does not exist at path {$path}.");
  7.     }
  1.         // We'll evaluate the contents of the view inside a try/catch block so we can
  2.         // flush out any stray output that might get out before an error occurs or
  3.         // an exception is thrown. This prevents any partial views from leaking.
  4.         try {
  5.             $this->files->getRequire($path$data);
  6.         } catch (Throwable $e) {
  7.             $this->handleViewException($e$obLevel);
  8.         }
  9.         return ltrim(ob_get_clean());
  1.     }
  2.     protected function evaluatePath($__path$__data)
  3.     {
  4.         if (! ExtendBlade::isRenderingLivewireComponent()) {
  5.             return parent::evaluatePath($__path$__data);
  6.         }
  7.         $obLevel ob_get_level();
  8.         ob_start();
  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. use function Livewire\trigger;
  2. class ExtendedCompilerEngine extends \Illuminate\View\Engines\CompilerEngine {
  3.     public function get($path, array $data = [])
  4.     {
  5.         if (! ExtendBlade::isRenderingLivewireComponent()) return parent::get($path$data);
  6.         $currentComponent ExtendBlade::currentRendering();
  7.         trigger('view:compile'$currentComponent$path);
  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.     </div>
  4. <?php $__env->stopSection(); ?>
  5. <?php echo $__env->make('frontend.desktop.layouts.index'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?><?php /**PATH /home/pezeshky/laravel/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.     }
  2.     protected function evaluatePath($__path$__data)
  3.     {
  4.         if (! ExtendBlade::isRenderingLivewireComponent()) {
  5.             return parent::evaluatePath($__path$__data);
  6.         }
  7.         $obLevel ob_get_level();
  8.         ob_start();
  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. use function Livewire\trigger;
  2. class ExtendedCompilerEngine extends \Illuminate\View\Engines\CompilerEngine {
  3.     public function get($path, array $data = [])
  4.     {
  5.         if (! ExtendBlade::isRenderingLivewireComponent()) return parent::get($path$data);
  6.         $currentComponent ExtendBlade::currentRendering();
  7.         trigger('view:compile'$currentComponent$path);
  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.     {
  2.         $this->registerErrorViewPaths();
  3.         if ($view $this->getHttpExceptionView($e)) {
  4.             try {
  5.                 return response()->view($view, [
  6.                     'errors' => new ViewErrorBag,
  7.                     'exception' => $e,
  8.                 ], $e->getStatusCode(), $e->getHeaders());
  9.             } catch (Throwable $t) {
  10.                 config('app.debug') && throw $t;
  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 $this->finalizeRenderedResponse($request, 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.         }, $e);
  7.     }
  8.     /**
  9.      * Prepare the final, rendered response to be returned to the browser.
  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.      * @param  \Closure  $next
  2.      * @return mixed
  3.      */
  4.     public function handle($requestClosure $next)
  5.     {
  6.         $response $next($request);
  7.         if ($response instanceof Response && SupportDisablingBackButtonCache::$disableBackButtonCache){
  8.             $response->headers->add([
  9.                 "Pragma" => "no-cache",
  10.                 "Expires" => "Fri, 01 Jan 1990 00:00:00 GMT",
  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() in /home/pezeshky/public_html/index.php (line 57)
  1. $app->bind('path.public', function() {
  2.      return __DIR__;
  3. });
  4. $response tap($kernel->handle(
  5.     $request Request::capture()
  6. ))->send();
  7. $kernel->terminate($request$response);

Error

Call to a member function getName() on null

  1. /**
  2.  * @return string|null
  3.  */
  4. function routeName(){
  5.    return request()->route()->getName();
  6. }
  7. /**
  8.  * @return bool|\Illuminate\Contracts\Auth\Authenticatable|null
  9.  */
  1. <div>
  2.     <?php
  3.         $check routeName() == 'single.page' || routeName() == 'single.city'
  4.         || routeName() == 'contact.us'
  5.         || routeName() == 'doctor.login'
  6.         || routeName() == 'patient.login'
  7.         || routeName() == 'register.conditions';
  8.     ?>
  1.         try {
  2.             $component ExtendBlade::currentRendering();
  3.             \Closure::bind(function () use ($__path$__data) {
  4.                 extract($__dataEXTR_SKIP);
  5.                 include $__path;
  6.             }, $component$component)();
  7.         } catch (\Exception|\Throwable $e) {
  8.             $this->handleViewException($e$obLevel);
  9.         }
  1.             $component ExtendBlade::currentRendering();
  2.             \Closure::bind(function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 include $__path;
  5.             }, $component$component)();
  6.         } catch (\Exception|\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.         $currentComponent ExtendBlade::currentRendering();
  2.         trigger('view:compile'$currentComponent$path);
  3.         return parent::get($path$data);
  4.     }
  5.     protected function evaluatePath($__path$__data)
  6.     {
  7.         if (! ExtendBlade::isRenderingLivewireComponent()) {
  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.             $revertA Utils::shareWithViews('__livewire'$component);
  2.             $revertB Utils::shareWithViews('_instance'$component); // @deprecated
  3.             $viewContext = new ViewContext;
  4.             $html $view->render(function ($view) use ($viewContext) {
  5.                 // Extract leftover slots, sections, and pushes before they get flushed...
  6.                 $viewContext->extractFromEnvironment($view->getFactory());
  7.             });
  8.             $revertA(); $revertB();
  1.     protected function trackInRenderStack($component$callback)
  2.     {
  3.         array_push(static::$renderStack$component);
  4.         return tap($callback(), function () {
  5.             array_pop(static::$renderStack);
  6.         });
  7.     }
  8.     protected function updateProperties($component$updates$data$context)
  1.             ]);
  2.         }
  3.         [ $view$properties ] = $this->getView($component);
  4.         return $this->trackInRenderStack($component, function () use ($component$view$properties) {
  5.             $finish trigger('render'$component$view$properties);
  6.             $revertA Utils::shareWithViews('__livewire'$component);
  7.             $revertB Utils::shareWithViews('_instance'$component); // @deprecated
  1.         if (config('app.debug')) $start microtime(true);
  2.         $finish trigger('mount'$component$params$key$parent);
  3.         if (config('app.debug')) trigger('profile''mount'$component->getId(), [$startmicrotime(true)]);
  4.         if (config('app.debug')) $start microtime(true);
  5.         $html $this->render($component'<div></div>');
  6.         if (config('app.debug')) trigger('profile''render'$component->getId(), [$startmicrotime(true)]);
  7.         if (config('app.debug')) $start microtime(true);
  8.         trigger('dehydrate'$component$context);
  1.         return app(ComponentRegistry::class)->resolveMissingComponent($resolver);
  2.     }
  3.     function mount($name$params = [], $key null)
  4.     {
  5.         return app(HandleComponents::class)->mount($name$params$key);
  6.     }
  7.     function snapshot($component)
  8.     {
  9.         return app(HandleComponents::class)->snapshot($component);
  1. $__split = function ($name$params = []) {
  2.     return [$name$params];
  3. };
  4. [$__name$__params] = $__split('Header');
  5. $__html app('livewire')->mount($__name$__params'lw-335121213-0'$__slots ?? [], get_defined_vars());
  6. echo $__html;
  7. unset($__html);
  8. unset($__name);
  1.             $__data $data;
  2.             return (static function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 return require $__path;
  5.             })();
  6.         }
  7.         throw new FileNotFoundException("File does not exist at path {$path}.");
  8.     }
  1.             return (static function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 return require $__path;
  4.             })();
  5.         }
  6.         throw new FileNotFoundException("File does not exist at path {$path}.");
  7.     }
  1.         // We'll evaluate the contents of the view inside a try/catch block so we can
  2.         // flush out any stray output that might get out before an error occurs or
  3.         // an exception is thrown. This prevents any partial views from leaking.
  4.         try {
  5.             $this->files->getRequire($path$data);
  6.         } catch (Throwable $e) {
  7.             $this->handleViewException($e$obLevel);
  8.         }
  9.         return ltrim(ob_get_clean());
  1.     }
  2.     protected function evaluatePath($__path$__data)
  3.     {
  4.         if (! ExtendBlade::isRenderingLivewireComponent()) {
  5.             return parent::evaluatePath($__path$__data);
  6.         }
  7.         $obLevel ob_get_level();
  8.         ob_start();
  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. use function Livewire\trigger;
  2. class ExtendedCompilerEngine extends \Illuminate\View\Engines\CompilerEngine {
  3.     public function get($path, array $data = [])
  4.     {
  5.         if (! ExtendBlade::isRenderingLivewireComponent()) return parent::get($path$data);
  6.         $currentComponent ExtendBlade::currentRendering();
  7.         trigger('view:compile'$currentComponent$path);
  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.     </div>
  4. <?php $__env->stopSection(); ?>
  5. <?php echo $__env->make('frontend.desktop.layouts.index'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?><?php /**PATH /home/pezeshky/laravel/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.     }
  2.     protected function evaluatePath($__path$__data)
  3.     {
  4.         if (! ExtendBlade::isRenderingLivewireComponent()) {
  5.             return parent::evaluatePath($__path$__data);
  6.         }
  7.         $obLevel ob_get_level();
  8.         ob_start();
  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. use function Livewire\trigger;
  2. class ExtendedCompilerEngine extends \Illuminate\View\Engines\CompilerEngine {
  3.     public function get($path, array $data = [])
  4.     {
  5.         if (! ExtendBlade::isRenderingLivewireComponent()) return parent::get($path$data);
  6.         $currentComponent ExtendBlade::currentRendering();
  7.         trigger('view:compile'$currentComponent$path);
  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.     {
  2.         $this->registerErrorViewPaths();
  3.         if ($view $this->getHttpExceptionView($e)) {
  4.             try {
  5.                 return response()->view($view, [
  6.                     'errors' => new ViewErrorBag,
  7.                     'exception' => $e,
  8.                 ], $e->getStatusCode(), $e->getHeaders());
  9.             } catch (Throwable $t) {
  10.                 config('app.debug') && throw $t;
  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 $this->finalizeRenderedResponse($request, 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.         }, $e);
  7.     }
  8.     /**
  9.      * Prepare the final, rendered response to be returned to the browser.
  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.      * @param  \Closure  $next
  2.      * @return mixed
  3.      */
  4.     public function handle($requestClosure $next)
  5.     {
  6.         $response $next($request);
  7.         if ($response instanceof Response && SupportDisablingBackButtonCache::$disableBackButtonCache){
  8.             $response->headers->add([
  9.                 "Pragma" => "no-cache",
  10.                 "Expires" => "Fri, 01 Jan 1990 00:00:00 GMT",
  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() in /home/pezeshky/public_html/index.php (line 57)
  1. $app->bind('path.public', function() {
  2.      return __DIR__;
  3. });
  4. $response tap($kernel->handle(
  5.     $request Request::capture()
  6. ))->send();
  7. $kernel->terminate($request$response);

Stack Traces 4

[4/4] ViewException
Illuminate\View\ViewException:
Call to a member function getName() on null (View: /home/pezeshky/laravel/packages/mks/panel/src/Resources/views/frontend/desktop/home/header.blade.php) (View: /home/pezeshky/laravel/packages/mks/panel/src/Resources/views/frontend/desktop/home/header.blade.php) (View: /home/pezeshky/laravel/packages/mks/panel/src/Resources/views/frontend/desktop/home/header.blade.php)

  at /home/pezeshky/laravel/packages/mks/panel/src/App/Helpers/helpers.php:200
  at Illuminate\View\Engines\CompilerEngine->handleViewException()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:58)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->handleViewException()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:60)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->evaluatePath()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:73)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:10)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->get()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:208)
  at Illuminate\View\View->getContents()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:191)
  at Illuminate\View\View->renderContents()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:160)
  at Illuminate\View\View->render()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Response.php:70)
  at Illuminate\Http\Response->setContent()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Response.php:35)
  at Illuminate\Http\Response->__construct()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:58)
  at Illuminate\Routing\ResponseFactory->make()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:88)
  at Illuminate\Routing\ResponseFactory->view()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:878)
  at Illuminate\Foundation\Exceptions\Handler->renderHttpException()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:805)
  at Illuminate\Foundation\Exceptions\Handler->prepareResponse()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:696)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:585)
  at Illuminate\Foundation\Exceptions\Handler->render()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51)
  at Illuminate\Routing\Pipeline->handleException()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:146)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php:19)
  at Livewire\Features\SupportDisablingBackButtonCache\DisableBackButtonCacheMiddleware->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
  at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:50)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php:27)
  at Illuminate\Http\Middleware\ValidatePostSize->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:103)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49)
  at Illuminate\Http\Middleware\HandleCors->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:57)
  at Illuminate\Http\Middleware\TrustProxies->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:119)
  at Illuminate\Pipeline\Pipeline->then()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:175)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144)
  at Illuminate\Foundation\Http\Kernel->handle()
     (/home/pezeshky/public_html/index.php:57)                
[3/4] ViewException
Illuminate\View\ViewException:
Call to a member function getName() on null (View: /home/pezeshky/laravel/packages/mks/panel/src/Resources/views/frontend/desktop/home/header.blade.php) (View: /home/pezeshky/laravel/packages/mks/panel/src/Resources/views/frontend/desktop/home/header.blade.php)

  at /home/pezeshky/laravel/packages/mks/panel/src/App/Helpers/helpers.php:200
  at Illuminate\View\Engines\CompilerEngine->handleViewException()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:58)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->handleViewException()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:60)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->evaluatePath()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:73)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:10)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->get()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:208)
  at Illuminate\View\View->getContents()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:191)
  at Illuminate\View\View->renderContents()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:160)
  at Illuminate\View\View->render()
     (/home/pezeshky/laravel/storage/framework/views/37d59e3c3e3142a5765d050dd90e68a0.php:14)
  at require('/home/pezeshky/laravel/storage/framework/views/37d59e3c3e3142a5765d050dd90e68a0.php')
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:123)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124)
  at Illuminate\Filesystem\Filesystem->getRequire()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->evaluatePath()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:73)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:10)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->get()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:208)
  at Illuminate\View\View->getContents()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:191)
  at Illuminate\View\View->renderContents()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:160)
  at Illuminate\View\View->render()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Response.php:70)
  at Illuminate\Http\Response->setContent()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Response.php:35)
  at Illuminate\Http\Response->__construct()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:58)
  at Illuminate\Routing\ResponseFactory->make()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:88)
  at Illuminate\Routing\ResponseFactory->view()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:878)
  at Illuminate\Foundation\Exceptions\Handler->renderHttpException()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:805)
  at Illuminate\Foundation\Exceptions\Handler->prepareResponse()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:696)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:585)
  at Illuminate\Foundation\Exceptions\Handler->render()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51)
  at Illuminate\Routing\Pipeline->handleException()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:146)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php:19)
  at Livewire\Features\SupportDisablingBackButtonCache\DisableBackButtonCacheMiddleware->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
  at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:50)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php:27)
  at Illuminate\Http\Middleware\ValidatePostSize->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:103)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49)
  at Illuminate\Http\Middleware\HandleCors->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:57)
  at Illuminate\Http\Middleware\TrustProxies->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:119)
  at Illuminate\Pipeline\Pipeline->then()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:175)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144)
  at Illuminate\Foundation\Http\Kernel->handle()
     (/home/pezeshky/public_html/index.php:57)                
[2/4] ViewException
Illuminate\View\ViewException:
Call to a member function getName() on null (View: /home/pezeshky/laravel/packages/mks/panel/src/Resources/views/frontend/desktop/home/header.blade.php)

  at /home/pezeshky/laravel/packages/mks/panel/src/App/Helpers/helpers.php:200
  at Illuminate\View\Engines\CompilerEngine->handleViewException()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:58)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->handleViewException()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:40)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->evaluatePath()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:73)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:16)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->get()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:208)
  at Illuminate\View\View->getContents()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:191)
  at Illuminate\View\View->renderContents()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:160)
  at Illuminate\View\View->render()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/HandleComponents/HandleComponents.php:239)
  at Livewire\Mechanisms\HandleComponents\HandleComponents->Livewire\Mechanisms\HandleComponents\{closure}()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/HandleComponents/HandleComponents.php:283)
  at Livewire\Mechanisms\HandleComponents\HandleComponents->trackInRenderStack()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/HandleComponents/HandleComponents.php:231)
  at Livewire\Mechanisms\HandleComponents\HandleComponents->render()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/HandleComponents/HandleComponents.php:52)
  at Livewire\Mechanisms\HandleComponents\HandleComponents->mount()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/LivewireManager.php:72)
  at Livewire\LivewireManager->mount()
     (/home/pezeshky/laravel/storage/framework/views/c9716cd23e44eae29d8b0d82342e1b10.php:62)
  at require('/home/pezeshky/laravel/storage/framework/views/c9716cd23e44eae29d8b0d82342e1b10.php')
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:123)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124)
  at Illuminate\Filesystem\Filesystem->getRequire()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->evaluatePath()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:73)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:10)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->get()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:208)
  at Illuminate\View\View->getContents()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:191)
  at Illuminate\View\View->renderContents()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:160)
  at Illuminate\View\View->render()
     (/home/pezeshky/laravel/storage/framework/views/37d59e3c3e3142a5765d050dd90e68a0.php:14)
  at require('/home/pezeshky/laravel/storage/framework/views/37d59e3c3e3142a5765d050dd90e68a0.php')
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:123)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124)
  at Illuminate\Filesystem\Filesystem->getRequire()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->evaluatePath()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:73)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:10)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->get()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:208)
  at Illuminate\View\View->getContents()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:191)
  at Illuminate\View\View->renderContents()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:160)
  at Illuminate\View\View->render()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Response.php:70)
  at Illuminate\Http\Response->setContent()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Response.php:35)
  at Illuminate\Http\Response->__construct()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:58)
  at Illuminate\Routing\ResponseFactory->make()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:88)
  at Illuminate\Routing\ResponseFactory->view()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:878)
  at Illuminate\Foundation\Exceptions\Handler->renderHttpException()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:805)
  at Illuminate\Foundation\Exceptions\Handler->prepareResponse()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:696)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:585)
  at Illuminate\Foundation\Exceptions\Handler->render()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51)
  at Illuminate\Routing\Pipeline->handleException()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:146)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php:19)
  at Livewire\Features\SupportDisablingBackButtonCache\DisableBackButtonCacheMiddleware->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
  at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:50)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php:27)
  at Illuminate\Http\Middleware\ValidatePostSize->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:103)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49)
  at Illuminate\Http\Middleware\HandleCors->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:57)
  at Illuminate\Http\Middleware\TrustProxies->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:119)
  at Illuminate\Pipeline\Pipeline->then()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:175)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144)
  at Illuminate\Foundation\Http\Kernel->handle()
     (/home/pezeshky/public_html/index.php:57)                
[1/4] Error
Error:
Call to a member function getName() on null

  at /home/pezeshky/laravel/packages/mks/panel/src/App/Helpers/helpers.php:200
  at routeName()
     (/home/pezeshky/laravel/storage/framework/views/fc5b257fe44bb2b5d3b3a60e834d647c.php:3)
  at include('/home/pezeshky/laravel/storage/framework/views/fc5b257fe44bb2b5d3b3a60e834d647c.php')
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:37)
  at Mks\Panel\App\Http\Controllers\Frontend\Index\HeaderComponent->Livewire\Mechanisms\ExtendBlade\{closure}()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:38)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->evaluatePath()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:73)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:16)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->get()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:208)
  at Illuminate\View\View->getContents()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:191)
  at Illuminate\View\View->renderContents()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:160)
  at Illuminate\View\View->render()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/HandleComponents/HandleComponents.php:239)
  at Livewire\Mechanisms\HandleComponents\HandleComponents->Livewire\Mechanisms\HandleComponents\{closure}()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/HandleComponents/HandleComponents.php:283)
  at Livewire\Mechanisms\HandleComponents\HandleComponents->trackInRenderStack()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/HandleComponents/HandleComponents.php:231)
  at Livewire\Mechanisms\HandleComponents\HandleComponents->render()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/HandleComponents/HandleComponents.php:52)
  at Livewire\Mechanisms\HandleComponents\HandleComponents->mount()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/LivewireManager.php:72)
  at Livewire\LivewireManager->mount()
     (/home/pezeshky/laravel/storage/framework/views/c9716cd23e44eae29d8b0d82342e1b10.php:62)
  at require('/home/pezeshky/laravel/storage/framework/views/c9716cd23e44eae29d8b0d82342e1b10.php')
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:123)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124)
  at Illuminate\Filesystem\Filesystem->getRequire()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->evaluatePath()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:73)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:10)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->get()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:208)
  at Illuminate\View\View->getContents()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:191)
  at Illuminate\View\View->renderContents()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:160)
  at Illuminate\View\View->render()
     (/home/pezeshky/laravel/storage/framework/views/37d59e3c3e3142a5765d050dd90e68a0.php:14)
  at require('/home/pezeshky/laravel/storage/framework/views/37d59e3c3e3142a5765d050dd90e68a0.php')
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:123)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124)
  at Illuminate\Filesystem\Filesystem->getRequire()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->evaluatePath()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:73)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:10)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->get()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:208)
  at Illuminate\View\View->getContents()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:191)
  at Illuminate\View\View->renderContents()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:160)
  at Illuminate\View\View->render()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Response.php:70)
  at Illuminate\Http\Response->setContent()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Response.php:35)
  at Illuminate\Http\Response->__construct()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:58)
  at Illuminate\Routing\ResponseFactory->make()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:88)
  at Illuminate\Routing\ResponseFactory->view()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:878)
  at Illuminate\Foundation\Exceptions\Handler->renderHttpException()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:805)
  at Illuminate\Foundation\Exceptions\Handler->prepareResponse()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:696)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:585)
  at Illuminate\Foundation\Exceptions\Handler->render()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51)
  at Illuminate\Routing\Pipeline->handleException()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:146)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/pezeshky/laravel/vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php:19)
  at Livewire\Features\SupportDisablingBackButtonCache\DisableBackButtonCacheMiddleware->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
  at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:50)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php:27)
  at Illuminate\Http\Middleware\ValidatePostSize->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:103)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49)
  at Illuminate\Http\Middleware\HandleCors->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:57)
  at Illuminate\Http\Middleware\TrustProxies->handle()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:119)
  at Illuminate\Pipeline\Pipeline->then()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:175)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
     (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144)
  at Illuminate\Foundation\Http\Kernel->handle()
     (/home/pezeshky/public_html/index.php:57)