Symfony Exception

Database file at path [database/database.sqlite] does not exist. Ensure this is an absolute path to the database. (Connection: sqlite, SQL: PRAGMA foreign_keys = ON;) (View: /var/task/resources/views/pages/blog/index.blade.php)

Exceptions 3

Illuminate\View\ ViewException

Show exception properties
Illuminate\View\ViewException {#1471
  #severity: E_ERROR
}
  1.                 throw new UniqueConstraintViolationException(
  2.                     $this->getName(), $query$this->prepareBindings($bindings), $e
  3.                 );
  4.             }
  5.             throw new QueryException(
  6.                 $this->getName(), $query$this->prepareBindings($bindings), $e
  7.             );
  8.         }
  9.     }
  1.             \Illuminate\View\Engines\PhpEngine::handleViewException($e$obLevel);
  2.             return;
  3.         }
  4.         parent::handleViewException($e$obLevel);
  5.     }
  6.     public function shouldBypassExceptionForLivewire(\Throwable $e$obLevel)
  7.     {
  8.         $uses array_flip(class_uses_recursive($e));
  1.         // flush out any stray output that might get out before an error occurs or
  2.         // an exception is thrown. This prevents any partial views from leaking.
  3.         try {
  4.             $this->files->getRequire($path$data);
  5.         } catch (Throwable $e) {
  6.             $this->handleViewException($e$obLevel);
  7.         }
  8.         return ltrim(ob_get_clean());
  9.     }
  1.     }
  2.     protected function evaluatePath($__path$__data)
  3.     {
  4.         if (! ExtendBlade::isRenderingLivewireComponent()) {
  5.             return parent::evaluatePath($__path$__data);
  6.         }
  7.         $obLevel ob_get_level();
  8.         ob_start();
  1.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  1. use function Livewire\trigger;
  2. class ExtendedCompilerEngine extends \Illuminate\View\Engines\CompilerEngine {
  3.     public function get($path, array $data = [])
  4.     {
  5.         if (! ExtendBlade::isRenderingLivewireComponent()) return parent::get($path$data);
  6.         $currentComponent ExtendBlade::currentRendering();
  7.         trigger('view:compile'$currentComponent$path);
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each section gets flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.         // If this content implements the "Renderable" interface then we will call the
  2.         // render method on the object so we will avoid any "__toString" exceptions
  3.         // that might be thrown and have their errors obscured by PHP's handling.
  4.         elseif ($content instanceof Renderable) {
  5.             $content $content->render();
  6.         }
  7.         parent::setContent($content);
  8.         return $this;
  1.      */
  2.     public function __construct($content ''$status 200, array $headers = [])
  3.     {
  4.         $this->headers = new ResponseHeaderBag($headers);
  5.         $this->setContent($content);
  6.         $this->setStatusCode($status);
  7.         $this->setProtocolVersion('1.0');
  8.     }
  9.     /**
  1.                     $response instanceof JsonSerializable ||
  2.                     $response instanceof stdClass ||
  3.                     is_array($response))) {
  4.             $response = new JsonResponse($response);
  5.         } elseif (! $response instanceof SymfonyResponse) {
  6.             $response = new Response($response200, ['Content-Type' => 'text/html']);
  7.         }
  8.         if ($response->getStatusCode() === Response::HTTP_NOT_MODIFIED) {
  9.             $response->setNotModified();
  10.         }
  1.         if (! $instance) {
  2.             throw new RuntimeException('A facade root has not been set.');
  3.         }
  4.         return $instance->$method(...$args);
  5.     }
  6. }
  1.      */
  2.     protected function toResponse(Request $requestMatchedView $matchedView): Response
  3.     {
  4.         $view View::file($matchedView->path$matchedView->data);
  5.         return Route::toResponse($requestapp()->call(
  6.             $matchedView->renderUsing(),
  7.             ['view' => $view, ...$view->getData()]
  8.         ) ?? $view);
  9.     }
  10. }
  1.                     ($this->onViewMatch)($matchedView);
  2.                 }
  3.                 $response $this->renderUsing
  4.                     ? ($this->renderUsing)($request$matchedView)
  5.                     : $this->toResponse($request$matchedView);
  6.                 $app app();
  7.                 $app->make(FolioManager::class)->terminateUsing(function () use ($middleware$app$request$response) {
  8.                     $middleware->filter(fn ($m) => is_string($m) && class_exists($m) && method_exists($m'terminate'))
  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.             }
  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 collect($this->middleware($mountPath$matchedView));
  2.         return (new Pipeline(app()))
  3.             ->send($request)
  4.             ->through($middleware->all())
  5.             ->then(function (Request $request) use ($matchedView$middleware) {
  6.                 if ($this->onViewMatch) {
  7.                     ($this->onViewMatch)($matchedView);
  8.                 }
  9.                 $response $this->renderUsing
  1.             return (new RequestHandler(
  2.                 $mountPaths,
  3.                 $this->renderUsing,
  4.                 fn (MatchedView $matchedView) => $this->lastMatchedView $matchedView,
  5.             ))($request);
  6.         };
  7.     }
  8.     /**
  9.      * Get the middleware that should be applied to the Folio handled URI.
  1.      * @param  callable  $callable
  2.      * @return mixed
  3.      */
  4.     public function dispatch(Route $route$callable)
  5.     {
  6.         return $callable(...array_values($this->resolveParameters($route$callable)));
  7.     }
  8.     /**
  9.      * Resolve the parameters for the callable.
  10.      *
  1.         if ($this->isSerializedClosure()) {
  2.             $callable unserialize($this->action['uses'])->getClosure();
  3.         }
  4.         return $this->container[CallableDispatcher::class]->dispatch($this$callable);
  5.     }
  6.     /**
  7.      * Determine if the route action is a serialized Closure.
  8.      *
  1.         try {
  2.             if ($this->isControllerAction()) {
  3.                 return $this->runController();
  4.             }
  5.             return $this->runCallable();
  6.         } catch (HttpResponseException $e) {
  7.             return $e->getResponse();
  8.         }
  9.     }
  1.         return (new Pipeline($this->container))
  2.                         ->send($request)
  3.                         ->through($middleware)
  4.                         ->then(fn ($request) => $this->prepareResponse(
  5.                             $request$route->run()
  6.                         ));
  7.     }
  8.     /**
  9.      * Gather the middleware for the given route with resolved class names.
  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.     {
  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.
in /var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php -> Illuminate\Foundation\Http\{closure} (line 141)
  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.      * @param  string|null  ...$guards
  2.      * @return mixed
  3.      */
  4.     public function handle($requestClosure $next, ...$guards)
  5.     {
  6.         $response $next($request);
  7.         if (isset($_ENV['VAPOR_SSM_PATH']) && $response->getStatusCode() === 404) {
  8.             $requestUri $request->getRequestUri();
  9.             if (! in_array(ltrim($requestUri'/'), config('vapor.serve_assets', []))) {
  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.         }
  1.                 new EnsureOnNakedDomain,
  2.                 new RedirectStaticAssets,
  3.                 new EnsureVanityUrlIsNotIndexed,
  4.                 new EnsureBinaryEncoding(),
  5.             ])->then(function ($request) use ($kernel) {
  6.                 return $kernel->handle($request);
  7.             });
  8.         $kernel->terminate($request$response);
  9.         return $response;
in /var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php -> Laravel\Vapor\Runtime\{closure} (line 141)
  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  callable  $next
  2.      * @return mixed
  3.      */
  4.     public function handle($request$next)
  5.     {
  6.         $response $next($request);
  7.         if (static::isBase64EncodingRequired($response)) {
  8.             $response->headers->set('X-Vapor-Base64-Encode''True');
  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  callable  $next
  2.      * @return mixed
  3.      */
  4.     public function handle($request$next)
  5.     {
  6.         $response $next($request);
  7.         if ('https://'.$request->getHttpHost() === $_ENV['APP_VANITY_URL']) {
  8.             $response->headers->set('X-Robots-Tag''noindex, nofollow'true);
  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 new RedirectResponse($_ENV['ASSET_URL'].'/robots.txt'302, [
  2.                 'Cache-Control' => 'public, max-age=3600',
  3.             ]);
  4.         }
  5.         return $next($request);
  6.     }
  7. }
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.                     $request->fullUrl()
  2.                 ), 301);
  3.             }
  4.         }
  5.         return $next($request);
  6.     }
  7. }
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.     {
  2.         $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.             ->through([
  2.                 new EnsureOnNakedDomain,
  3.                 new RedirectStaticAssets,
  4.                 new EnsureVanityUrlIsNotIndexed,
  5.                 new EnsureBinaryEncoding(),
  6.             ])->then(function ($request) use ($kernel) {
  7.                 return $kernel->handle($request);
  8.             });
  9.         $kernel->terminate($request$response);
  1.                 }
  2.                 $this->app->terminate();
  3.             }
  4.         } else {
  5.             $response $this->sendRequest($request);
  6.         }
  7.         return $response;
  8.     }
HttpKernel->handle(object(Request)) in /var/task/httpHandler.php (line 55)
  1. |
  2. */
  3. $handler = new HttpKernel($app);
  4. $response $handler->handle(Request::capture());
  5. $response->send();

Illuminate\Database\ QueryException

