Symfony Exception

TypeError ViewException ViewException

HTTP 500 Internal Server Error

htmlspecialchars(): Argument #1 ($string) must be of type string, Closure given (View: /home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/resources/exceptions/renderer/components/context.blade.php) (View: /home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/resources/exceptions/renderer/components/context.blade.php)

Exceptions 3

Illuminate\View\ ViewException

Show exception properties
Illuminate\View\ViewException {#1669
  #severity: E_ERROR
}
  1.         if ($value instanceof BackedEnum) {
  2.             $value $value->value;
  3.         }
  4.         return htmlspecialchars($value ?? ''ENT_QUOTES ENT_SUBSTITUTE'UTF-8'$doubleEncode);
  5.     }
  6. }
  7. if (! function_exists('env')) {
  8.     /**
  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.             $this->htmlErrorRenderer->render($throwable),
  2.         );
  3.         return $this->viewFactory->make('laravel-exceptions-renderer::show', [
  4.             'exception' => new Exception($flattenException$request$this->listener$this->basePath),
  5.         ])->render();
  6.     }
  7.     /**
  8.      * Get the renderer's CSS content.
  9.      *
  1.         try {
  2.             if (config('app.debug')) {
  3.                 if (app()->has(ExceptionRenderer::class)) {
  4.                     return $this->renderExceptionWithCustomRenderer($e);
  5.                 } elseif ($this->container->bound(Renderer::class)) {
  6.                     return $this->container->make(Renderer::class)->render(request(), $e);
  7.                 }
  8.             }
  9.             return $this->renderExceptionWithSymfony($econfig('app.debug'));
  10.         } catch (Throwable $e) {
  1.      * @return \Symfony\Component\HttpFoundation\Response
  2.      */
  3.     protected function convertExceptionToResponse(Throwable $e)
  4.     {
  5.         return new SymfonyResponse(
  6.             $this->renderExceptionContent($e),
  7.             $this->isHttpException($e) ? $e->getStatusCode() : 500,
  8.             $this->isHttpException($e) ? $e->getHeaders() : []
  9.         );
  10.     }
  1.      * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse
  2.      */
  3.     protected function prepareResponse($requestThrowable $e)
  4.     {
  5.         if (! $this->isHttpException($e) && config('app.debug')) {
  6.             return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e)->prepare($request);
  7.         }
  8.         if (! $this->isHttpException($e)) {
  9.             $e = new HttpException(500$e->getMessage(), $e);
  10.         }
  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.             if (Auth::guard($guard)->check()) {
  2.                 return redirect($this->redirectTo($request));
  3.             }
  4.         }
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Get the path the user should be redirected to when they are authenticated.
  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.             throw $exception;
  3.         }
  4.         return $next($request);
  5.     }
  6. }
  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.             $this->isReading($request) ||
  2.             $this->runningUnitTests() ||
  3.             $this->inExceptArray($request) ||
  4.             $this->tokensMatch($request)
  5.         ) {
  6.             return tap($next($request), function ($response) use ($request) {
  7.                 if ($this->shouldAddXsrfTokenCookie()) {
  8.                     $this->addCookieToResponse($request$response);
  9.                 }
  10.             });
  11.         }
  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.         // Putting the errors in the view for every view allows the developer to just
  2.         // assume that some errors are always available, which is convenient since
  3.         // they don't have to continually run checks for the presence of errors.
  4.         return $next($request);
  5.     }
  6. }
  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.             $this->startSession($request$session)
  2.         );
  3.         $this->collectGarbage($session);
  4.         $response $next($request);
  5.         $this->storeCurrentUrl($request$session);
  6.         $this->addCookieToResponse($response$session);
  1.         if ($this->manager->shouldBlock() ||
  2.             ($request->route() instanceof Route && $request->route()->locksFor())) {
  3.             return $this->handleRequestWhileBlocking($request$session$next);
  4.         }
  5.         return $this->handleStatefulRequest($request$session$next);
  6.     }
  7.     /**
  8.      * Handle the given request within session state.
  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.      * @param  \Closure  $next
  2.      * @return mixed
  3.      */
  4.     public function handle($requestClosure $next)
  5.     {
  6.         $response $next($request);
  7.         foreach ($this->cookies->getQueuedCookies() as $cookie) {
  8.             $response->headers->setCookie($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.      * @param  \Closure  $next
  2.      * @return \Symfony\Component\HttpFoundation\Response
  3.      */
  4.     public function handle($requestClosure $next)
  5.     {
  6.         return $this->encrypt($next($this->decrypt($request)));
  7.     }
  8.     /**
  9.      * Decrypt the cookies on the request.
  10.      *
  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.         $middleware $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
  2.         return (new Pipeline($this->container))
  3.                         ->send($request)
  4.                         ->through($middleware)
  5.                         ->then(fn ($request) => $this->prepareResponse(
  6.                             $request$route->run()
  7.                         ));
  8.     }
  9.     /**
  1.         $request->setRouteResolver(fn () => $route);
  2.         $this->events->dispatch(new RouteMatched($route$request));
  3.         return $this->prepareResponse($request,
  4.             $this->runRouteWithinStack($route$request)
  5.         );
  6.     }
  7.     /**
  8.      * Run the given route within a Stack "onion" instance.
  1.      * @param  \Illuminate\Http\Request  $request
  2.      * @return \Symfony\Component\HttpFoundation\Response
  3.      */
  4.     public function dispatchToRoute(Request $request)
  5.     {
  6.         return $this->runRoute($request$this->findRoute($request));
  7.     }
  8.     /**
  9.      * Find the route matching a given request.
  10.      *
  1.      */
  2.     public function dispatch(Request $request)
  3.     {
  4.         $this->currentRequest $request;
  5.         return $this->dispatchToRoute($request);
  6.     }
  7.     /**
  8.      * Dispatch the request to a route and return the response.
  9.      *
  1.     protected function dispatchToRouter()
  2.     {
  3.         return function ($request) {
  4.             $this->app->instance('request'$request);
  5.             return $this->router->dispatch($request);
  6.         };
  7.     }
  8.     /**
  9.      * Call the terminate method on any terminable middleware.
  1.      */
  2.     protected function prepareDestination(Closure $destination)
  3.     {
  4.         return function ($passable) use ($destination) {
  5.             try {
  6.                 return $destination($passable);
  7.             } catch (Throwable $e) {
  8.                 return $this->handleException($passable$e);
  9.             }
  10.         };
  11.     }
  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(object(Request)) in /home5/rakesh/public_html/index.php (line 20)
  1. // Bootstrap Laravel and handle the request...
  2. $app = require_once __DIR__.'/bootstrap/app.php';
  3. $kernel $app->make(Illuminate\Contracts\Http\Kernel::class);
  4. $response $kernel->handle(
  5.     $request Request::capture()
  6. );
  7. $response->send();

Illuminate\View\ ViewException

htmlspecialchars(): Argument #1 ($string) must be of type string, Closure given (View: /home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/resources/exceptions/renderer/components/context.blade.php)

  1.         if ($value instanceof BackedEnum) {
  2.             $value $value->value;
  3.         }
  4.         return htmlspecialchars($value ?? ''ENT_QUOTES ENT_SUBSTITUTE'UTF-8'$doubleEncode);
  5.     }
  6. }
  7. if (! function_exists('env')) {
  8.     /**
  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 ($view instanceof View) {
  2.                 return $view->with($data)->render();
  3.             } elseif ($view instanceof Htmlable) {
  4.                 return $view->toHtml();
  5.             } else {
  6.                 return $this->make($view$data)->render();
  7.             }
  8.         } finally {
  9.             $this->currentComponentData $previousComponentData;
  10.         }
  11.     }
  1. <?php $__env->startComponent($component->resolveView(), $component->data()); ?>
  2. <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
  3. <?php $attributes $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
  4. <?php endif; ?>
  5. <?php $component->withAttributes(['exception' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($exception)]); ?>
  6. <?php echo $__env->renderComponent(); ?>
  7. <?php endif; ?>
  8. <?php if (isset($__attributesOriginal523928ff754f95aea6faf87444393a04)): ?>
  9. <?php $attributes $__attributesOriginal523928ff754f95aea6faf87444393a04?>
  10. <?php unset($__attributesOriginal523928ff754f95aea6faf87444393a04); ?>
  11. <?php endif; ?>
  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.             $this->htmlErrorRenderer->render($throwable),
  2.         );
  3.         return $this->viewFactory->make('laravel-exceptions-renderer::show', [
  4.             'exception' => new Exception($flattenException$request$this->listener$this->basePath),
  5.         ])->render();
  6.     }
  7.     /**
  8.      * Get the renderer's CSS content.
  9.      *
  1.         try {
  2.             if (config('app.debug')) {
  3.                 if (app()->has(ExceptionRenderer::class)) {
  4.                     return $this->renderExceptionWithCustomRenderer($e);
  5.                 } elseif ($this->container->bound(Renderer::class)) {
  6.                     return $this->container->make(Renderer::class)->render(request(), $e);
  7.                 }
  8.             }
  9.             return $this->renderExceptionWithSymfony($econfig('app.debug'));
  10.         } catch (Throwable $e) {
  1.      * @return \Symfony\Component\HttpFoundation\Response
  2.      */
  3.     protected function convertExceptionToResponse(Throwable $e)
  4.     {
  5.         return new SymfonyResponse(
  6.             $this->renderExceptionContent($e),
  7.             $this->isHttpException($e) ? $e->getStatusCode() : 500,
  8.             $this->isHttpException($e) ? $e->getHeaders() : []
  9.         );
  10.     }
  1.      * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse
  2.      */
  3.     protected function prepareResponse($requestThrowable $e)
  4.     {
  5.         if (! $this->isHttpException($e) && config('app.debug')) {
  6.             return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e)->prepare($request);
  7.         }
  8.         if (! $this->isHttpException($e)) {
  9.             $e = new HttpException(500$e->getMessage(), $e);
  10.         }
  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.             if (Auth::guard($guard)->check()) {
  2.                 return redirect($this->redirectTo($request));
  3.             }
  4.         }
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Get the path the user should be redirected to when they are authenticated.
  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.             throw $exception;
  3.         }
  4.         return $next($request);
  5.     }
  6. }
  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.             $this->isReading($request) ||
  2.             $this->runningUnitTests() ||
  3.             $this->inExceptArray($request) ||
  4.             $this->tokensMatch($request)
  5.         ) {
  6.             return tap($next($request), function ($response) use ($request) {
  7.                 if ($this->shouldAddXsrfTokenCookie()) {
  8.                     $this->addCookieToResponse($request$response);
  9.                 }
  10.             });
  11.         }
  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.         // Putting the errors in the view for every view allows the developer to just
  2.         // assume that some errors are always available, which is convenient since
  3.         // they don't have to continually run checks for the presence of errors.
  4.         return $next($request);
  5.     }
  6. }
  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.             $this->startSession($request$session)
  2.         );
  3.         $this->collectGarbage($session);
  4.         $response $next($request);
  5.         $this->storeCurrentUrl($request$session);
  6.         $this->addCookieToResponse($response$session);
  1.         if ($this->manager->shouldBlock() ||
  2.             ($request->route() instanceof Route && $request->route()->locksFor())) {
  3.             return $this->handleRequestWhileBlocking($request$session$next);
  4.         }
  5.         return $this->handleStatefulRequest($request$session$next);
  6.     }
  7.     /**
  8.      * Handle the given request within session state.
  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.      * @param  \Closure  $next
  2.      * @return mixed
  3.      */
  4.     public function handle($requestClosure $next)
  5.     {
  6.         $response $next($request);
  7.         foreach ($this->cookies->getQueuedCookies() as $cookie) {
  8.             $response->headers->setCookie($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.      * @param  \Closure  $next
  2.      * @return \Symfony\Component\HttpFoundation\Response
  3.      */
  4.     public function handle($requestClosure $next)
  5.     {
  6.         return $this->encrypt($next($this->decrypt($request)));
  7.     }
  8.     /**
  9.      * Decrypt the cookies on the request.
  10.      *
  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.         $middleware $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
  2.         return (new Pipeline($this->container))
  3.                         ->send($request)
  4.                         ->through($middleware)
  5.                         ->then(fn ($request) => $this->prepareResponse(
  6.                             $request$route->run()
  7.                         ));
  8.     }
  9.     /**
  1.         $request->setRouteResolver(fn () => $route);
  2.         $this->events->dispatch(new RouteMatched($route$request));
  3.         return $this->prepareResponse($request,
  4.             $this->runRouteWithinStack($route$request)
  5.         );
  6.     }
  7.     /**
  8.      * Run the given route within a Stack "onion" instance.
  1.      * @param  \Illuminate\Http\Request  $request
  2.      * @return \Symfony\Component\HttpFoundation\Response
  3.      */
  4.     public function dispatchToRoute(Request $request)
  5.     {
  6.         return $this->runRoute($request$this->findRoute($request));
  7.     }
  8.     /**
  9.      * Find the route matching a given request.
  10.      *
  1.      */
  2.     public function dispatch(Request $request)
  3.     {
  4.         $this->currentRequest $request;
  5.         return $this->dispatchToRoute($request);
  6.     }
  7.     /**
  8.      * Dispatch the request to a route and return the response.
  9.      *
  1.     protected function dispatchToRouter()
  2.     {
  3.         return function ($request) {
  4.             $this->app->instance('request'$request);
  5.             return $this->router->dispatch($request);
  6.         };
  7.     }
  8.     /**
  9.      * Call the terminate method on any terminable middleware.
  1.      */
  2.     protected function prepareDestination(Closure $destination)
  3.     {
  4.         return function ($passable) use ($destination) {
  5.             try {
  6.                 return $destination($passable);
  7.             } catch (Throwable $e) {
  8.                 return $this->handleException($passable$e);
  9.             }
  10.         };
  11.     }
  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(object(Request)) in /home5/rakesh/public_html/index.php (line 20)
  1. // Bootstrap Laravel and handle the request...
  2. $app = require_once __DIR__.'/bootstrap/app.php';
  3. $kernel $app->make(Illuminate\Contracts\Http\Kernel::class);
  4. $response $kernel->handle(
  5.     $request Request::capture()
  6. );
  7. $response->send();

TypeError

htmlspecialchars(): Argument #1 ($string) must be of type string, Closure given

  1.         if ($value instanceof BackedEnum) {
  2.             $value $value->value;
  3.         }
  4.         return htmlspecialchars($value ?? ''ENT_QUOTES ENT_SUBSTITUTE'UTF-8'$doubleEncode);
  5.     }
  6. }
  7. if (! function_exists('env')) {
  8.     /**
  1.         if ($value instanceof BackedEnum) {
  2.             $value $value->value;
  3.         }
  4.         return htmlspecialchars($value ?? ''ENT_QUOTES ENT_SUBSTITUTE'UTF-8'$doubleEncode);
  5.     }
  6. }
  7. if (! function_exists('env')) {
  8.     /**
  1.                     class="min-w-0 flex-grow"
  2.                     style="
  3.                         -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 1rem, #000 calc(100% - 3rem), transparent calc(100% - 1rem));
  4.                     "
  5.                 >
  6.                     <pre class="scrollbar-hidden overflow-y-hidden text-xs lg:text-sm"><code class="px-5 py-3 overflow-y-hidden scrollbar-hidden max-h-32 overflow-x-scroll scrollbar-hidden-x"><?php echo e($value); ?></code></pre>
  7.                 </span>
  8.             </div>
  9.         <?php endforeach; $__env->popLoop(); $loop $__env->getLastLoop(); if ($__empty_1): ?>
  10.             <span
  11.                 class="min-w-0 flex-grow"
  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 ($view instanceof View) {
  2.                 return $view->with($data)->render();
  3.             } elseif ($view instanceof Htmlable) {
  4.                 return $view->toHtml();
  5.             } else {
  6.                 return $this->make($view$data)->render();
  7.             }
  8.         } finally {
  9.             $this->currentComponentData $previousComponentData;
  10.         }
  11.     }
  1. <?php $__env->startComponent($component->resolveView(), $component->data()); ?>
  2. <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
  3. <?php $attributes $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
  4. <?php endif; ?>
  5. <?php $component->withAttributes(['exception' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($exception)]); ?>
  6. <?php echo $__env->renderComponent(); ?>
  7. <?php endif; ?>
  8. <?php if (isset($__attributesOriginal523928ff754f95aea6faf87444393a04)): ?>
  9. <?php $attributes $__attributesOriginal523928ff754f95aea6faf87444393a04?>
  10. <?php unset($__attributesOriginal523928ff754f95aea6faf87444393a04); ?>
  11. <?php endif; ?>
  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.             $this->htmlErrorRenderer->render($throwable),
  2.         );
  3.         return $this->viewFactory->make('laravel-exceptions-renderer::show', [
  4.             'exception' => new Exception($flattenException$request$this->listener$this->basePath),
  5.         ])->render();
  6.     }
  7.     /**
  8.      * Get the renderer's CSS content.
  9.      *
  1.         try {
  2.             if (config('app.debug')) {
  3.                 if (app()->has(ExceptionRenderer::class)) {
  4.                     return $this->renderExceptionWithCustomRenderer($e);
  5.                 } elseif ($this->container->bound(Renderer::class)) {
  6.                     return $this->container->make(Renderer::class)->render(request(), $e);
  7.                 }
  8.             }
  9.             return $this->renderExceptionWithSymfony($econfig('app.debug'));
  10.         } catch (Throwable $e) {
  1.      * @return \Symfony\Component\HttpFoundation\Response
  2.      */
  3.     protected function convertExceptionToResponse(Throwable $e)
  4.     {
  5.         return new SymfonyResponse(
  6.             $this->renderExceptionContent($e),
  7.             $this->isHttpException($e) ? $e->getStatusCode() : 500,
  8.             $this->isHttpException($e) ? $e->getHeaders() : []
  9.         );
  10.     }
  1.      * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse
  2.      */
  3.     protected function prepareResponse($requestThrowable $e)
  4.     {
  5.         if (! $this->isHttpException($e) && config('app.debug')) {
  6.             return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e)->prepare($request);
  7.         }
  8.         if (! $this->isHttpException($e)) {
  9.             $e = new HttpException(500$e->getMessage(), $e);
  10.         }
  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.             if (Auth::guard($guard)->check()) {
  2.                 return redirect($this->redirectTo($request));
  3.             }
  4.         }
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Get the path the user should be redirected to when they are authenticated.
  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.             throw $exception;
  3.         }
  4.         return $next($request);
  5.     }
  6. }
  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.             $this->isReading($request) ||
  2.             $this->runningUnitTests() ||
  3.             $this->inExceptArray($request) ||
  4.             $this->tokensMatch($request)
  5.         ) {
  6.             return tap($next($request), function ($response) use ($request) {
  7.                 if ($this->shouldAddXsrfTokenCookie()) {
  8.                     $this->addCookieToResponse($request$response);
  9.                 }
  10.             });
  11.         }
  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.         // Putting the errors in the view for every view allows the developer to just
  2.         // assume that some errors are always available, which is convenient since
  3.         // they don't have to continually run checks for the presence of errors.
  4.         return $next($request);
  5.     }
  6. }
  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.             $this->startSession($request$session)
  2.         );
  3.         $this->collectGarbage($session);
  4.         $response $next($request);
  5.         $this->storeCurrentUrl($request$session);
  6.         $this->addCookieToResponse($response$session);
  1.         if ($this->manager->shouldBlock() ||
  2.             ($request->route() instanceof Route && $request->route()->locksFor())) {
  3.             return $this->handleRequestWhileBlocking($request$session$next);
  4.         }
  5.         return $this->handleStatefulRequest($request$session$next);
  6.     }
  7.     /**
  8.      * Handle the given request within session state.
  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.      * @param  \Closure  $next
  2.      * @return mixed
  3.      */
  4.     public function handle($requestClosure $next)
  5.     {
  6.         $response $next($request);
  7.         foreach ($this->cookies->getQueuedCookies() as $cookie) {
  8.             $response->headers->setCookie($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.      * @param  \Closure  $next
  2.      * @return \Symfony\Component\HttpFoundation\Response
  3.      */
  4.     public function handle($requestClosure $next)
  5.     {
  6.         return $this->encrypt($next($this->decrypt($request)));
  7.     }
  8.     /**
  9.      * Decrypt the cookies on the request.
  10.      *
  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.         $middleware $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
  2.         return (new Pipeline($this->container))
  3.                         ->send($request)
  4.                         ->through($middleware)
  5.                         ->then(fn ($request) => $this->prepareResponse(
  6.                             $request$route->run()
  7.                         ));
  8.     }
  9.     /**
  1.         $request->setRouteResolver(fn () => $route);
  2.         $this->events->dispatch(new RouteMatched($route$request));
  3.         return $this->prepareResponse($request,
  4.             $this->runRouteWithinStack($route$request)
  5.         );
  6.     }
  7.     /**
  8.      * Run the given route within a Stack "onion" instance.
  1.      * @param  \Illuminate\Http\Request  $request
  2.      * @return \Symfony\Component\HttpFoundation\Response
  3.      */
  4.     public function dispatchToRoute(Request $request)
  5.     {
  6.         return $this->runRoute($request$this->findRoute($request));
  7.     }
  8.     /**
  9.      * Find the route matching a given request.
  10.      *
  1.      */
  2.     public function dispatch(Request $request)
  3.     {
  4.         $this->currentRequest $request;
  5.         return $this->dispatchToRoute($request);
  6.     }
  7.     /**
  8.      * Dispatch the request to a route and return the response.
  9.      *
  1.     protected function dispatchToRouter()
  2.     {
  3.         return function ($request) {
  4.             $this->app->instance('request'$request);
  5.             return $this->router->dispatch($request);
  6.         };
  7.     }
  8.     /**
  9.      * Call the terminate method on any terminable middleware.
  1.      */
  2.     protected function prepareDestination(Closure $destination)
  3.     {
  4.         return function ($passable) use ($destination) {
  5.             try {
  6.                 return $destination($passable);
  7.             } catch (Throwable $e) {
  8.                 return $this->handleException($passable$e);
  9.             }
  10.         };
  11.     }
  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(object(Request)) in /home5/rakesh/public_html/index.php (line 20)
  1. // Bootstrap Laravel and handle the request...
  2. $app = require_once __DIR__.'/bootstrap/app.php';
  3. $kernel $app->make(Illuminate\Contracts\Http\Kernel::class);
  4. $response $kernel->handle(
  5.     $request Request::capture()
  6. );
  7. $response->send();

Stack Traces 3

[3/3] ViewException
Illuminate\View\ViewException:
htmlspecialchars(): Argument #1 ($string) must be of type string, Closure given (View: /home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/resources/exceptions/renderer/components/context.blade.php) (View: /home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/resources/exceptions/renderer/components/context.blade.php)

  at /home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Support/helpers.php:135
  at Illuminate\View\Engines\CompilerEngine->handleViewException(object(ViewException), 0)
     (/home5/rakesh/public_html/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:58)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->handleViewException(object(ViewException), 0)
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:60)
  at Illuminate\View\Engines\PhpEngine->evaluatePath('/home5/rakesh/public_html/storage/framework/views/fc220ada3c1ecd936b04c9a50a94116f.php', array('__env' => object(Factory), 'app' => object(Application), 'categories' => object(Collection), 'noOfCartProducts' => 0, 'errors' => object(ViewErrorBag), 'exception' => object(Exception)))
     (/home5/rakesh/public_html/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->evaluatePath('/home5/rakesh/public_html/storage/framework/views/fc220ada3c1ecd936b04c9a50a94116f.php', array('__env' => object(Factory), 'app' => object(Application), 'categories' => object(Collection), 'noOfCartProducts' => 0, 'errors' => object(ViewErrorBag), 'exception' => object(Exception)))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:73)
  at Illuminate\View\Engines\CompilerEngine->get('/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Providers/../resources/exceptions/renderer/show.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'categories' => object(Collection), 'noOfCartProducts' => 0, 'errors' => object(ViewErrorBag), 'exception' => object(Exception)))
     (/home5/rakesh/public_html/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:10)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->get('/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Providers/../resources/exceptions/renderer/show.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'categories' => object(Collection), 'noOfCartProducts' => 0, 'errors' => object(ViewErrorBag), 'exception' => object(Exception)))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:208)
  at Illuminate\View\View->getContents()
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:191)
  at Illuminate\View\View->renderContents()
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:160)
  at Illuminate\View\View->render()
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Renderer/Renderer.php:94)
  at Illuminate\Foundation\Exceptions\Renderer\Renderer->render(object(Request), object(ViewException))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:844)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionContent(object(ViewException))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:825)
  at Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse(object(ViewException))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:804)
  at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(ViewException))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:703)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse(object(Request), object(ViewException))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:592)
  at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(ViewException))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51)
  at Illuminate\Routing\Pipeline->handleException(object(Request), object(ViewException))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:146)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Auth/Middleware/RedirectIfAuthenticated.php:35)
  at Illuminate\Auth\Middleware\RedirectIfAuthenticated->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:51)
  at Illuminate\Routing\Middleware\SubstituteBindings->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:88)
  at Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49)
  at Illuminate\View\Middleware\ShareErrorsFromSession->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121)
  at Illuminate\Session\Middleware\StartSession->handleStatefulRequest(object(Request), object(Store), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64)
  at Illuminate\Session\Middleware\StartSession->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37)
  at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:75)
  at Illuminate\Cookie\Middleware\EncryptCookies->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:119)
  at Illuminate\Pipeline\Pipeline->then(object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:807)
  at Illuminate\Routing\Router->runRouteWithinStack(object(Route), object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:786)
  at Illuminate\Routing\Router->runRoute(object(Request), object(Route))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:750)
  at Illuminate\Routing\Router->dispatchToRoute(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:739)
  at Illuminate\Routing\Router->dispatch(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:201)
  at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:144)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php:19)
  at Livewire\Features\SupportDisablingBackButtonCache\DisableBackButtonCacheMiddleware->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
  at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:51)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php:27)
  at Illuminate\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:110)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49)
  at Illuminate\Http\Middleware\HandleCors->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:57)
  at Illuminate\Http\Middleware\TrustProxies->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:119)
  at Illuminate\Pipeline\Pipeline->then(object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:176)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:145)
  at Illuminate\Foundation\Http\Kernel->handle(object(Request))
     (/home5/rakesh/public_html/index.php:20)                
[2/3] ViewException
Illuminate\View\ViewException:
htmlspecialchars(): Argument #1 ($string) must be of type string, Closure given (View: /home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/resources/exceptions/renderer/components/context.blade.php)

  at /home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Support/helpers.php:135
  at Illuminate\View\Engines\CompilerEngine->handleViewException(object(TypeError), 2)
     (/home5/rakesh/public_html/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:58)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->handleViewException(object(TypeError), 2)
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:60)
  at Illuminate\View\Engines\PhpEngine->evaluatePath('/home5/rakesh/public_html/storage/framework/views/ef4898038834b72899cd338e3604bd3a.php', array('__env' => object(Factory), 'app' => object(Application), 'categories' => object(Collection), 'noOfCartProducts' => 0, 'errors' => object(ViewErrorBag), 'exception' => object(Exception), 'attributes' => object(ComponentAttributeBag), 'slot' => object(ComponentSlot), '__laravel_slots' => array('__default' => object(ComponentSlot))))
     (/home5/rakesh/public_html/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->evaluatePath('/home5/rakesh/public_html/storage/framework/views/ef4898038834b72899cd338e3604bd3a.php', array('__env' => object(Factory), 'app' => object(Application), 'categories' => object(Collection), 'noOfCartProducts' => 0, 'errors' => object(ViewErrorBag), 'exception' => object(Exception), 'attributes' => object(ComponentAttributeBag), 'slot' => object(ComponentSlot), '__laravel_slots' => array('__default' => object(ComponentSlot))))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:73)
  at Illuminate\View\Engines\CompilerEngine->get('/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Providers/../resources/exceptions/renderer/components/context.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'categories' => object(Collection), 'noOfCartProducts' => 0, 'errors' => object(ViewErrorBag), 'exception' => object(Exception), 'attributes' => object(ComponentAttributeBag), 'slot' => object(ComponentSlot), '__laravel_slots' => array('__default' => object(ComponentSlot))))
     (/home5/rakesh/public_html/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:10)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->get('/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Providers/../resources/exceptions/renderer/components/context.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'categories' => object(Collection), 'noOfCartProducts' => 0, 'errors' => object(ViewErrorBag), 'exception' => object(Exception), 'attributes' => object(ComponentAttributeBag), 'slot' => object(ComponentSlot), '__laravel_slots' => array('__default' => object(ComponentSlot))))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:208)
  at Illuminate\View\View->getContents()
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:191)
  at Illuminate\View\View->renderContents()
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:160)
  at Illuminate\View\View->render()
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesComponents.php:103)
  at Illuminate\View\Factory->renderComponent()
     (/home5/rakesh/public_html/storage/framework/views/fc220ada3c1ecd936b04c9a50a94116f.php:87)
  at require('/home5/rakesh/public_html/storage/framework/views/fc220ada3c1ecd936b04c9a50a94116f.php')
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:123)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124)
  at Illuminate\Filesystem\Filesystem->getRequire('/home5/rakesh/public_html/storage/framework/views/fc220ada3c1ecd936b04c9a50a94116f.php', array('__env' => object(Factory), 'app' => object(Application), 'categories' => object(Collection), 'noOfCartProducts' => 0, 'errors' => object(ViewErrorBag), 'exception' => object(Exception)))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath('/home5/rakesh/public_html/storage/framework/views/fc220ada3c1ecd936b04c9a50a94116f.php', array('__env' => object(Factory), 'app' => object(Application), 'categories' => object(Collection), 'noOfCartProducts' => 0, 'errors' => object(ViewErrorBag), 'exception' => object(Exception)))
     (/home5/rakesh/public_html/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->evaluatePath('/home5/rakesh/public_html/storage/framework/views/fc220ada3c1ecd936b04c9a50a94116f.php', array('__env' => object(Factory), 'app' => object(Application), 'categories' => object(Collection), 'noOfCartProducts' => 0, 'errors' => object(ViewErrorBag), 'exception' => object(Exception)))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:73)
  at Illuminate\View\Engines\CompilerEngine->get('/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Providers/../resources/exceptions/renderer/show.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'categories' => object(Collection), 'noOfCartProducts' => 0, 'errors' => object(ViewErrorBag), 'exception' => object(Exception)))
     (/home5/rakesh/public_html/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:10)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->get('/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Providers/../resources/exceptions/renderer/show.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'categories' => object(Collection), 'noOfCartProducts' => 0, 'errors' => object(ViewErrorBag), 'exception' => object(Exception)))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:208)
  at Illuminate\View\View->getContents()
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:191)
  at Illuminate\View\View->renderContents()
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:160)
  at Illuminate\View\View->render()
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Renderer/Renderer.php:94)
  at Illuminate\Foundation\Exceptions\Renderer\Renderer->render(object(Request), object(ViewException))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:844)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionContent(object(ViewException))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:825)
  at Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse(object(ViewException))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:804)
  at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(ViewException))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:703)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse(object(Request), object(ViewException))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:592)
  at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(ViewException))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51)
  at Illuminate\Routing\Pipeline->handleException(object(Request), object(ViewException))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:146)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Auth/Middleware/RedirectIfAuthenticated.php:35)
  at Illuminate\Auth\Middleware\RedirectIfAuthenticated->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:51)
  at Illuminate\Routing\Middleware\SubstituteBindings->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:88)
  at Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49)
  at Illuminate\View\Middleware\ShareErrorsFromSession->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121)
  at Illuminate\Session\Middleware\StartSession->handleStatefulRequest(object(Request), object(Store), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64)
  at Illuminate\Session\Middleware\StartSession->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37)
  at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:75)
  at Illuminate\Cookie\Middleware\EncryptCookies->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:119)
  at Illuminate\Pipeline\Pipeline->then(object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:807)
  at Illuminate\Routing\Router->runRouteWithinStack(object(Route), object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:786)
  at Illuminate\Routing\Router->runRoute(object(Request), object(Route))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:750)
  at Illuminate\Routing\Router->dispatchToRoute(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:739)
  at Illuminate\Routing\Router->dispatch(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:201)
  at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:144)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php:19)
  at Livewire\Features\SupportDisablingBackButtonCache\DisableBackButtonCacheMiddleware->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
  at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:51)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php:27)
  at Illuminate\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:110)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49)
  at Illuminate\Http\Middleware\HandleCors->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:57)
  at Illuminate\Http\Middleware\TrustProxies->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:119)
  at Illuminate\Pipeline\Pipeline->then(object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:176)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:145)
  at Illuminate\Foundation\Http\Kernel->handle(object(Request))
     (/home5/rakesh/public_html/index.php:20)                