Database file at path [database/database.sqlite] does not exist. Ensure this is an absolute path to the database. (Connection: sqlite, SQL: PRAGMA foreign_keys = ON;)

  1.                 throw new UniqueConstraintViolationException(
  2.                     $this->getName(), $query$this->prepareBindings($bindings), $e
  3.                 );
  4.             }
  5.             throw new QueryException(
  6.                 $this->getName(), $query$this->prepareBindings($bindings), $e
  7.             );
  8.         }
  9.     }
  1.         // Here we will run this query. If an exception occurs we'll determine if it was
  2.         // caused by a connection that has been lost. If that is the cause, we'll try
  3.         // to re-establish connection and re-run the query with a fresh connection.
  4.         try {
  5.             $result $this->runQueryCallback($query$bindings$callback);
  6.         } catch (QueryException $e) {
  7.             $result $this->handleQueryException(
  8.                 $e$query$bindings$callback
  9.             );
  10.         }
  1.      * @param  array  $bindings
  2.      * @return bool
  3.      */
  4.     public function statement($query$bindings = [])
  5.     {
  6.         return $this->run($query$bindings, function ($query$bindings) {
  7.             if ($this->pretending()) {
  8.                 return true;
  9.             }
  10.             $statement $this->getPdo()->prepare($query);
  1.      *
  2.      * @return bool
  3.      */
  4.     public function enableForeignKeyConstraints()
  5.     {
  6.         return $this->connection->statement(
  7.             $this->grammar->compileEnableForeignKeyConstraints()
  8.         );
  9.     }
  10.     /**
  1.         if ($enableForeignKeyConstraints === null) {
  2.             return;
  3.         }
  4.         $enableForeignKeyConstraints
  5.             $this->getSchemaBuilder()->enableForeignKeyConstraints()
  6.             : $this->getSchemaBuilder()->disableForeignKeyConstraints();
  7.     }
  8.     /**
  9.      * Escape a binary value for safe SQL embedding.
  1.         }
  2.         return match ($driver) {
  3.             'mysql' => new MySqlConnection($connection$database$prefix$config),
  4.             'pgsql' => new PostgresConnection($connection$database$prefix$config),
  5.             'sqlite' => new SQLiteConnection($connection$database$prefix$config),
  6.             'sqlsrv' => new SqlServerConnection($connection$database$prefix$config),
  7.             default => throw new InvalidArgumentException("Unsupported driver [{$driver}]."),
  8.         };
  9.     }
  10. }
  1.      */
  2.     protected function createSingleConnection(array $config)
  3.     {
  4.         $pdo $this->createPdoResolver($config);
  5.         return $this->createConnection(
  6.             $config['driver'], $pdo$config['database'], $config['prefix'], $config
  7.         );
  8.     }
  9.     /**
  1.         if (isset($config['read'])) {
  2.             return $this->createReadWriteConnection($config);
  3.         }
  4.         return $this->createSingleConnection($config);
  5.     }
  6.     /**
  7.      * Parse and prepare the database configuration.
  8.      *
  1.         // resolver for the drivers themselves which applies to all connections.
  2.         if (isset($this->extensions[$driver $config['driver']])) {
  3.             return call_user_func($this->extensions[$driver], $config$name);
  4.         }
  5.         return $this->factory->make($config$name);
  6.     }
  7.     /**
  8.      * Get the configuration for a connection.
  9.      *
  1.         // If we haven't created this connection, we'll create it based on the config
  2.         // provided in the application. Once we've created the connections we will
  3.         // set the "fetch mode" for PDO which determines the query return types.
  4.         if (! isset($this->connections[$name])) {
  5.             $this->connections[$name] = $this->configure(
  6.                 $this->makeConnection($database), $type
  7.             );
  8.             if ($this->app->bound('events')) {
  9.                 $this->app['events']->dispatch(
  10.                     new ConnectionEstablished($this->connections[$name])
  1.      * @param  string|null  $connection
  2.      * @return \Illuminate\Database\Connection
  3.      */
  4.     public static function resolveConnection($connection null)
  5.     {
  6.         return static::$resolver->connection($connection);
  7.     }
  8.     /**
  9.      * Get the connection resolver instance.
  10.      *
  1.      *
  2.      * @return \Illuminate\Database\Connection
  3.      */
  4.     public function getConnection()
  5.     {
  6.         return static::resolveConnection($this->getConnectionName());
  7.     }
  8.     /**
  9.      * Get the current connection name for the model.
  10.      *
  1.      *
  2.      * @return \Illuminate\Database\Query\Builder
  3.      */
  4.     protected function newBaseQueryBuilder()
  5.     {
  6.         return $this->getConnection()->query();
  7.     }
  8.     /**
  9.      * Create a new Eloquent Collection instance.
  10.      *
  1.      * @return \Illuminate\Database\Eloquent\Builder|static
  2.      */
  3.     public function newModelQuery()
  4.     {
  5.         return $this->newEloquentBuilder(
  6.             $this->newBaseQueryBuilder()
  7.         )->setModel($this);
  8.     }
  9.     /**
  10.      * Get a new query builder with no relationships loaded.
  1.      *
  2.      * @return \Illuminate\Database\Eloquent\Builder|static
  3.      */
  4.     public function newQueryWithoutScopes()
  5.     {
  6.         return $this->newModelQuery()
  7.             ->with($this->with)
  8.             ->withCount($this->withCount);
  9.     }
  10.     /**
  1.      *
  2.      * @return \Illuminate\Database\Eloquent\Builder
  3.      */
  4.     public function newQuery()
  5.     {
  6.         return $this->registerGlobalScopes($this->newQueryWithoutScopes());
  7.     }
  8.     /**
  9.      * Get a new query builder that doesn't have any global scopes or eager loading.
  10.      *
  1.         if (Str::startsWith($method'through') &&
  2.             method_exists($this$relationMethod Str::of($method)->after('through')->lcfirst()->toString())) {
  3.             return $this->through($relationMethod);
  4.         }
  5.         return $this->forwardCallTo($this->newQuery(), $method$parameters);
  6.     }
  7.     /**
  8.      * Handle dynamic static method calls into the model.
  9.      *
  1.      * @param  array  $parameters
  2.      * @return mixed
  3.      */
  4.     public static function __callStatic($method$parameters)
  5.     {
  6.         return (new static)->$method(...$parameters);
  7.     }
  8.     /**
  9.      * Convert the model to its string representation.
  10.      *
Model::__callStatic('count', array()) in /var/task/resources/views/pages/blog/index.blade.php (line 19)
  1.     'sortOrder' => 'desc'
  2. ]);
  3. mount(function (){
  4.     $this->results $this->numResults;
  5.     $this->total Post::count();
  6. });
  7. $loadMore = function(){
  8.     $this->results += $this->numResults;
  9.     if ($this->results >= $this->total) {
  1.         if (static::isCallableWithAtSign($callback) || $defaultMethod) {
  2.             return static::callClass($container$callback$parameters$defaultMethod);
  3.         }
  4.         return static::callBoundMethod($container$callback, function () use ($container$callback$parameters) {
  5.             return $callback(...array_values(static::getMethodDependencies($container$callback$parameters)));
  6.         });
  7.     }
  8.     /**
  9.      * Call a string reference to a class using Class@method syntax.
in /var/task/vendor/laravel/framework/src/Illuminate/Container/Util.php :: Illuminate\Container\{closure} (line 41)
  1.      * @param  mixed  ...$args
  2.      * @return mixed
  3.      */
  4.     public static function unwrapIfClosure($value, ...$args)
  5.     {
  6.         return $value instanceof Closure $value(...$args) : $value;
  7.     }
  8.     /**
  9.      * Get the class name of the given parameter's type, if possible.
  10.      *
  1.      * @return mixed
  2.      */
  3.     protected static function callBoundMethod($container$callback$default)
  4.     {
  5.         if (! is_array($callback)) {
  6.             return Util::unwrapIfClosure($default);
  7.         }
  8.         // Here we need to turn the array callable into a Class@method string we can use to
  9.         // examine the container and see if there are any method bindings for this given
  10.         // method. If there are, we can call this method binding callback immediately.
  1.         if (static::isCallableWithAtSign($callback) || $defaultMethod) {
  2.             return static::callClass($container$callback$parameters$defaultMethod);
  3.         }
  4.         return static::callBoundMethod($container$callback, function () use ($container$callback$parameters) {
  5.             return $callback(...array_values(static::getMethodDependencies($container$callback$parameters)));
  6.         });
  7.     }
  8.     /**
  1.             $this->buildStack[] = $className;
  2.             $pushedToBuildStack true;
  3.         }
  4.         $result BoundMethod::call($this$callback$parameters$defaultMethod);
  5.         if ($pushedToBuildStack) {
  6.             array_pop($this->buildStack);
  7.         }
  1.     public function execute(CompileContext $contextComponent $component, array $arguments): mixed
  2.     {
  3.         $hook $context->{$this->hookName};
  4.         if ($this->hookName === 'mount') {
  5.             return Container::getInstance()->call(
  6.                 Closure::bind($hook$component$component::class), $arguments
  7.             );
  8.         }
  9.         return call_user_func_array(Closure::bind($hook$component$component::class), $arguments);
CallHook->execute(object(CompileContext), object(Component@anonymous), array()) in /tmp/storage/framework/views/c1a0e46e436616c9c83e9345d3b4e6db.php (line 32)
  1.     public function mount()
  2.     {
  3.         (new Actions\InitializeState)->execute(static::$__context$thisget_defined_vars());
  4.         (new Actions\CallHook('mount'))->execute(static::$__context$thisget_defined_vars());
  5.     }
  6.     public function loadMore()
  7.     {
  8.         $arguments = [static::$__context$thisfunc_get_args()];
  1.         if (static::isCallableWithAtSign($callback) || $defaultMethod) {
  2.             return static::callClass($container$callback$parameters$defaultMethod);
  3.         }
  4.         return static::callBoundMethod($container$callback, function () use ($container$callback$parameters) {
  5.             return $callback(...array_values(static::getMethodDependencies($container$callback$parameters)));
  6.         });
  7.     }
  8.     /**
  9.      * Call a string reference to a class using Class@method syntax.
in /var/task/vendor/laravel/framework/src/Illuminate/Container/Util.php :: Illuminate\Container\{closure} (line 41)
  1.      * @param  mixed  ...$args
  2.      * @return mixed
  3.      */
  4.     public static function unwrapIfClosure($value, ...$args)
  5.     {
  6.         return $value instanceof Closure $value(...$args) : $value;
  7.     }
  8.     /**
  9.      * Get the class name of the given parameter's type, if possible.
  10.      *
  1.         if ($container->hasMethodBinding($method)) {
  2.             return $container->callMethodBinding($method$callback[0]);
  3.         }
  4.         return Util::unwrapIfClosure($default);
  5.     }
  6.     /**
  7.      * Normalize the given callback into a Class@method string.
  8.      *
  1.         if (static::isCallableWithAtSign($callback) || $defaultMethod) {
  2.             return static::callClass($container$callback$parameters$defaultMethod);
  3.         }
  4.         return static::callBoundMethod($container$callback, function () use ($container$callback$parameters) {
  5.             return $callback(...array_values(static::getMethodDependencies($container$callback$parameters)));
  6.         });
  7.     }
  8.     /**
  1.     function __call($method$params)
  2.     {
  3.         if (! method_exists($this->target$method)) return value($this->fallback);
  4.         try {
  5.             return ImplicitlyBoundMethod::call(app(), [$this->target$method], $params);
  6.         } catch (\Throwable $e) {
  7.             $shouldPropagate true;
  8.             $stopPropagation = function () use (&$shouldPropagate) {
  9.                 $shouldPropagate false;
  1.     }
  2.     public function callHook($name$params = [])
  3.     {
  4.         if (method_exists($this->component$name)) {
  5.             wrap($this->component)->__call($name$params);
  6.         }
  7.     }
  8.     function callTraitHook($name$params = [])
  9.     {
  1.         $this->callHook('boot');
  2.         $this->callTraitHook('boot');
  3.         $this->callTraitHook('initialize');
  4.         $this->callHook('mount'$params);
  5.         $this->callTraitHook('mount'$params);
  6.         $this->callHook('booted');
  7.         $this->callTraitHook('booted');
  8.     }
  1.     function callBoot(...$params) {
  2.         if (method_exists($this'boot')) $this->boot(...$params);
  3.     }
  4.     function callMount(...$params) {
  5.         if (method_exists($this'mount')) $this->mount(...$params);
  6.     }
  7.     function callHydrate(...$params) {
  8.         if (method_exists($this'hydrate')) $this->hydrate(...$params);
  9.     }
  1.         foreach (static::$componentHooks as $hook) {
  2.             on('mount', function ($component$params$key$parent) use ($hook) {
  3.                 $hook = static::initializeHook($hook$component);
  4.                 $hook->callBoot();
  5.                 $hook->callMount($params$parent);
  6.             });
  7.             on('hydrate', function ($component$memo) use ($hook) {
  8.                 $hook = static::initializeHook($hook$component);
  9.                 $hook->callBoot();
  1.             ($this->listeners[$name] ?? []),
  2.             ($this->listenersAfter[$name] ?? []),
  3.         );
  4.         foreach ($listeners as $callback) {
  5.             $result $callback(...$params);
  6.             if ($result) {
  7.                 $middlewares[] = $result;
  8.             }
  9.         }
  1. function pipe($subject) {
  2.     return new Pipe($subject);
  3. }
  4. function trigger($name, ...$params) {
  5.     return app(\Livewire\EventBus::class)->trigger($name, ...$params);
  6. }
  7. function on($name$callback) {
  8.     return app(\Livewire\EventBus::class)->on($name$callback);
  9. }
  1.         $this->pushOntoComponentStack($component);
  2.         $context = new ComponentContext($componentmountingtrue);
  3.         if (config('app.debug')) $start microtime(true);
  4.         $finish trigger('mount'$component$params$key$parent);
  5.         if (config('app.debug')) trigger('profile''mount'$component->getId(), [$startmicrotime(true)]);
  6.         if (config('app.debug')) $start microtime(true);
  7.         $html $this->render($component'<div></div>');
  8.         if (config('app.debug')) trigger('profile''render'$component->getId(), [$startmicrotime(true)]);
  1.         return app(ComponentRegistry::class)->resolveMissingComponent($resolver);
  2.     }
  3.     function mount($name$params = [], $key null)
  4.     {
  5.         return app(HandleComponents::class)->mount($name$params$key);
  6.     }
  7.     function snapshot($component)
  8.     {
  9.         return app(HandleComponents::class)->snapshot($component);
  1.         $params is_string($params) ? [] : $params;
  2.         try {
  3.             InitializeState::$currentMountParameters array_keys($params);
  4.             return parent::mount($name$params$key);
  5.         } finally {
  6.             InitializeState::$currentMountParameters = [];
  7.         }
  8.     }
LivewireManager->mount('volt-anonymous-fragment-eyJuYW1lIjoiYmxvZy5pbmRleCIsInBhdGgiOiJyZXNvdXJjZXNcL3ZpZXdzXC9wYWdlc1wvYmxvZ1wvaW5kZXguYmxhZGUucGhwIn0=', array(), 'HaIvKmN', array(), array('__path' => '/tmp/storage/framework/views/dc1d09858cf692e9d422a4ea383bf3e2.php', '__data' => array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag)), '__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'component' => object(AnonymousComponent), '__split' => object(Closure), '__name' => 'volt-anonymous-fragment-eyJuYW1lIjoiYmxvZy5pbmRleCIsInBhdGgiOiJyZXNvdXJjZXNcL3ZpZXdzXC9wYWdlc1wvYmxvZ1wvaW5kZXguYmxhZGUucGhwIn0=', '__params' => array())) in /tmp/storage/framework/views/dc1d09858cf692e9d422a4ea383bf3e2.php (line 43)
  1.     return [$name$params];
  2. };
  3. [$__name$__params] = $__split("volt-anonymous-fragment-eyJuYW1lIjoiYmxvZy5pbmRleCIsInBhdGgiOiJyZXNvdXJjZXNcL3ZpZXdzXC9wYWdlc1wvYmxvZ1wvaW5kZXguYmxhZGUucGhwIn0="Livewire\Volt\Precompilers\ExtractFragments::componentArguments([...get_defined_vars(), ...array (
  4. )]));
  5. $__html app('livewire')->mount($__name$__params'HaIvKmN'$__slots ?? [], get_defined_vars());
  6. echo $__html;
  7. unset($__html);
  8. unset($__name);
  1.             $__data $data;
  2.             return (static function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 return require $__path;
  5.             })();
  6.         }
  7.         throw new FileNotFoundException("File does not exist at path {$path}.");
  8.     }
  1.             return (static function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 return require $__path;
  4.             })();
  5.         }
  6.         throw new FileNotFoundException("File does not exist at path {$path}.");
  7.     }
  1.         // We'll evaluate the contents of the view inside a try/catch block so we can
  2.         // flush out any stray output that might get out before an error occurs or
  3.         // an exception is thrown. This prevents any partial views from leaking.
  4.         try {
  5.             $this->files->getRequire($path$data);
  6.         } catch (Throwable $e) {
  7.             $this->handleViewException($e$obLevel);
  8.         }
  9.         return ltrim(ob_get_clean());
  1.     }
  2.     protected function evaluatePath($__path$__data)
  3.     {
  4.         if (! ExtendBlade::isRenderingLivewireComponent()) {
  5.             return parent::evaluatePath($__path$__data);
  6.         }
  7.         $obLevel ob_get_level();
  8.         ob_start();
  1.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  1. use function Livewire\trigger;
  2. class ExtendedCompilerEngine extends \Illuminate\View\Engines\CompilerEngine {
  3.     public function get($path, array $data = [])
  4.     {
  5.         if (! ExtendBlade::isRenderingLivewireComponent()) return parent::get($path$data);
  6.         $currentComponent ExtendBlade::currentRendering();
  7.         trigger('view:compile'$currentComponent$path);
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each section gets flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.         // If this content implements the "Renderable" interface then we will call the
  2.         // render method on the object so we will avoid any "__toString" exceptions
  3.         // that might be thrown and have their errors obscured by PHP's handling.
  4.         elseif ($content instanceof Renderable) {
  5.             $content $content->render();
  6.         }
  7.         parent::setContent($content);
  8.         return $this;
  1.      */
  2.     public function __construct($content ''$status 200, array $headers = [])
  3.     {
  4.         $this->headers = new ResponseHeaderBag($headers);
  5.         $this->setContent($content);
  6.         $this->setStatusCode($status);
  7.         $this->setProtocolVersion('1.0');
  8.     }
  9.     /**
  1.                     $response instanceof JsonSerializable ||
  2.                     $response instanceof stdClass ||
  3.                     is_array($response))) {
  4.             $response = new JsonResponse($response);
  5.         } elseif (! $response instanceof SymfonyResponse) {
  6.             $response = new Response($response200, ['Content-Type' => 'text/html']);
  7.         }
  8.         if ($response->getStatusCode() === Response::HTTP_NOT_MODIFIED) {
  9.             $response->setNotModified();
  10.         }
  1.         if (! $instance) {
  2.             throw new RuntimeException('A facade root has not been set.');
  3.         }
  4.         return $instance->$method(...$args);
  5.     }
  6. }
  1.      */
  2.     protected function toResponse(Request $requestMatchedView $matchedView): Response
  3.     {
  4.         $view View::file($matchedView->path$matchedView->data);
  5.         return Route::toResponse($requestapp()->call(
  6.             $matchedView->renderUsing(),
  7.             ['view' => $view, ...$view->getData()]
  8.         ) ?? $view);
  9.     }
  10. }
  1.                     ($this->onViewMatch)($matchedView);
  2.                 }
  3.                 $response $this->renderUsing
  4.                     ? ($this->renderUsing)($request$matchedView)
  5.                     : $this->toResponse($request$matchedView);
  6.                 $app app();
  7.                 $app->make(FolioManager::class)->terminateUsing(function () use ($middleware$app$request$response) {
  8.                     $middleware->filter(fn ($m) => is_string($m) && class_exists($m) && method_exists($m'terminate'))
  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.             }
  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 collect($this->middleware($mountPath$matchedView));
  2.         return (new Pipeline(app()))
  3.             ->send($request)
  4.             ->through($middleware->all())
  5.             ->then(function (Request $request) use ($matchedView$middleware) {
  6.                 if ($this->onViewMatch) {
  7.                     ($this->onViewMatch)($matchedView);
  8.                 }
  9.                 $response $this->renderUsing
  1.             return (new RequestHandler(
  2.                 $mountPaths,
  3.                 $this->renderUsing,
  4.                 fn (MatchedView $matchedView) => $this->lastMatchedView $matchedView,
  5.             ))($request);
  6.         };
  7.     }
  8.     /**
  9.      * Get the middleware that should be applied to the Folio handled URI.
  1.      * @param  callable  $callable
  2.      * @return mixed
  3.      */
  4.     public function dispatch(Route $route$callable)
  5.     {
  6.         return $callable(...array_values($this->resolveParameters($route$callable)));
  7.     }
  8.     /**
  9.      * Resolve the parameters for the callable.
  10.      *
  1.         if ($this->isSerializedClosure()) {
  2.             $callable unserialize($this->action['uses'])->getClosure();
  3.         }
  4.         return $this->container[CallableDispatcher::class]->dispatch($this$callable);
  5.     }
  6.     /**
  7.      * Determine if the route action is a serialized Closure.
  8.      *
  1.         try {
  2.             if ($this->isControllerAction()) {
  3.                 return $this->runController();
  4.             }
  5.             return $this->runCallable();
  6.         } catch (HttpResponseException $e) {
  7.             return $e->getResponse();
  8.         }
  9.     }
  1.         return (new Pipeline($this->container))
  2.                         ->send($request)
  3.                         ->through($middleware)
  4.                         ->then(fn ($request) => $this->prepareResponse(
  5.                             $request$route->run()
  6.                         ));
  7.     }
  8.     /**
  9.      * Gather the middleware for the given route with resolved class names.
  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.     {
  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.
in /var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php -> Illuminate\Foundation\Http\{closure} (line 141)
  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.      * @param  string|null  ...$guards
  2.      * @return mixed
  3.      */
  4.     public function handle($requestClosure $next, ...$guards)
  5.     {
  6.         $response $next($request);
  7.         if (isset($_ENV['VAPOR_SSM_PATH']) && $response->getStatusCode() === 404) {
  8.             $requestUri $request->getRequestUri();
  9.             if (! in_array(ltrim($requestUri'/'), config('vapor.serve_assets', []))) {
  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.         }
  1.                 new EnsureOnNakedDomain,
  2.                 new RedirectStaticAssets,
  3.                 new EnsureVanityUrlIsNotIndexed,
  4.                 new EnsureBinaryEncoding(),
  5.             ])->then(function ($request) use ($kernel) {
  6.                 return $kernel->handle($request);
  7.             });
  8.         $kernel->terminate($request$response);
  9.         return $response;
in /var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php -> Laravel\Vapor\Runtime\{closure} (line 141)
  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  callable  $next
  2.      * @return mixed
  3.      */
  4.     public function handle($request$next)
  5.     {
  6.         $response $next($request);
  7.         if (static::isBase64EncodingRequired($response)) {
  8.             $response->headers->set('X-Vapor-Base64-Encode''True');
  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  callable  $next
  2.      * @return mixed
  3.      */
  4.     public function handle($request$next)
  5.     {
  6.         $response $next($request);
  7.         if ('https://'.$request->getHttpHost() === $_ENV['APP_VANITY_URL']) {
  8.             $response->headers->set('X-Robots-Tag''noindex, nofollow'true);
  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 new RedirectResponse($_ENV['ASSET_URL'].'/robots.txt'302, [
  2.                 'Cache-Control' => 'public, max-age=3600',
  3.             ]);
  4.         }
  5.         return $next($request);
  6.     }
  7. }
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.                     $request->fullUrl()
  2.                 ), 301);
  3.             }
  4.         }
  5.         return $next($request);
  6.     }
  7. }
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.     {
  2.         $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.             ->through([
  2.                 new EnsureOnNakedDomain,
  3.                 new RedirectStaticAssets,
  4.                 new EnsureVanityUrlIsNotIndexed,
  5.                 new EnsureBinaryEncoding(),
  6.             ])->then(function ($request) use ($kernel) {
  7.                 return $kernel->handle($request);
  8.             });
  9.         $kernel->terminate($request$response);
  1.                 }
  2.                 $this->app->terminate();
  3.             }
  4.         } else {
  5.             $response $this->sendRequest($request);
  6.         }
  7.         return $response;
  8.     }
HttpKernel->handle(object(Request)) in /var/task/httpHandler.php (line 55)
  1. |
  2. */
  3. $handler = new HttpKernel($app);
  4. $response $handler->handle(Request::capture());
  5. $response->send();

Illuminate\Database\ SQLiteDatabaseDoesNotExistException

Database file at path [database/database.sqlite] does not exist. Ensure this is an absolute path to the database.

  1.         // Here we'll verify that the SQLite database exists before going any further
  2.         // as the developer probably wants to know if the database exists and this
  3.         // SQLite driver will not throw any exception if it does not by default.
  4.         if ($path === false) {
  5.             throw new SQLiteDatabaseDoesNotExistException($config['database']);
  6.         }
  7.         return $this->createConnection("sqlite:{$path}"$config$options);
  8.     }
  9. }
  1.      * @param  array  $config
  2.      * @return \Closure
  3.      */
  4.     protected function createPdoResolverWithoutHosts(array $config)
  5.     {
  6.         return fn () => $this->createConnector($config)->connect($config);
  7.     }
  8.     /**
  9.      * Create a connector instance based on the configuration.
  10.      *
ConnectionFactory->Illuminate\Database\Connectors\{closure}()
  1.      * @return \PDO
  2.      */
  3.     public function getPdo()
  4.     {
  5.         if ($this->pdo instanceof Closure) {
  6.             return $this->pdo call_user_func($this->pdo);
  7.         }
  8.         return $this->pdo;
  9.     }
  1.         return $this->run($query$bindings, function ($query$bindings) {
  2.             if ($this->pretending()) {
  3.                 return true;
  4.             }
  5.             $statement $this->getPdo()->prepare($query);
  6.             $this->bindValues($statement$this->prepareBindings($bindings));
  7.             $this->recordsHaveBeenModified();
  1.     {
  2.         // To execute the statement, we'll simply call the callback, which will actually
  3.         // run the SQL against the PDO connection. Then we can calculate the time it
  4.         // took to execute and log the query SQL, bindings and time in our memory.
  5.         try {
  6.             return $callback($query$bindings);
  7.         }
  8.         // If an exception occurs when attempting to run a query, we'll format the error
  9.         // message to include the bindings with SQL, which will make this exception a
  10.         // lot more helpful to the developer instead of just the database's errors.
  1.         // Here we will run this query. If an exception occurs we'll determine if it was
  2.         // caused by a connection that has been lost. If that is the cause, we'll try
  3.         // to re-establish connection and re-run the query with a fresh connection.
  4.         try {
  5.             $result $this->runQueryCallback($query$bindings$callback);
  6.         } catch (QueryException $e) {
  7.             $result $this->handleQueryException(
  8.                 $e$query$bindings$callback
  9.             );
  10.         }
  1.      * @param  array  $bindings
  2.      * @return bool
  3.      */
  4.     public function statement($query$bindings = [])
  5.     {
  6.         return $this->run($query$bindings, function ($query$bindings) {
  7.             if ($this->pretending()) {
  8.                 return true;
  9.             }
  10.             $statement $this->getPdo()->prepare($query);
  1.      *
  2.      * @return bool
  3.      */
  4.     public function enableForeignKeyConstraints()
  5.     {
  6.         return $this->connection->statement(
  7.             $this->grammar->compileEnableForeignKeyConstraints()
  8.         );
  9.     }
  10.     /**
  1.         if ($enableForeignKeyConstraints === null) {
  2.             return;
  3.         }
  4.         $enableForeignKeyConstraints
  5.             $this->getSchemaBuilder()->enableForeignKeyConstraints()
  6.             : $this->getSchemaBuilder()->disableForeignKeyConstraints();
  7.     }
  8.     /**
  9.      * Escape a binary value for safe SQL embedding.
  1.         }
  2.         return match ($driver) {
  3.             'mysql' => new MySqlConnection($connection$database$prefix$config),
  4.             'pgsql' => new PostgresConnection($connection$database$prefix$config),
  5.             'sqlite' => new SQLiteConnection($connection$database$prefix$config),
  6.             'sqlsrv' => new SqlServerConnection($connection$database$prefix$config),
  7.             default => throw new InvalidArgumentException("Unsupported driver [{$driver}]."),
  8.         };
  9.     }
  10. }
  1.      */
  2.     protected function createSingleConnection(array $config)
  3.     {
  4.         $pdo $this->createPdoResolver($config);
  5.         return $this->createConnection(
  6.             $config['driver'], $pdo$config['database'], $config['prefix'], $config
  7.         );
  8.     }
  9.     /**
  1.         if (isset($config['read'])) {
  2.             return $this->createReadWriteConnection($config);
  3.         }
  4.         return $this->createSingleConnection($config);
  5.     }
  6.     /**
  7.      * Parse and prepare the database configuration.
  8.      *
  1.         // resolver for the drivers themselves which applies to all connections.
  2.         if (isset($this->extensions[$driver $config['driver']])) {
  3.             return call_user_func($this->extensions[$driver], $config$name);
  4.         }
  5.         return $this->factory->make($config$name);
  6.     }
  7.     /**
  8.      * Get the configuration for a connection.
  9.      *
  1.         // If we haven't created this connection, we'll create it based on the config
  2.         // provided in the application. Once we've created the connections we will
  3.         // set the "fetch mode" for PDO which determines the query return types.
  4.         if (! isset($this->connections[$name])) {
  5.             $this->connections[$name] = $this->configure(
  6.                 $this->makeConnection($database), $type
  7.             );
  8.             if ($this->app->bound('events')) {
  9.                 $this->app['events']->dispatch(
  10.                     new ConnectionEstablished($this->connections[$name])
  1.      * @param  string|null  $connection
  2.      * @return \Illuminate\Database\Connection
  3.      */
  4.     public static function resolveConnection($connection null)
  5.     {
  6.         return static::$resolver->connection($connection);
  7.     }
  8.     /**
  9.      * Get the connection resolver instance.
  10.      *
  1.      *
  2.      * @return \Illuminate\Database\Connection
  3.      */
  4.     public function getConnection()
  5.     {
  6.         return static::resolveConnection($this->getConnectionName());
  7.     }
  8.     /**
  9.      * Get the current connection name for the model.
  10.      *
  1.      *
  2.      * @return \Illuminate\Database\Query\Builder
  3.      */
  4.     protected function newBaseQueryBuilder()
  5.     {
  6.         return $this->getConnection()->query();
  7.     }
  8.     /**
  9.      * Create a new Eloquent Collection instance.
  10.      *
  1.      * @return \Illuminate\Database\Eloquent\Builder|static
  2.      */
  3.     public function newModelQuery()
  4.     {
  5.         return $this->newEloquentBuilder(
  6.             $this->newBaseQueryBuilder()
  7.         )->setModel($this);
  8.     }
  9.     /**
  10.      * Get a new query builder with no relationships loaded.
  1.      *
  2.      * @return \Illuminate\Database\Eloquent\Builder|static
  3.      */
  4.     public function newQueryWithoutScopes()
  5.     {
  6.         return $this->newModelQuery()
  7.             ->with($this->with)
  8.             ->withCount($this->withCount);
  9.     }
  10.     /**
  1.      *
  2.      * @return \Illuminate\Database\Eloquent\Builder
  3.      */
  4.     public function newQuery()
  5.     {
  6.         return $this->registerGlobalScopes($this->newQueryWithoutScopes());
  7.     }
  8.     /**
  9.      * Get a new query builder that doesn't have any global scopes or eager loading.
  10.      *
  1.         if (Str::startsWith($method'through') &&
  2.             method_exists($this$relationMethod Str::of($method)->after('through')->lcfirst()->toString())) {
  3.             return $this->through($relationMethod);
  4.         }
  5.         return $this->forwardCallTo($this->newQuery(), $method$parameters);
  6.     }
  7.     /**
  8.      * Handle dynamic static method calls into the model.
  9.      *
  1.      * @param  array  $parameters
  2.      * @return mixed
  3.      */
  4.     public static function __callStatic($method$parameters)
  5.     {
  6.         return (new static)->$method(...$parameters);
  7.     }
  8.     /**
  9.      * Convert the model to its string representation.
  10.      *
Model::__callStatic('count', array()) in /var/task/resources/views/pages/blog/index.blade.php (line 19)
  1.     'sortOrder' => 'desc'
  2. ]);
  3. mount(function (){
  4.     $this->results $this->numResults;
  5.     $this->total Post::count();
  6. });
  7. $loadMore = function(){
  8.     $this->results += $this->numResults;
  9.     if ($this->results >= $this->total) {
  1.         if (static::isCallableWithAtSign($callback) || $defaultMethod) {
  2.             return static::callClass($container$callback$parameters$defaultMethod);
  3.         }
  4.         return static::callBoundMethod($container$callback, function () use ($container$callback$parameters) {
  5.             return $callback(...array_values(static::getMethodDependencies($container$callback$parameters)));
  6.         });
  7.     }
  8.     /**
  9.      * Call a string reference to a class using Class@method syntax.
in /var/task/vendor/laravel/framework/src/Illuminate/Container/Util.php :: Illuminate\Container\{closure} (line 41)
  1.      * @param  mixed  ...$args
  2.      * @return mixed
  3.      */
  4.     public static function unwrapIfClosure($value, ...$args)
  5.     {
  6.         return $value instanceof Closure $value(...$args) : $value;
  7.     }
  8.     /**
  9.      * Get the class name of the given parameter's type, if possible.
  10.      *
  1.      * @return mixed
  2.      */
  3.     protected static function callBoundMethod($container$callback$default)
  4.     {
  5.         if (! is_array($callback)) {
  6.             return Util::unwrapIfClosure($default);
  7.         }
  8.         // Here we need to turn the array callable into a Class@method string we can use to
  9.         // examine the container and see if there are any method bindings for this given
  10.         // method. If there are, we can call this method binding callback immediately.
  1.         if (static::isCallableWithAtSign($callback) || $defaultMethod) {
  2.             return static::callClass($container$callback$parameters$defaultMethod);
  3.         }
  4.         return static::callBoundMethod($container$callback, function () use ($container$callback$parameters) {
  5.             return $callback(...array_values(static::getMethodDependencies($container$callback$parameters)));
  6.         });
  7.     }
  8.     /**
  1.             $this->buildStack[] = $className;
  2.             $pushedToBuildStack true;
  3.         }
  4.         $result BoundMethod::call($this$callback$parameters$defaultMethod);
  5.         if ($pushedToBuildStack) {
  6.             array_pop($this->buildStack);
  7.         }
  1.     public function execute(CompileContext $contextComponent $component, array $arguments): mixed
  2.     {
  3.         $hook $context->{$this->hookName};
  4.         if ($this->hookName === 'mount') {
  5.             return Container::getInstance()->call(
  6.                 Closure::bind($hook$component$component::class), $arguments
  7.             );
  8.         }
  9.         return call_user_func_array(Closure::bind($hook$component$component::class), $arguments);
CallHook->execute(object(CompileContext), object(Component@anonymous), array()) in /tmp/storage/framework/views/c1a0e46e436616c9c83e9345d3b4e6db.php (line 32)
  1.     public function mount()
  2.     {
  3.         (new Actions\InitializeState)->execute(static::$__context$thisget_defined_vars());
  4.         (new Actions\CallHook('mount'))->execute(static::$__context$thisget_defined_vars());
  5.     }
  6.     public function loadMore()
  7.     {
  8.         $arguments = [static::$__context$thisfunc_get_args()];
  1.         if (static::isCallableWithAtSign($callback) || $defaultMethod) {
  2.             return static::callClass($container$callback$parameters$defaultMethod);
  3.         }
  4.         return static::callBoundMethod($container$callback, function () use ($container$callback$parameters) {
  5.             return $callback(...array_values(static::getMethodDependencies($container$callback$parameters)));
  6.         });
  7.     }
  8.     /**
  9.      * Call a string reference to a class using Class@method syntax.
in /var/task/vendor/laravel/framework/src/Illuminate/Container/Util.php :: Illuminate\Container\{closure} (line 41)
  1.      * @param  mixed  ...$args
  2.      * @return mixed
  3.      */
  4.     public static function unwrapIfClosure($value, ...$args)
  5.     {
  6.         return $value instanceof Closure $value(...$args) : $value;
  7.     }
  8.     /**
  9.      * Get the class name of the given parameter's type, if possible.
  10.      *
  1.         if ($container->hasMethodBinding($method)) {
  2.             return $container->callMethodBinding($method$callback[0]);
  3.         }
  4.         return Util::unwrapIfClosure($default);
  5.     }
  6.     /**
  7.      * Normalize the given callback into a Class@method string.
  8.      *
  1.         if (static::isCallableWithAtSign($callback) || $defaultMethod) {
  2.             return static::callClass($container$callback$parameters$defaultMethod);
  3.         }
  4.         return static::callBoundMethod($container$callback, function () use ($container$callback$parameters) {
  5.             return $callback(...array_values(static::getMethodDependencies($container$callback$parameters)));
  6.         });
  7.     }
  8.     /**
  1.     function __call($method$params)
  2.     {
  3.         if (! method_exists($this->target$method)) return value($this->fallback);
  4.         try {
  5.             return ImplicitlyBoundMethod::call(app(), [$this->target$method], $params);
  6.         } catch (\Throwable $e) {
  7.             $shouldPropagate true;
  8.             $stopPropagation = function () use (&$shouldPropagate) {
  9.                 $shouldPropagate false;
  1.     }
  2.     public function callHook($name$params = [])
  3.     {
  4.         if (method_exists($this->component$name)) {
  5.             wrap($this->component)->__call($name$params);
  6.         }
  7.     }
  8.     function callTraitHook($name$params = [])
  9.     {
  1.         $this->callHook('boot');
  2.         $this->callTraitHook('boot');
  3.         $this->callTraitHook('initialize');
  4.         $this->callHook('mount'$params);
  5.         $this->callTraitHook('mount'$params);
  6.         $this->callHook('booted');
  7.         $this->callTraitHook('booted');
  8.     }
  1.     function callBoot(...$params) {
  2.         if (method_exists($this'boot')) $this->boot(...$params);
  3.     }
  4.     function callMount(...$params) {
  5.         if (method_exists($this'mount')) $this->mount(...$params);
  6.     }
  7.     function callHydrate(...$params) {
  8.         if (method_exists($this'hydrate')) $this->hydrate(...$params);
  9.     }
  1.         foreach (static::$componentHooks as $hook) {
  2.             on('mount', function ($component$params$key$parent) use ($hook) {
  3.                 $hook = static::initializeHook($hook$component);
  4.                 $hook->callBoot();
  5.                 $hook->callMount($params$parent);
  6.             });
  7.             on('hydrate', function ($component$memo) use ($hook) {
  8.                 $hook = static::initializeHook($hook$component);
  9.                 $hook->callBoot();
  1.             ($this->listeners[$name] ?? []),
  2.             ($this->listenersAfter[$name] ?? []),
  3.         );
  4.         foreach ($listeners as $callback) {
  5.             $result $callback(...$params);
  6.             if ($result) {
  7.                 $middlewares[] = $result;
  8.             }
  9.         }
  1. function pipe($subject) {
  2.     return new Pipe($subject);
  3. }
  4. function trigger($name, ...$params) {
  5.     return app(\Livewire\EventBus::class)->trigger($name, ...$params);
  6. }
  7. function on($name$callback) {
  8.     return app(\Livewire\EventBus::class)->on($name$callback);
  9. }
  1.         $this->pushOntoComponentStack($component);
  2.         $context = new ComponentContext($componentmountingtrue);
  3.         if (config('app.debug')) $start microtime(true);
  4.         $finish trigger('mount'$component$params$key$parent);
  5.         if (config('app.debug')) trigger('profile''mount'$component->getId(), [$startmicrotime(true)]);
  6.         if (config('app.debug')) $start microtime(true);
  7.         $html $this->render($component'<div></div>');
  8.         if (config('app.debug')) trigger('profile''render'$component->getId(), [$startmicrotime(true)]);
  1.         return app(ComponentRegistry::class)->resolveMissingComponent($resolver);
  2.     }
  3.     function mount($name$params = [], $key null)
  4.     {
  5.         return app(HandleComponents::class)->mount($name$params$key);
  6.     }
  7.     function snapshot($component)
  8.     {
  9.         return app(HandleComponents::class)->snapshot($component);
  1.         $params is_string($params) ? [] : $params;
  2.         try {
  3.             InitializeState::$currentMountParameters array_keys($params);
  4.             return parent::mount($name$params$key);
  5.         } finally {
  6.             InitializeState::$currentMountParameters = [];
  7.         }
  8.     }
LivewireManager->mount('volt-anonymous-fragment-eyJuYW1lIjoiYmxvZy5pbmRleCIsInBhdGgiOiJyZXNvdXJjZXNcL3ZpZXdzXC9wYWdlc1wvYmxvZ1wvaW5kZXguYmxhZGUucGhwIn0=', array(), 'HaIvKmN', array(), array('__path' => '/tmp/storage/framework/views/dc1d09858cf692e9d422a4ea383bf3e2.php', '__data' => array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag)), '__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'component' => object(AnonymousComponent), '__split' => object(Closure), '__name' => 'volt-anonymous-fragment-eyJuYW1lIjoiYmxvZy5pbmRleCIsInBhdGgiOiJyZXNvdXJjZXNcL3ZpZXdzXC9wYWdlc1wvYmxvZ1wvaW5kZXguYmxhZGUucGhwIn0=', '__params' => array())) in /tmp/storage/framework/views/dc1d09858cf692e9d422a4ea383bf3e2.php (line 43)
  1.     return [$name$params];
  2. };
  3. [$__name$__params] = $__split("volt-anonymous-fragment-eyJuYW1lIjoiYmxvZy5pbmRleCIsInBhdGgiOiJyZXNvdXJjZXNcL3ZpZXdzXC9wYWdlc1wvYmxvZ1wvaW5kZXguYmxhZGUucGhwIn0="Livewire\Volt\Precompilers\ExtractFragments::componentArguments([...get_defined_vars(), ...array (
  4. )]));
  5. $__html app('livewire')->mount($__name$__params'HaIvKmN'$__slots ?? [], get_defined_vars());
  6. echo $__html;
  7. unset($__html);
  8. unset($__name);
  1.             $__data $data;
  2.             return (static function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 return require $__path;
  5.             })();
  6.         }
  7.         throw new FileNotFoundException("File does not exist at path {$path}.");
  8.     }
  1.             return (static function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 return require $__path;
  4.             })();
  5.         }
  6.         throw new FileNotFoundException("File does not exist at path {$path}.");
  7.     }
  1.         // We'll evaluate the contents of the view inside a try/catch block so we can
  2.         // flush out any stray output that might get out before an error occurs or
  3.         // an exception is thrown. This prevents any partial views from leaking.
  4.         try {
  5.             $this->files->getRequire($path$data);
  6.         } catch (Throwable $e) {
  7.             $this->handleViewException($e$obLevel);
  8.         }
  9.         return ltrim(ob_get_clean());
  1.     }
  2.     protected function evaluatePath($__path$__data)
  3.     {
  4.         if (! ExtendBlade::isRenderingLivewireComponent()) {
  5.             return parent::evaluatePath($__path$__data);
  6.         }
  7.         $obLevel ob_get_level();
  8.         ob_start();
  1.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  1. use function Livewire\trigger;
  2. class ExtendedCompilerEngine extends \Illuminate\View\Engines\CompilerEngine {
  3.     public function get($path, array $data = [])
  4.     {
  5.         if (! ExtendBlade::isRenderingLivewireComponent()) return parent::get($path$data);
  6.         $currentComponent ExtendBlade::currentRendering();
  7.         trigger('view:compile'$currentComponent$path);
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each section gets flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.         // If this content implements the "Renderable" interface then we will call the
  2.         // render method on the object so we will avoid any "__toString" exceptions
  3.         // that might be thrown and have their errors obscured by PHP's handling.
  4.         elseif ($content instanceof Renderable) {
  5.             $content $content->render();
  6.         }
  7.         parent::setContent($content);
  8.         return $this;
  1.      */
  2.     public function __construct($content ''$status 200, array $headers = [])
  3.     {
  4.         $this->headers = new ResponseHeaderBag($headers);
  5.         $this->setContent($content);
  6.         $this->setStatusCode($status);
  7.         $this->setProtocolVersion('1.0');
  8.     }
  9.     /**
  1.                     $response instanceof JsonSerializable ||
  2.                     $response instanceof stdClass ||
  3.                     is_array($response))) {
  4.             $response = new JsonResponse($response);
  5.         } elseif (! $response instanceof SymfonyResponse) {
  6.             $response = new Response($response200, ['Content-Type' => 'text/html']);
  7.         }
  8.         if ($response->getStatusCode() === Response::HTTP_NOT_MODIFIED) {
  9.             $response->setNotModified();
  10.         }
  1.         if (! $instance) {
  2.             throw new RuntimeException('A facade root has not been set.');
  3.         }
  4.         return $instance->$method(...$args);
  5.     }
  6. }
  1.      */
  2.     protected function toResponse(Request $requestMatchedView $matchedView): Response
  3.     {
  4.         $view View::file($matchedView->path$matchedView->data);
  5.         return Route::toResponse($requestapp()->call(
  6.             $matchedView->renderUsing(),
  7.             ['view' => $view, ...$view->getData()]
  8.         ) ?? $view);
  9.     }
  10. }
  1.                     ($this->onViewMatch)($matchedView);
  2.                 }
  3.                 $response $this->renderUsing
  4.                     ? ($this->renderUsing)($request$matchedView)
  5.                     : $this->toResponse($request$matchedView);
  6.                 $app app();
  7.                 $app->make(FolioManager::class)->terminateUsing(function () use ($middleware$app$request$response) {
  8.                     $middleware->filter(fn ($m) => is_string($m) && class_exists($m) && method_exists($m'terminate'))
  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.             }
  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 collect($this->middleware($mountPath$matchedView));
  2.         return (new Pipeline(app()))
  3.             ->send($request)
  4.             ->through($middleware->all())
  5.             ->then(function (Request $request) use ($matchedView$middleware) {
  6.                 if ($this->onViewMatch) {
  7.                     ($this->onViewMatch)($matchedView);
  8.                 }
  9.                 $response $this->renderUsing
  1.             return (new RequestHandler(
  2.                 $mountPaths,
  3.                 $this->renderUsing,
  4.                 fn (MatchedView $matchedView) => $this->lastMatchedView $matchedView,
  5.             ))($request);
  6.         };
  7.     }
  8.     /**
  9.      * Get the middleware that should be applied to the Folio handled URI.
  1.      * @param  callable  $callable
  2.      * @return mixed
  3.      */
  4.     public function dispatch(Route $route$callable)
  5.     {
  6.         return $callable(...array_values($this->resolveParameters($route$callable)));
  7.     }
  8.     /**
  9.      * Resolve the parameters for the callable.
  10.      *
  1.         if ($this->isSerializedClosure()) {
  2.             $callable unserialize($this->action['uses'])->getClosure();
  3.         }
  4.         return $this->container[CallableDispatcher::class]->dispatch($this$callable);
  5.     }
  6.     /**
  7.      * Determine if the route action is a serialized Closure.
  8.      *
  1.         try {
  2.             if ($this->isControllerAction()) {
  3.                 return $this->runController();
  4.             }
  5.             return $this->runCallable();
  6.         } catch (HttpResponseException $e) {
  7.             return $e->getResponse();
  8.         }
  9.     }
  1.         return (new Pipeline($this->container))
  2.                         ->send($request)
  3.                         ->through($middleware)
  4.                         ->then(fn ($request) => $this->prepareResponse(
  5.                             $request$route->run()
  6.                         ));
  7.     }
  8.     /**
  9.      * Gather the middleware for the given route with resolved class names.
  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.     {
  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.
in /var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php -> Illuminate\Foundation\Http\{closure} (line 141)
  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.      * @param  string|null  ...$guards
  2.      * @return mixed
  3.      */
  4.     public function handle($requestClosure $next, ...$guards)
  5.     {
  6.         $response $next($request);
  7.         if (isset($_ENV['VAPOR_SSM_PATH']) && $response->getStatusCode() === 404) {
  8.             $requestUri $request->getRequestUri();
  9.             if (! in_array(ltrim($requestUri'/'), config('vapor.serve_assets', []))) {
  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.         }
  1.                 new EnsureOnNakedDomain,
  2.                 new RedirectStaticAssets,
  3.                 new EnsureVanityUrlIsNotIndexed,
  4.                 new EnsureBinaryEncoding(),
  5.             ])->then(function ($request) use ($kernel) {
  6.                 return $kernel->handle($request);
  7.             });
  8.         $kernel->terminate($request$response);
  9.         return $response;
in /var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php -> Laravel\Vapor\Runtime\{closure} (line 141)
  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  callable  $next
  2.      * @return mixed
  3.      */
  4.     public function handle($request$next)
  5.     {
  6.         $response $next($request);
  7.         if (static::isBase64EncodingRequired($response)) {
  8.             $response->headers->set('X-Vapor-Base64-Encode''True');
  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  callable  $next
  2.      * @return mixed
  3.      */
  4.     public function handle($request$next)
  5.     {
  6.         $response $next($request);
  7.         if ('https://'.$request->getHttpHost() === $_ENV['APP_VANITY_URL']) {
  8.             $response->headers->set('X-Robots-Tag''noindex, nofollow'true);
  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 new RedirectResponse($_ENV['ASSET_URL'].'/robots.txt'302, [
  2.                 'Cache-Control' => 'public, max-age=3600',
  3.             ]);
  4.         }
  5.         return $next($request);
  6.     }
  7. }
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.                     $request->fullUrl()
  2.                 ), 301);
  3.             }
  4.         }
  5.         return $next($request);
  6.     }
  7. }
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.     {
  2.         $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.             ->through([
  2.                 new EnsureOnNakedDomain,
  3.                 new RedirectStaticAssets,
  4.                 new EnsureVanityUrlIsNotIndexed,
  5.                 new EnsureBinaryEncoding(),
  6.             ])->then(function ($request) use ($kernel) {
  7.                 return $kernel->handle($request);
  8.             });
  9.         $kernel->terminate($request$response);
  1.                 }
  2.                 $this->app->terminate();
  3.             }
  4.         } else {
  5.             $response $this->sendRequest($request);
  6.         }
  7.         return $response;
  8.     }