[1/3] TypeError
TypeError:
htmlspecialchars(): Argument #1 ($string) must be of type string, Closure given

  at /home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Support/helpers.php:135
  at htmlspecialchars(object(Closure), 11, 'UTF-8', true)
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Support/helpers.php:135)
  at e(object(Closure))
     (/home5/rakesh/public_html/storage/framework/views/ef4898038834b72899cd338e3604bd3a.php:112)
  at require('/home5/rakesh/public_html/storage/framework/views/ef4898038834b72899cd338e3604bd3a.php')
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:123)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124)
  at Illuminate\Filesystem\Filesystem->getRequire('/home5/rakesh/public_html/storage/framework/views/ef4898038834b72899cd338e3604bd3a.php', array('__env' => object(Factory), 'app' => object(Application), 'categories' => object(Collection), 'noOfCartProducts' => 0, 'errors' => object(ViewErrorBag), 'exception' => object(Exception), 'attributes' => object(ComponentAttributeBag), 'slot' => object(ComponentSlot), '__laravel_slots' => array('__default' => object(ComponentSlot))))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath('/home5/rakesh/public_html/storage/framework/views/ef4898038834b72899cd338e3604bd3a.php', array('__env' => object(Factory), 'app' => object(Application), 'categories' => object(Collection), 'noOfCartProducts' => 0, 'errors' => object(ViewErrorBag), 'exception' => object(Exception), 'attributes' => object(ComponentAttributeBag), 'slot' => object(ComponentSlot), '__laravel_slots' => array('__default' => object(ComponentSlot))))
     (/home5/rakesh/public_html/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->evaluatePath('/home5/rakesh/public_html/storage/framework/views/ef4898038834b72899cd338e3604bd3a.php', array('__env' => object(Factory), 'app' => object(Application), 'categories' => object(Collection), 'noOfCartProducts' => 0, 'errors' => object(ViewErrorBag), 'exception' => object(Exception), 'attributes' => object(ComponentAttributeBag), 'slot' => object(ComponentSlot), '__laravel_slots' => array('__default' => object(ComponentSlot))))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:73)
  at Illuminate\View\Engines\CompilerEngine->get('/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Providers/../resources/exceptions/renderer/components/context.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'categories' => object(Collection), 'noOfCartProducts' => 0, 'errors' => object(ViewErrorBag), 'exception' => object(Exception), 'attributes' => object(ComponentAttributeBag), 'slot' => object(ComponentSlot), '__laravel_slots' => array('__default' => object(ComponentSlot))))
     (/home5/rakesh/public_html/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:10)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->get('/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Providers/../resources/exceptions/renderer/components/context.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'categories' => object(Collection), 'noOfCartProducts' => 0, 'errors' => object(ViewErrorBag), 'exception' => object(Exception), 'attributes' => object(ComponentAttributeBag), 'slot' => object(ComponentSlot), '__laravel_slots' => array('__default' => object(ComponentSlot))))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:208)
  at Illuminate\View\View->getContents()
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:191)
  at Illuminate\View\View->renderContents()
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:160)
  at Illuminate\View\View->render()
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/View/Concerns/ManagesComponents.php:103)
  at Illuminate\View\Factory->renderComponent()
     (/home5/rakesh/public_html/storage/framework/views/fc220ada3c1ecd936b04c9a50a94116f.php:87)
  at require('/home5/rakesh/public_html/storage/framework/views/fc220ada3c1ecd936b04c9a50a94116f.php')
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:123)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124)
  at Illuminate\Filesystem\Filesystem->getRequire('/home5/rakesh/public_html/storage/framework/views/fc220ada3c1ecd936b04c9a50a94116f.php', array('__env' => object(Factory), 'app' => object(Application), 'categories' => object(Collection), 'noOfCartProducts' => 0, 'errors' => object(ViewErrorBag), 'exception' => object(Exception)))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath('/home5/rakesh/public_html/storage/framework/views/fc220ada3c1ecd936b04c9a50a94116f.php', array('__env' => object(Factory), 'app' => object(Application), 'categories' => object(Collection), 'noOfCartProducts' => 0, 'errors' => object(ViewErrorBag), 'exception' => object(Exception)))
     (/home5/rakesh/public_html/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->evaluatePath('/home5/rakesh/public_html/storage/framework/views/fc220ada3c1ecd936b04c9a50a94116f.php', array('__env' => object(Factory), 'app' => object(Application), 'categories' => object(Collection), 'noOfCartProducts' => 0, 'errors' => object(ViewErrorBag), 'exception' => object(Exception)))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:73)
  at Illuminate\View\Engines\CompilerEngine->get('/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Providers/../resources/exceptions/renderer/show.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'categories' => object(Collection), 'noOfCartProducts' => 0, 'errors' => object(ViewErrorBag), 'exception' => object(Exception)))
     (/home5/rakesh/public_html/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:10)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->get('/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Providers/../resources/exceptions/renderer/show.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'categories' => object(Collection), 'noOfCartProducts' => 0, 'errors' => object(ViewErrorBag), 'exception' => object(Exception)))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:208)
  at Illuminate\View\View->getContents()
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:191)
  at Illuminate\View\View->renderContents()
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:160)
  at Illuminate\View\View->render()
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Renderer/Renderer.php:94)
  at Illuminate\Foundation\Exceptions\Renderer\Renderer->render(object(Request), object(ViewException))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:844)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionContent(object(ViewException))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:825)
  at Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse(object(ViewException))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:804)
  at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(ViewException))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:703)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse(object(Request), object(ViewException))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:592)
  at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(ViewException))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51)
  at Illuminate\Routing\Pipeline->handleException(object(Request), object(ViewException))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:146)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Auth/Middleware/RedirectIfAuthenticated.php:35)
  at Illuminate\Auth\Middleware\RedirectIfAuthenticated->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:51)
  at Illuminate\Routing\Middleware\SubstituteBindings->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:88)
  at Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49)
  at Illuminate\View\Middleware\ShareErrorsFromSession->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121)
  at Illuminate\Session\Middleware\StartSession->handleStatefulRequest(object(Request), object(Store), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64)
  at Illuminate\Session\Middleware\StartSession->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37)
  at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:75)
  at Illuminate\Cookie\Middleware\EncryptCookies->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:119)
  at Illuminate\Pipeline\Pipeline->then(object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:807)
  at Illuminate\Routing\Router->runRouteWithinStack(object(Route), object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:786)
  at Illuminate\Routing\Router->runRoute(object(Request), object(Route))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:750)
  at Illuminate\Routing\Router->dispatchToRoute(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:739)
  at Illuminate\Routing\Router->dispatch(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:201)
  at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:144)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php:19)
  at Livewire\Features\SupportDisablingBackButtonCache\DisableBackButtonCacheMiddleware->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
  at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:51)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php:27)
  at Illuminate\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:110)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49)
  at Illuminate\Http\Middleware\HandleCors->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:57)
  at Illuminate\Http\Middleware\TrustProxies->handle(object(Request), object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:119)
  at Illuminate\Pipeline\Pipeline->then(object(Closure))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:176)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request))
     (/home5/rakesh/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:145)
  at Illuminate\Foundation\Http\Kernel->handle(object(Request))
     (/home5/rakesh/public_html/index.php:20)