HttpKernel->handle(object(Request)) in /var/task/httpHandler.php (line 55)
  1. |
  2. */
  3. $handler = new HttpKernel($app);
  4. $response $handler->handle(Request::capture());
  5. $response->send();

Stack Traces 3

[3/3] ViewException
Illuminate\View\ViewException:
Database file at path [database/database.sqlite] does not exist. Ensure this is an absolute path to the database. (Connection: sqlite, SQL: PRAGMA foreign_keys = ON;) (View: /var/task/resources/views/pages/blog/index.blade.php)

  at /var/task/vendor/laravel/framework/src/Illuminate/Database/Connection.php:801
  at Illuminate\View\Engines\CompilerEngine->handleViewException(object(QueryException), 0)
     (/var/task/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:60)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->handleViewException(object(QueryException), 0)
     (/var/task/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:60)
  at Illuminate\View\Engines\PhpEngine->evaluatePath('/tmp/storage/framework/views/dc1d09858cf692e9d422a4ea383bf3e2.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag)))
     (/var/task/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->evaluatePath('/tmp/storage/framework/views/dc1d09858cf692e9d422a4ea383bf3e2.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag)))
     (/var/task/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72)
  at Illuminate\View\Engines\CompilerEngine->get('/var/task/resources/views/pages/blog/index.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag)))
     (/var/task/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:10)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->get('/var/task/resources/views/pages/blog/index.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag)))
     (/var/task/vendor/laravel/framework/src/Illuminate/View/View.php:195)
  at Illuminate\View\View->getContents()
     (/var/task/vendor/laravel/framework/src/Illuminate/View/View.php:178)
  at Illuminate\View\View->renderContents()
     (/var/task/vendor/laravel/framework/src/Illuminate/View/View.php:147)
  at Illuminate\View\View->render()
     (/var/task/vendor/laravel/framework/src/Illuminate/Http/Response.php:69)
  at Illuminate\Http\Response->setContent(object(View))
     (/var/task/vendor/laravel/framework/src/Illuminate/Http/Response.php:35)
  at Illuminate\Http\Response->__construct(object(View), 200, array('Content-Type' => 'text/html'))
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Router.php:911)
  at Illuminate\Routing\Router::toResponse(object(Request), object(View))
     (/var/task/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:353)
  at Illuminate\Support\Facades\Facade::__callStatic('toResponse', array(object(Request), object(View)))
     (/var/task/vendor/laravel/folio/src/RequestHandler.php:103)
  at Laravel\Folio\RequestHandler->toResponse(object(Request), object(MatchedView))
     (/var/task/vendor/laravel/folio/src/RequestHandler.php:63)
  at Laravel\Folio\RequestHandler->Laravel\Folio\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:50)
  at Illuminate\Routing\Middleware\SubstituteBindings->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78)
  at Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49)
  at Illuminate\View\Middleware\ShareErrorsFromSession->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121)
  at Illuminate\Session\Middleware\StartSession->handleStatefulRequest(object(Request), object(Store), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64)
  at Illuminate\Session\Middleware\StartSession->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37)
  at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67)
  at Illuminate\Cookie\Middleware\EncryptCookies->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
  at Illuminate\Pipeline\Pipeline->then(object(Closure))
     (/var/task/vendor/laravel/folio/src/RequestHandler.php:56)
  at Laravel\Folio\RequestHandler->__invoke(object(Request))
     (/var/task/vendor/laravel/folio/src/FolioManager.php:93)
  at Laravel\Folio\FolioManager->Laravel\Folio\{closure}(object(Request), 'blog')
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/CallableDispatcher.php:40)
  at Illuminate\Routing\CallableDispatcher->dispatch(object(Route), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Route.php:237)
  at Illuminate\Routing\Route->runCallable()
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Route.php:208)
  at Illuminate\Routing\Route->run()
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Router.php:799)
  at Illuminate\Routing\Router->Illuminate\Routing\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
  at Illuminate\Pipeline\Pipeline->then(object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Router.php:798)
  at Illuminate\Routing\Router->runRouteWithinStack(object(Route), object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Router.php:777)
  at Illuminate\Routing\Router->runRoute(object(Request), object(Route))
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Router.php:741)
  at Illuminate\Routing\Router->dispatchToRoute(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Router.php:730)
  at Illuminate\Routing\Router->dispatch(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:200)
  at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php:19)
  at Livewire\Features\SupportDisablingBackButtonCache\DisableBackButtonCacheMiddleware->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/vapor-core/src/Http/Middleware/ServeStaticAssets.php:21)
  at Laravel\Vapor\Http\Middleware\ServeStaticAssets->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
  at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27)
  at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:89)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49)
  at Illuminate\Http\Middleware\HandleCors->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39)
  at Illuminate\Http\Middleware\TrustProxies->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
  at Illuminate\Pipeline\Pipeline->then(object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:175)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144)
  at Illuminate\Foundation\Http\Kernel->handle(object(Request))
     (/var/task/vendor/laravel/vapor-core/src/Runtime/HttpKernel.php:173)
  at Laravel\Vapor\Runtime\HttpKernel->Laravel\Vapor\Runtime\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/vapor-core/src/Runtime/Http/Middleware/EnsureBinaryEncoding.php:19)
  at Laravel\Vapor\Runtime\Http\Middleware\EnsureBinaryEncoding->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/vapor-core/src/Runtime/Http/Middleware/EnsureVanityUrlIsNotIndexed.php:16)
  at Laravel\Vapor\Runtime\Http\Middleware\EnsureVanityUrlIsNotIndexed->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/vapor-core/src/Runtime/Http/Middleware/RedirectStaticAssets.php:30)
  at Laravel\Vapor\Runtime\Http\Middleware\RedirectStaticAssets->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/vapor-core/src/Runtime/Http/Middleware/EnsureOnNakedDomain.php:46)
  at Laravel\Vapor\Runtime\Http\Middleware\EnsureOnNakedDomain->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
  at Illuminate\Pipeline\Pipeline->then(object(Closure))
     (/var/task/vendor/laravel/vapor-core/src/Runtime/HttpKernel.php:172)
  at Laravel\Vapor\Runtime\HttpKernel->sendRequest(object(Request))
     (/var/task/vendor/laravel/vapor-core/src/Runtime/HttpKernel.php:80)
  at Laravel\Vapor\Runtime\HttpKernel->handle(object(Request))
     (/var/task/httpHandler.php:55)                
[2/3] QueryException
Illuminate\Database\QueryException:
Database file at path [database/database.sqlite] does not exist. Ensure this is an absolute path to the database. (Connection: sqlite, SQL: PRAGMA foreign_keys = ON;)

  at /var/task/vendor/laravel/framework/src/Illuminate/Database/Connection.php:801
  at Illuminate\Database\Connection->runQueryCallback('PRAGMA foreign_keys = ON;', array(), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/Connection.php:755)
  at Illuminate\Database\Connection->run('PRAGMA foreign_keys = ON;', array(), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/Connection.php:569)
  at Illuminate\Database\Connection->statement('PRAGMA foreign_keys = ON;')
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php:397)
  at Illuminate\Database\Schema\Builder->enableForeignKeyConstraints()
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/SQLiteConnection.php:36)
  at Illuminate\Database\SQLiteConnection->__construct(object(Closure), 'database/database.sqlite', '', array('driver' => 'sqlite', 'database' => 'database/database.sqlite', 'prefix' => '', 'foreign_key_constraints' => true, 'name' => 'sqlite'))
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:272)
  at Illuminate\Database\Connectors\ConnectionFactory->createConnection('sqlite', object(Closure), 'database/database.sqlite', '', array('driver' => 'sqlite', 'database' => 'database/database.sqlite', 'prefix' => '', 'foreign_key_constraints' => true, 'name' => 'sqlite'))
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:75)
  at Illuminate\Database\Connectors\ConnectionFactory->createSingleConnection(array('driver' => 'sqlite', 'database' => 'database/database.sqlite', 'prefix' => '', 'foreign_key_constraints' => true, 'name' => 'sqlite'))
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:50)
  at Illuminate\Database\Connectors\ConnectionFactory->make(array('driver' => 'sqlite', 'database' => 'database/database.sqlite', 'prefix' => '', 'foreign_key_constraints' => true, 'name' => 'sqlite'), 'sqlite')
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php:152)
  at Illuminate\Database\DatabaseManager->makeConnection('sqlite')
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php:101)
  at Illuminate\Database\DatabaseManager->connection('sqlite')
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1818)
  at Illuminate\Database\Eloquent\Model::resolveConnection(null)
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1784)
  at Illuminate\Database\Eloquent\Model->getConnection()
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1576)
  at Illuminate\Database\Eloquent\Model->newBaseQueryBuilder()
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1495)
  at Illuminate\Database\Eloquent\Model->newModelQuery()
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1531)
  at Illuminate\Database\Eloquent\Model->newQueryWithoutScopes()
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1484)
  at Illuminate\Database\Eloquent\Model->newQuery()
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:2333)
  at Illuminate\Database\Eloquent\Model->__call('count', array())
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:2345)
  at Illuminate\Database\Eloquent\Model::__callStatic('count', array())
     (/var/task/resources/views/pages/blog/index.blade.php:19)
  at Livewire\Volt\Component@anonymous/tmp/storage/framework/views/c1a0e46e436616c9c83e9345d3b4e6db.php:8$1e4->{closure}()
     (/var/task/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:36)
  at Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
     (/var/task/vendor/laravel/framework/src/Illuminate/Container/Util.php:41)
  at Illuminate\Container\Util::unwrapIfClosure(object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:81)
  at Illuminate\Container\BoundMethod::callBoundMethod(object(Application), object(Closure), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:35)
  at Illuminate\Container\BoundMethod::call(object(Application), object(Closure), array(), null)
     (/var/task/vendor/laravel/framework/src/Illuminate/Container/Container.php:662)
  at Illuminate\Container\Container->call(object(Closure), array())
     (/var/task/vendor/livewire/volt/src/Actions/CallHook.php:28)
  at Livewire\Volt\Actions\CallHook->execute(object(CompileContext), object(Component@anonymous), array())
     (/tmp/storage/framework/views/c1a0e46e436616c9c83e9345d3b4e6db.php:32)
  at Livewire\Volt\Component@anonymous/tmp/storage/framework/views/c1a0e46e436616c9c83e9345d3b4e6db.php:8$1e4->mount()
     (/var/task/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:36)
  at Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
     (/var/task/vendor/laravel/framework/src/Illuminate/Container/Util.php:41)
  at Illuminate\Container\Util::unwrapIfClosure(object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:93)
  at Illuminate\Container\BoundMethod::callBoundMethod(object(Application), array(object(Component@anonymous), 'mount'), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:35)
  at Illuminate\Container\BoundMethod::call(object(Application), array(object(Component@anonymous), 'mount'), array())
     (/var/task/vendor/livewire/livewire/src/Wrapped.php:23)
  at Livewire\Wrapped->__call('mount', array())
     (/var/task/vendor/livewire/livewire/src/Features/SupportLifecycleHooks/SupportLifecycleHooks.php:125)
  at Livewire\Features\SupportLifecycleHooks\SupportLifecycleHooks->callHook('mount', array())
     (/var/task/vendor/livewire/livewire/src/Features/SupportLifecycleHooks/SupportLifecycleHooks.php:20)
  at Livewire\Features\SupportLifecycleHooks\SupportLifecycleHooks->mount(array(), false)
     (/var/task/vendor/livewire/livewire/src/ComponentHook.php:19)
  at Livewire\ComponentHook->callMount(array(), false)
     (/var/task/vendor/livewire/livewire/src/ComponentHookRegistry.php:42)
  at Livewire\ComponentHookRegistry::Livewire\{closure}(object(Component@anonymous), array(), 'HaIvKmN', false)
     (/var/task/vendor/livewire/livewire/src/EventBus.php:60)
  at Livewire\EventBus->trigger('mount', object(Component@anonymous), array(), 'HaIvKmN', false)
     (/var/task/vendor/livewire/livewire/src/helpers.php:100)
  at Livewire\trigger('mount', object(Component@anonymous), array(), 'HaIvKmN', false)
     (/var/task/vendor/livewire/livewire/src/Mechanisms/HandleComponents/HandleComponents.php:57)
  at Livewire\Mechanisms\HandleComponents\HandleComponents->mount('volt-anonymous-fragment-eyJuYW1lIjoiYmxvZy5pbmRleCIsInBhdGgiOiJyZXNvdXJjZXNcL3ZpZXdzXC9wYWdlc1wvYmxvZ1wvaW5kZXguYmxhZGUucGhwIn0=', array(), 'HaIvKmN')
     (/var/task/vendor/livewire/livewire/src/LivewireManager.php:72)
  at Livewire\LivewireManager->mount('volt-anonymous-fragment-eyJuYW1lIjoiYmxvZy5pbmRleCIsInBhdGgiOiJyZXNvdXJjZXNcL3ZpZXdzXC9wYWdlc1wvYmxvZ1wvaW5kZXguYmxhZGUucGhwIn0=', array(), 'HaIvKmN')
     (/var/task/vendor/livewire/volt/src/LivewireManager.php:22)
  at Livewire\Volt\LivewireManager->mount('volt-anonymous-fragment-eyJuYW1lIjoiYmxvZy5pbmRleCIsInBhdGgiOiJyZXNvdXJjZXNcL3ZpZXdzXC9wYWdlc1wvYmxvZ1wvaW5kZXguYmxhZGUucGhwIn0=', array(), 'HaIvKmN', array(), array('__path' => '/tmp/storage/framework/views/dc1d09858cf692e9d422a4ea383bf3e2.php', '__data' => array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag)), '__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'component' => object(AnonymousComponent), '__split' => object(Closure), '__name' => 'volt-anonymous-fragment-eyJuYW1lIjoiYmxvZy5pbmRleCIsInBhdGgiOiJyZXNvdXJjZXNcL3ZpZXdzXC9wYWdlc1wvYmxvZ1wvaW5kZXguYmxhZGUucGhwIn0=', '__params' => array()))
     (/tmp/storage/framework/views/dc1d09858cf692e9d422a4ea383bf3e2.php:43)
  at require('/tmp/storage/framework/views/dc1d09858cf692e9d422a4ea383bf3e2.php')
     (/var/task/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/var/task/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:125)
  at Illuminate\Filesystem\Filesystem->getRequire('/tmp/storage/framework/views/dc1d09858cf692e9d422a4ea383bf3e2.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag)))
     (/var/task/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath('/tmp/storage/framework/views/dc1d09858cf692e9d422a4ea383bf3e2.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag)))
     (/var/task/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->evaluatePath('/tmp/storage/framework/views/dc1d09858cf692e9d422a4ea383bf3e2.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag)))
     (/var/task/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72)
  at Illuminate\View\Engines\CompilerEngine->get('/var/task/resources/views/pages/blog/index.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag)))
     (/var/task/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:10)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->get('/var/task/resources/views/pages/blog/index.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag)))
     (/var/task/vendor/laravel/framework/src/Illuminate/View/View.php:195)
  at Illuminate\View\View->getContents()
     (/var/task/vendor/laravel/framework/src/Illuminate/View/View.php:178)
  at Illuminate\View\View->renderContents()
     (/var/task/vendor/laravel/framework/src/Illuminate/View/View.php:147)
  at Illuminate\View\View->render()
     (/var/task/vendor/laravel/framework/src/Illuminate/Http/Response.php:69)
  at Illuminate\Http\Response->setContent(object(View))
     (/var/task/vendor/laravel/framework/src/Illuminate/Http/Response.php:35)
  at Illuminate\Http\Response->__construct(object(View), 200, array('Content-Type' => 'text/html'))
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Router.php:911)
  at Illuminate\Routing\Router::toResponse(object(Request), object(View))
     (/var/task/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:353)
  at Illuminate\Support\Facades\Facade::__callStatic('toResponse', array(object(Request), object(View)))
     (/var/task/vendor/laravel/folio/src/RequestHandler.php:103)
  at Laravel\Folio\RequestHandler->toResponse(object(Request), object(MatchedView))
     (/var/task/vendor/laravel/folio/src/RequestHandler.php:63)
  at Laravel\Folio\RequestHandler->Laravel\Folio\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:50)
  at Illuminate\Routing\Middleware\SubstituteBindings->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78)
  at Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49)
  at Illuminate\View\Middleware\ShareErrorsFromSession->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121)
  at Illuminate\Session\Middleware\StartSession->handleStatefulRequest(object(Request), object(Store), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64)
  at Illuminate\Session\Middleware\StartSession->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37)
  at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67)
  at Illuminate\Cookie\Middleware\EncryptCookies->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
  at Illuminate\Pipeline\Pipeline->then(object(Closure))
     (/var/task/vendor/laravel/folio/src/RequestHandler.php:56)
  at Laravel\Folio\RequestHandler->__invoke(object(Request))
     (/var/task/vendor/laravel/folio/src/FolioManager.php:93)
  at Laravel\Folio\FolioManager->Laravel\Folio\{closure}(object(Request), 'blog')
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/CallableDispatcher.php:40)
  at Illuminate\Routing\CallableDispatcher->dispatch(object(Route), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Route.php:237)
  at Illuminate\Routing\Route->runCallable()
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Route.php:208)
  at Illuminate\Routing\Route->run()
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Router.php:799)
  at Illuminate\Routing\Router->Illuminate\Routing\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
  at Illuminate\Pipeline\Pipeline->then(object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Router.php:798)
  at Illuminate\Routing\Router->runRouteWithinStack(object(Route), object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Router.php:777)
  at Illuminate\Routing\Router->runRoute(object(Request), object(Route))
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Router.php:741)
  at Illuminate\Routing\Router->dispatchToRoute(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Router.php:730)
  at Illuminate\Routing\Router->dispatch(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:200)
  at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php:19)
  at Livewire\Features\SupportDisablingBackButtonCache\DisableBackButtonCacheMiddleware->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/vapor-core/src/Http/Middleware/ServeStaticAssets.php:21)
  at Laravel\Vapor\Http\Middleware\ServeStaticAssets->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
  at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27)
  at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:89)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49)
  at Illuminate\Http\Middleware\HandleCors->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39)
  at Illuminate\Http\Middleware\TrustProxies->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
  at Illuminate\Pipeline\Pipeline->then(object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:175)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144)
  at Illuminate\Foundation\Http\Kernel->handle(object(Request))
     (/var/task/vendor/laravel/vapor-core/src/Runtime/HttpKernel.php:173)
  at Laravel\Vapor\Runtime\HttpKernel->Laravel\Vapor\Runtime\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/vapor-core/src/Runtime/Http/Middleware/EnsureBinaryEncoding.php:19)
  at Laravel\Vapor\Runtime\Http\Middleware\EnsureBinaryEncoding->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/vapor-core/src/Runtime/Http/Middleware/EnsureVanityUrlIsNotIndexed.php:16)
  at Laravel\Vapor\Runtime\Http\Middleware\EnsureVanityUrlIsNotIndexed->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/vapor-core/src/Runtime/Http/Middleware/RedirectStaticAssets.php:30)
  at Laravel\Vapor\Runtime\Http\Middleware\RedirectStaticAssets->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/vapor-core/src/Runtime/Http/Middleware/EnsureOnNakedDomain.php:46)
  at Laravel\Vapor\Runtime\Http\Middleware\EnsureOnNakedDomain->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
  at Illuminate\Pipeline\Pipeline->then(object(Closure))
     (/var/task/vendor/laravel/vapor-core/src/Runtime/HttpKernel.php:172)
  at Laravel\Vapor\Runtime\HttpKernel->sendRequest(object(Request))
     (/var/task/vendor/laravel/vapor-core/src/Runtime/HttpKernel.php:80)
  at Laravel\Vapor\Runtime\HttpKernel->handle(object(Request))
     (/var/task/httpHandler.php:55)                
[1/3] SQLiteDatabaseDoesNotExistException
Illuminate\Database\SQLiteDatabaseDoesNotExistException:
Database file at path [database/database.sqlite] does not exist. Ensure this is an absolute path to the database.

  at /var/task/vendor/laravel/framework/src/Illuminate/Database/Connectors/SQLiteConnector.php:34
  at Illuminate\Database\Connectors\SQLiteConnector->connect(array('driver' => 'sqlite', 'database' => 'database/database.sqlite', 'prefix' => '', 'foreign_key_constraints' => true, 'name' => 'sqlite'))
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:221)
  at Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}()
  at call_user_func(object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/Connection.php:1292)
  at Illuminate\Database\Connection->getPdo()
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/Connection.php:574)
  at Illuminate\Database\Connection->Illuminate\Database\{closure}('PRAGMA foreign_keys = ON;', array())
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/Connection.php:788)
  at Illuminate\Database\Connection->runQueryCallback('PRAGMA foreign_keys = ON;', array(), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/Connection.php:755)
  at Illuminate\Database\Connection->run('PRAGMA foreign_keys = ON;', array(), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/Connection.php:569)
  at Illuminate\Database\Connection->statement('PRAGMA foreign_keys = ON;')
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php:397)
  at Illuminate\Database\Schema\Builder->enableForeignKeyConstraints()
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/SQLiteConnection.php:36)
  at Illuminate\Database\SQLiteConnection->__construct(object(Closure), 'database/database.sqlite', '', array('driver' => 'sqlite', 'database' => 'database/database.sqlite', 'prefix' => '', 'foreign_key_constraints' => true, 'name' => 'sqlite'))
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:272)
  at Illuminate\Database\Connectors\ConnectionFactory->createConnection('sqlite', object(Closure), 'database/database.sqlite', '', array('driver' => 'sqlite', 'database' => 'database/database.sqlite', 'prefix' => '', 'foreign_key_constraints' => true, 'name' => 'sqlite'))
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:75)
  at Illuminate\Database\Connectors\ConnectionFactory->createSingleConnection(array('driver' => 'sqlite', 'database' => 'database/database.sqlite', 'prefix' => '', 'foreign_key_constraints' => true, 'name' => 'sqlite'))
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:50)
  at Illuminate\Database\Connectors\ConnectionFactory->make(array('driver' => 'sqlite', 'database' => 'database/database.sqlite', 'prefix' => '', 'foreign_key_constraints' => true, 'name' => 'sqlite'), 'sqlite')
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php:152)
  at Illuminate\Database\DatabaseManager->makeConnection('sqlite')
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php:101)
  at Illuminate\Database\DatabaseManager->connection('sqlite')
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1818)
  at Illuminate\Database\Eloquent\Model::resolveConnection(null)
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1784)
  at Illuminate\Database\Eloquent\Model->getConnection()
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1576)
  at Illuminate\Database\Eloquent\Model->newBaseQueryBuilder()
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1495)
  at Illuminate\Database\Eloquent\Model->newModelQuery()
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1531)
  at Illuminate\Database\Eloquent\Model->newQueryWithoutScopes()
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1484)
  at Illuminate\Database\Eloquent\Model->newQuery()
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:2333)
  at Illuminate\Database\Eloquent\Model->__call('count', array())
     (/var/task/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:2345)
  at Illuminate\Database\Eloquent\Model::__callStatic('count', array())
     (/var/task/resources/views/pages/blog/index.blade.php:19)
  at Livewire\Volt\Component@anonymous/tmp/storage/framework/views/c1a0e46e436616c9c83e9345d3b4e6db.php:8$1e4->{closure}()
     (/var/task/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:36)
  at Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
     (/var/task/vendor/laravel/framework/src/Illuminate/Container/Util.php:41)
  at Illuminate\Container\Util::unwrapIfClosure(object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:81)
  at Illuminate\Container\BoundMethod::callBoundMethod(object(Application), object(Closure), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:35)
  at Illuminate\Container\BoundMethod::call(object(Application), object(Closure), array(), null)
     (/var/task/vendor/laravel/framework/src/Illuminate/Container/Container.php:662)
  at Illuminate\Container\Container->call(object(Closure), array())
     (/var/task/vendor/livewire/volt/src/Actions/CallHook.php:28)
  at Livewire\Volt\Actions\CallHook->execute(object(CompileContext), object(Component@anonymous), array())
     (/tmp/storage/framework/views/c1a0e46e436616c9c83e9345d3b4e6db.php:32)
  at Livewire\Volt\Component@anonymous/tmp/storage/framework/views/c1a0e46e436616c9c83e9345d3b4e6db.php:8$1e4->mount()
     (/var/task/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:36)
  at Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
     (/var/task/vendor/laravel/framework/src/Illuminate/Container/Util.php:41)
  at Illuminate\Container\Util::unwrapIfClosure(object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:93)
  at Illuminate\Container\BoundMethod::callBoundMethod(object(Application), array(object(Component@anonymous), 'mount'), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:35)
  at Illuminate\Container\BoundMethod::call(object(Application), array(object(Component@anonymous), 'mount'), array())
     (/var/task/vendor/livewire/livewire/src/Wrapped.php:23)
  at Livewire\Wrapped->__call('mount', array())
     (/var/task/vendor/livewire/livewire/src/Features/SupportLifecycleHooks/SupportLifecycleHooks.php:125)
  at Livewire\Features\SupportLifecycleHooks\SupportLifecycleHooks->callHook('mount', array())
     (/var/task/vendor/livewire/livewire/src/Features/SupportLifecycleHooks/SupportLifecycleHooks.php:20)
  at Livewire\Features\SupportLifecycleHooks\SupportLifecycleHooks->mount(array(), false)
     (/var/task/vendor/livewire/livewire/src/ComponentHook.php:19)
  at Livewire\ComponentHook->callMount(array(), false)
     (/var/task/vendor/livewire/livewire/src/ComponentHookRegistry.php:42)
  at Livewire\ComponentHookRegistry::Livewire\{closure}(object(Component@anonymous), array(), 'HaIvKmN', false)
     (/var/task/vendor/livewire/livewire/src/EventBus.php:60)
  at Livewire\EventBus->trigger('mount', object(Component@anonymous), array(), 'HaIvKmN', false)
     (/var/task/vendor/livewire/livewire/src/helpers.php:100)
  at Livewire\trigger('mount', object(Component@anonymous), array(), 'HaIvKmN', false)
     (/var/task/vendor/livewire/livewire/src/Mechanisms/HandleComponents/HandleComponents.php:57)
  at Livewire\Mechanisms\HandleComponents\HandleComponents->mount('volt-anonymous-fragment-eyJuYW1lIjoiYmxvZy5pbmRleCIsInBhdGgiOiJyZXNvdXJjZXNcL3ZpZXdzXC9wYWdlc1wvYmxvZ1wvaW5kZXguYmxhZGUucGhwIn0=', array(), 'HaIvKmN')
     (/var/task/vendor/livewire/livewire/src/LivewireManager.php:72)
  at Livewire\LivewireManager->mount('volt-anonymous-fragment-eyJuYW1lIjoiYmxvZy5pbmRleCIsInBhdGgiOiJyZXNvdXJjZXNcL3ZpZXdzXC9wYWdlc1wvYmxvZ1wvaW5kZXguYmxhZGUucGhwIn0=', array(), 'HaIvKmN')
     (/var/task/vendor/livewire/volt/src/LivewireManager.php:22)
  at Livewire\Volt\LivewireManager->mount('volt-anonymous-fragment-eyJuYW1lIjoiYmxvZy5pbmRleCIsInBhdGgiOiJyZXNvdXJjZXNcL3ZpZXdzXC9wYWdlc1wvYmxvZ1wvaW5kZXguYmxhZGUucGhwIn0=', array(), 'HaIvKmN', array(), array('__path' => '/tmp/storage/framework/views/dc1d09858cf692e9d422a4ea383bf3e2.php', '__data' => array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag)), '__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'component' => object(AnonymousComponent), '__split' => object(Closure), '__name' => 'volt-anonymous-fragment-eyJuYW1lIjoiYmxvZy5pbmRleCIsInBhdGgiOiJyZXNvdXJjZXNcL3ZpZXdzXC9wYWdlc1wvYmxvZ1wvaW5kZXguYmxhZGUucGhwIn0=', '__params' => array()))
     (/tmp/storage/framework/views/dc1d09858cf692e9d422a4ea383bf3e2.php:43)
  at require('/tmp/storage/framework/views/dc1d09858cf692e9d422a4ea383bf3e2.php')
     (/var/task/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/var/task/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:125)
  at Illuminate\Filesystem\Filesystem->getRequire('/tmp/storage/framework/views/dc1d09858cf692e9d422a4ea383bf3e2.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag)))
     (/var/task/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath('/tmp/storage/framework/views/dc1d09858cf692e9d422a4ea383bf3e2.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag)))
     (/var/task/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->evaluatePath('/tmp/storage/framework/views/dc1d09858cf692e9d422a4ea383bf3e2.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag)))
     (/var/task/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72)
  at Illuminate\View\Engines\CompilerEngine->get('/var/task/resources/views/pages/blog/index.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag)))
     (/var/task/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:10)
  at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->get('/var/task/resources/views/pages/blog/index.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag)))
     (/var/task/vendor/laravel/framework/src/Illuminate/View/View.php:195)
  at Illuminate\View\View->getContents()
     (/var/task/vendor/laravel/framework/src/Illuminate/View/View.php:178)
  at Illuminate\View\View->renderContents()
     (/var/task/vendor/laravel/framework/src/Illuminate/View/View.php:147)
  at Illuminate\View\View->render()
     (/var/task/vendor/laravel/framework/src/Illuminate/Http/Response.php:69)
  at Illuminate\Http\Response->setContent(object(View))
     (/var/task/vendor/laravel/framework/src/Illuminate/Http/Response.php:35)
  at Illuminate\Http\Response->__construct(object(View), 200, array('Content-Type' => 'text/html'))
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Router.php:911)
  at Illuminate\Routing\Router::toResponse(object(Request), object(View))
     (/var/task/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:353)
  at Illuminate\Support\Facades\Facade::__callStatic('toResponse', array(object(Request), object(View)))
     (/var/task/vendor/laravel/folio/src/RequestHandler.php:103)
  at Laravel\Folio\RequestHandler->toResponse(object(Request), object(MatchedView))
     (/var/task/vendor/laravel/folio/src/RequestHandler.php:63)
  at Laravel\Folio\RequestHandler->Laravel\Folio\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:50)
  at Illuminate\Routing\Middleware\SubstituteBindings->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78)
  at Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49)
  at Illuminate\View\Middleware\ShareErrorsFromSession->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121)
  at Illuminate\Session\Middleware\StartSession->handleStatefulRequest(object(Request), object(Store), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64)
  at Illuminate\Session\Middleware\StartSession->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37)
  at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67)
  at Illuminate\Cookie\Middleware\EncryptCookies->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
  at Illuminate\Pipeline\Pipeline->then(object(Closure))
     (/var/task/vendor/laravel/folio/src/RequestHandler.php:56)
  at Laravel\Folio\RequestHandler->__invoke(object(Request))
     (/var/task/vendor/laravel/folio/src/FolioManager.php:93)
  at Laravel\Folio\FolioManager->Laravel\Folio\{closure}(object(Request), 'blog')
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/CallableDispatcher.php:40)
  at Illuminate\Routing\CallableDispatcher->dispatch(object(Route), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Route.php:237)
  at Illuminate\Routing\Route->runCallable()
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Route.php:208)
  at Illuminate\Routing\Route->run()
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Router.php:799)
  at Illuminate\Routing\Router->Illuminate\Routing\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
  at Illuminate\Pipeline\Pipeline->then(object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Router.php:798)
  at Illuminate\Routing\Router->runRouteWithinStack(object(Route), object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Router.php:777)
  at Illuminate\Routing\Router->runRoute(object(Request), object(Route))
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Router.php:741)
  at Illuminate\Routing\Router->dispatchToRoute(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Router.php:730)
  at Illuminate\Routing\Router->dispatch(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:200)
  at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php:19)
  at Livewire\Features\SupportDisablingBackButtonCache\DisableBackButtonCacheMiddleware->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/vapor-core/src/Http/Middleware/ServeStaticAssets.php:21)
  at Laravel\Vapor\Http\Middleware\ServeStaticAssets->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
  at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27)
  at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:89)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49)
  at Illuminate\Http\Middleware\HandleCors->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39)
  at Illuminate\Http\Middleware\TrustProxies->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
  at Illuminate\Pipeline\Pipeline->then(object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:175)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144)
  at Illuminate\Foundation\Http\Kernel->handle(object(Request))
     (/var/task/vendor/laravel/vapor-core/src/Runtime/HttpKernel.php:173)
  at Laravel\Vapor\Runtime\HttpKernel->Laravel\Vapor\Runtime\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/vapor-core/src/Runtime/Http/Middleware/EnsureBinaryEncoding.php:19)
  at Laravel\Vapor\Runtime\Http\Middleware\EnsureBinaryEncoding->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/vapor-core/src/Runtime/Http/Middleware/EnsureVanityUrlIsNotIndexed.php:16)
  at Laravel\Vapor\Runtime\Http\Middleware\EnsureVanityUrlIsNotIndexed->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/vapor-core/src/Runtime/Http/Middleware/RedirectStaticAssets.php:30)
  at Laravel\Vapor\Runtime\Http\Middleware\RedirectStaticAssets->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/vapor-core/src/Runtime/Http/Middleware/EnsureOnNakedDomain.php:46)
  at Laravel\Vapor\Runtime\Http\Middleware\EnsureOnNakedDomain->handle(object(Request), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
  at Illuminate\Pipeline\Pipeline->then(object(Closure))
     (/var/task/vendor/laravel/vapor-core/src/Runtime/HttpKernel.php:172)
  at Laravel\Vapor\Runtime\HttpKernel->sendRequest(object(Request))
     (/var/task/vendor/laravel/vapor-core/src/Runtime/HttpKernel.php:80)
  at Laravel\Vapor\Runtime\HttpKernel->handle(object(Request))
     (/var/task/httpHandler.php:55)