Symfony Exception

TypeError

HTTP 500 Internal Server Error

Cannot assign null to property App\Http\Livewire\Blog\View::$article of type App\Support\Dto\Cms\Entry

Exception

TypeError

  1.     public EntryDto $article;
  2.     public function mount(string $slug)
  3.     {
  4.         $id collect(explode('-'$slug))->last();
  5.         $this->article app(Cms::class)->entry("blogs/{$id}");
  6.     }
  7.     public function render()
  8.     {
  9.         $meta Meta::fromCmsEntry($this->article);
  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.             return static::callClass($container$callback$parameters$defaultMethod);
  2.         }
  3.         return static::callBoundMethod($container$callback, function () use ($container$callback$parameters) {
  4.             return $callback(...array_values(static::getMethodDependencies($container$callback$parameters)));
  5.         });
  6.     }
  7.     /**
  8.      * Call a string reference to a class using Class@method syntax.
  9.      *
  1.                 $this->instance->{$property} = $value;
  2.             });
  3.         if (method_exists($this->instance'mount')) {
  4.             try {
  5.                 ImplicitlyBoundMethod::call(app(), [$this->instance'mount'], $params);
  6.             } catch (ValidationException $e) {
  7.                 Livewire::dispatch('failed-validation'$e->validator$this->instance);
  8.                 $this->instance->setErrorBag($e->validator->errors());
  9.             }
  1.         }
  2.         $manager LifecycleManager::fromInitialInstance($instance)
  3.             ->boot()
  4.             ->initialHydrate()
  5.             ->mount($componentParams)
  6.             ->renderToView();
  7.         if ($instance->redirectTo) {
  8.             return redirect()->response($instance->redirectTo);
  9.         }
  1.         if (method_exists($controller'callAction')) {
  2.             return $controller->callAction($method$parameters);
  3.         }
  4.         return $controller->{$method}(...array_values($parameters));
  5.     }
  6.     /**
  7.      * Resolve the parameters for the controller.
  8.      *
  1.      * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
  2.      */
  3.     protected function runController()
  4.     {
  5.         return $this->controllerDispatcher()->dispatch(
  6.             $this$this->getController(), $this->getControllerMethod()
  7.         );
  8.     }
  9.     /**
  10.      * Get the controller instance for the route.
  1.     {
  2.         $this->container $this->container ?: new Container;
  3.         try {
  4.             if ($this->isControllerAction()) {
  5.                 return $this->runController();
  6.             }
  7.             return $this->runCallable();
  8.         } catch (HttpResponseException $e) {
  9.             return $e->getResponse();
  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.     }
Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in /var/task/app/Http/Middleware/RestrictSupplier.php (line 29)
  1.      
  2.         if (auth()->user() and auth()->user()->wholesale_flag == and auth()->user()->wholesale_seller_flag == 1) {
  3.             return redirect()->to('supplier');
  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.      * @param  \Closure  $next
  2.      * @return \Symfony\Component\HttpFoundation\Response
  3.      */
  4.     public function handle($requestClosure $next)
  5.     {
  6.         $response $next($request);
  7.         $response->headers->set('X-Frame-Options''SAMEORIGIN'false);
  8.         return $response;
  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);
Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in /var/task/app/Http/Middleware/GzipEncodeResponse.php (line 12)
  1. class GzipEncodeResponse
  2. {
  3.     public function handle(Request $requestClosure $next)
  4.     {
  5.         $response $next($request);
  6.         if($request->route()->getName() == "livewire.preview-file") {
  7.             return $response;
  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);
Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in /var/task/app/Http/Middleware/InjectPathIntoRequest.php (line 32)
  1.         // This will be removed in the future
  2.         Cookie::forget('XSRF-TOKEN''/''wholesale.leprix.com');
  3.         $injectable = ($request->routeIs('catchall') or $request->routeIs('shop') or $request->routeIs('shop.path') or $request->routeIs('livewire.message'));
  4.         $request->isInjectable $injectable;
  5.         if (!$injectable) return $next($request);
  6.         if ($request->routeIs('catchall') or $request->routeIs('shop') or $request->routeIs('shop.path')) {
  7.             $path $request->path ?? $request->getPathInfo();
  8.             $segments $request->segments();
  9.             if($request->locale) {
  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);
Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in /var/task/app/Http/Middleware/EnforceProfileRequirements.php (line 37)
  1.      */
  2.     public function handle(Request $requestClosure $next)
  3.     {
  4.         // Ignore for guest browsing
  5.         if (auth()->guest()) {
  6.             return $next($request);
  7.         }
  8.         /**
  9.          * @var \App\Models\User
  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);
Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in /var/task/app/Http/Middleware/Localization.php (line 30)
  1.             
  2.             view()->share('localeModel'$request->localeModel);
  3.             session(['localeCode' => $localeCode]);
  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.             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.         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.
  10.      *
  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.     }
in /var/task/vendor/livewire/livewire/src/DisableBrowserCache.php -> Illuminate\Pipeline\{closure} (line 19)
  1.      * @param  \Closure  $next
  2.      * @return mixed
  3.      */
  4.     public function handle($requestClosure $next)
  5.     {
  6.         $response $next($request);
  7.         if ($response instanceof Response && Livewire::shouldDisableBackButtonCache()){
  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);
in /var/task/vendor/fruitcake/laravel-cors/src/HandleCors.php -> Illuminate\Pipeline\{closure} (line 38)
  1.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         // Check if we're dealing with CORS and if we should handle it
  5.         if (! $this->shouldRun($request)) {
  6.             return $next($request);
  7.         }
  8.         // For Preflight, return the Preflight response
  9.         if ($this->cors->isPreflightRequest($request)) {
  10.             $response $this->cors->handlePreflightRequest($request);
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.     {
  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.         if (Octane::hasRouteFor($request->getMethod(), '/'.$request->path())) {
  2.             return Octane::invokeRoute($request$request->getMethod(), '/'.$request->path());
  3.         }
  4.         return tap($this->sandbox->make(Kernel::class)->handle($request), function ($response) use ($request) {
  5.             $this->dispatchEvent($this->sandbox, new RequestHandled($this->sandbox$request$response));
  6.         });
  7.     }
  8.     /**
  1.         try {
  2.             $responded false;
  3.             ob_start();
  4.             $response $gateway->handle($request);
  5.             $output ob_get_contents();
  6.             ob_end_clean();
  1.                 new EnsureOnNakedDomain,
  2.                 new RedirectStaticAssets,
  3.                 new EnsureVanityUrlIsNotIndexed,
  4.                 new EnsureBinaryEncoding(),
  5.             ])->then(function ($request) use ($context) {
  6.                 static::$worker->handle($request$context);
  7.                 return static::$response->response;
  8.             });
  9.     }
in /var/task/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php :: Laravel\Vapor\Runtime\Octane\{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.                 new EnsureBinaryEncoding(),
  2.             ])->then(function ($request) use ($context) {
  3.                 static::$worker->handle($request$context);
  4.                 return static::$response->response;
  5.             });
  6.     }
  7.     /**
  8.      * Determine if the incoming request has a maintenance mode bypass cookie.
  9.      *
  1.                 $response = new \Illuminate\Http\Response(
  2.                     file_get_contents($_ENV['LAMBDA_TASK_ROOT'].'/503.html'), 503
  3.                 );
  4.             }
  5.         } else {
  6.             $response = static::sendRequest($request$context);
  7.         }
  8.         $content $response instanceof BinaryFileResponse
  9.             $response->getFile()->getContent()
  10.             : $response->getContent();
  1.     public function handle(array $event)
  2.     {
  3.         $request $this->request($event);
  4.         return $this->response(
  5.             Octane::handle($request)
  6.         );
  7.     }
  8.     /**
  9.      * Create a new Octane request from the incoming event.
OctaneHandler->handle(array('version' => '1.0', 'resource' => '$default', 'path' => '/en/blog/link', 'httpMethod' => 'GET', 'headers' => array('Content-Length' => '0', 'Host' => 'leprix.com', 'User-Agent' => 'claudebot', 'X-Amzn-Trace-Id' => 'Root=1-66058e41-0a68d3ac6496f2e10f823076', 'X-Forwarded-For' => '54.197.64.207, 172.70.174.4', 'X-Forwarded-Port' => '443', 'X-Forwarded-Proto' => 'https', 'accept' => '*/*', 'accept-encoding' => 'gzip, br', 'cdn-loop' => 'cloudflare', 'cf-connecting-ip' => '54.197.64.207', 'cf-ipcountry' => 'US', 'cf-ray' => '86b8b0b7bbc28284-IAD', 'cf-visitor' => '{"scheme":"https"}', 'referer' => 'https://leprix.com/blog/link'), 'multiValueHeaders' => array('Content-Length' => array('0'), 'Host' => array('leprix.com'), 'User-Agent' => array('claudebot'), 'X-Amzn-Trace-Id' => array('Root=1-66058e41-0a68d3ac6496f2e10f823076'), 'X-Forwarded-For' => array('54.197.64.207, 172.70.174.4'), 'X-Forwarded-Port' => array('443'), 'X-Forwarded-Proto' => array('https'), 'accept' => array('*/*'), 'accept-encoding' => array('gzip, br'), 'cdn-loop' => array('cloudflare'), 'cf-connecting-ip' => array('54.197.64.207'), 'cf-ipcountry' => array('US'), 'cf-ray' => array('86b8b0b7bbc28284-IAD'), 'cf-visitor' => array('{"scheme":"https"}'), 'referer' => array('https://leprix.com/blog/link')), 'queryStringParameters' => null, 'multiValueQueryStringParameters' => null, 'requestContext' => array('accountId' => '978679428791', 'apiId' => '6eetr7iq4b', 'domainName' => 'leprix.com', 'domainPrefix' => 'leprix', 'extendedRequestId' => 'VWMqPj7hoAMEa0g=', 'httpMethod' => 'GET', 'identity' => array('accessKey' => null, 'accountId' => null, 'caller' => null, 'cognitoAmr' => null, 'cognitoAuthenticationProvider' => null, 'cognitoAuthenticationType' => null, 'cognitoIdentityId' => null, 'cognitoIdentityPoolId' => null, 'principalOrgId' => null, 'sourceIp' => '172.70.174.4', 'user' => null, 'userAgent' => 'claudebot', 'userArn' => null), 'path' => '/production/en/blog/link', 'protocol' => 'HTTP/1.1', 'requestId' => 'VWMqPj7hoAMEa0g=', 'requestTime' => '28/Mar/2024:15:35:29 +0000', 'requestTimeEpoch' => 1711640129254, 'resourceId' => '$default', 'resourcePath' => '$default', 'stage' => 'production'), 'pathParameters' => null, 'stageVariables' => null, 'body' => null, 'isBase64Encoded' => false)) in /var/task/octaneRuntime.php (line 101)
  1. $lambdaRuntime LambdaRuntime::fromEnvironmentVariable();
  2. while (true) {
  3.     $lambdaRuntime->nextInvocation(function ($invocationId$event) {
  4.         return OctaneHttpHandlerFactory::make($event)
  5.             ->handle($event)
  6.             ->toApiGatewayFormat();
  7.     });
  8.     LambdaContainer::terminateIfInvocationLimitHasBeenReached(
  9.         ++$invocations, (int) ($_ENV['VAPOR_MAX_REQUESTS'] ?? 250)
  1.         [$invocationId$event] = LambdaInvocation::next($this->apiUrl);
  2.         $_ENV['AWS_REQUEST_ID'] = $invocationId;
  3.         try {
  4.             $this->notifyLambdaOfResponse($invocationId$callback($invocationId$event));
  5.         } catch (Throwable $error) {
  6.             $this->handleException($invocationId$error);
  7.             exit(1);
  8.         }
LambdaRuntime->nextInvocation(object(Closure)) in /var/task/octaneRuntime.php (line 103)
  1. while (true) {
  2.     $lambdaRuntime->nextInvocation(function ($invocationId$event) {
  3.         return OctaneHttpHandlerFactory::make($event)
  4.             ->handle($event)
  5.             ->toApiGatewayFormat();
  6.     });
  7.     LambdaContainer::terminateIfInvocationLimitHasBeenReached(
  8.         ++$invocations, (int) ($_ENV['VAPOR_MAX_REQUESTS'] ?? 250)
  9.     );
  10. }
require('/var/task/octaneRuntime.php') in /var/task/runtime.php (line 31)
  1. if (isset($_ENV['APP_RUNNING_IN_CONSOLE']) && $_ENV['APP_RUNNING_IN_CONSOLE'] === 'true') {
  2.     return require __DIR__.'/cliRuntime.php';
  3. }
  4. if (isset($_ENV['APP_RUNNING_IN_OCTANE']) && $_ENV['APP_RUNNING_IN_OCTANE'] === 'true') {
  5.     return require __DIR__.'/octaneRuntime.php';
  6. }
  7. return require __DIR__.'/fpmRuntime.php';
require('/var/task/runtime.php') in /opt/bootstrap.php (line 6)
  1. <?php
  2. $appRoot getenv('LAMBDA_TASK_ROOT');
  3. require $appRoot.'/runtime.php';

Stack Trace

TypeError
TypeError:
Cannot assign null to property App\Http\Livewire\Blog\View::$article of type App\Support\Dto\Cms\Entry

  at /var/task/app/Http/Livewire/Blog/View.php:17
  at App\Http\Livewire\Blog\View->mount('link', 'en')
     (/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(View), 'mount'), object(Closure))
     (/var/task/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:37)
  at Illuminate\Container\BoundMethod::call(object(Application), array(object(View), 'mount'), array('locale' => 'en', 'slug' => 'link'))
     (/var/task/vendor/livewire/livewire/src/LifecycleManager.php:114)
  at Livewire\LifecycleManager->mount(array('locale' => 'en', 'slug' => 'link'))
     (/var/task/vendor/livewire/livewire/src/Component.php:71)
  at Livewire\Component->__invoke(object(Application), object(Route), 'en', 'link')
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:46)
  at Illuminate\Routing\ControllerDispatcher->dispatch(object(Route), object(View), '__invoke')
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Route.php:260)
  at Illuminate\Routing\Route->runController()
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Route.php:205)
  at Illuminate\Routing\Route->run()
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Router.php:798)
  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/app/Http/Middleware/RestrictSupplier.php:29)
  at App\Http\Middleware\RestrictSupplier->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/FrameGuard.php:18)
  at Illuminate\Http\Middleware\FrameGuard->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/app/Http/Middleware/GzipEncodeResponse.php:12)
  at App\Http\Middleware\GzipEncodeResponse->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/app/Http/Middleware/InjectPathIntoRequest.php:32)
  at App\Http\Middleware\InjectPathIntoRequest->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/app/Http/Middleware/EnforceProfileRequirements.php:37)
  at App\Http\Middleware\EnforceProfileRequirements->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/app/Http/Middleware/Localization.php:30)
  at App\Http\Middleware\Localization->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/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/framework/src/Illuminate/Routing/Router.php:799)
  at Illuminate\Routing\Router->runRouteWithinStack(object(Route), object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Router.php:776)
  at Illuminate\Routing\Router->runRoute(object(Request), object(Route))
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Router.php:740)
  at Illuminate\Routing\Router->dispatchToRoute(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Routing/Router.php:729)
  at Illuminate\Routing\Router->dispatch(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:190)
  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/DisableBrowserCache.php:19)
  at Livewire\DisableBrowserCache->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:86)
  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/fruitcake/laravel-cors/src/HandleCors.php:38)
  at Fruitcake\Cors\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:165)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request))
     (/var/task/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:134)
  at Illuminate\Foundation\Http\Kernel->handle(object(Request))
     (/var/task/vendor/laravel/octane/src/ApplicationGateway.php:37)
  at Laravel\Octane\ApplicationGateway->handle(object(Request))
     (/var/task/vendor/laravel/octane/src/Worker.php:92)
  at Laravel\Octane\Worker->handle(object(Request), object(RequestContext))
     (/var/task/vendor/laravel/vapor-core/src/Runtime/Octane/Octane.php:199)
  at Laravel\Vapor\Runtime\Octane\Octane::Laravel\Vapor\Runtime\Octane\{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/Octane/Octane.php:202)
  at Laravel\Vapor\Runtime\Octane\Octane::sendRequest(object(Request), object(RequestContext))
     (/var/task/vendor/laravel/vapor-core/src/Runtime/Octane/Octane.php:163)
  at Laravel\Vapor\Runtime\Octane\Octane::handle(object(Request))
     (/var/task/vendor/laravel/vapor-core/src/Runtime/Handlers/OctaneHandler.php:26)
  at Laravel\Vapor\Runtime\Handlers\OctaneHandler->handle(array('version' => '1.0', 'resource' => '$default', 'path' => '/en/blog/link', 'httpMethod' => 'GET', 'headers' => array('Content-Length' => '0', 'Host' => 'leprix.com', 'User-Agent' => 'claudebot', 'X-Amzn-Trace-Id' => 'Root=1-66058e41-0a68d3ac6496f2e10f823076', 'X-Forwarded-For' => '54.197.64.207, 172.70.174.4', 'X-Forwarded-Port' => '443', 'X-Forwarded-Proto' => 'https', 'accept' => '*/*', 'accept-encoding' => 'gzip, br', 'cdn-loop' => 'cloudflare', 'cf-connecting-ip' => '54.197.64.207', 'cf-ipcountry' => 'US', 'cf-ray' => '86b8b0b7bbc28284-IAD', 'cf-visitor' => '{"scheme":"https"}', 'referer' => 'https://leprix.com/blog/link'), 'multiValueHeaders' => array('Content-Length' => array('0'), 'Host' => array('leprix.com'), 'User-Agent' => array('claudebot'), 'X-Amzn-Trace-Id' => array('Root=1-66058e41-0a68d3ac6496f2e10f823076'), 'X-Forwarded-For' => array('54.197.64.207, 172.70.174.4'), 'X-Forwarded-Port' => array('443'), 'X-Forwarded-Proto' => array('https'), 'accept' => array('*/*'), 'accept-encoding' => array('gzip, br'), 'cdn-loop' => array('cloudflare'), 'cf-connecting-ip' => array('54.197.64.207'), 'cf-ipcountry' => array('US'), 'cf-ray' => array('86b8b0b7bbc28284-IAD'), 'cf-visitor' => array('{"scheme":"https"}'), 'referer' => array('https://leprix.com/blog/link')), 'queryStringParameters' => null, 'multiValueQueryStringParameters' => null, 'requestContext' => array('accountId' => '978679428791', 'apiId' => '6eetr7iq4b', 'domainName' => 'leprix.com', 'domainPrefix' => 'leprix', 'extendedRequestId' => 'VWMqPj7hoAMEa0g=', 'httpMethod' => 'GET', 'identity' => array('accessKey' => null, 'accountId' => null, 'caller' => null, 'cognitoAmr' => null, 'cognitoAuthenticationProvider' => null, 'cognitoAuthenticationType' => null, 'cognitoIdentityId' => null, 'cognitoIdentityPoolId' => null, 'principalOrgId' => null, 'sourceIp' => '172.70.174.4', 'user' => null, 'userAgent' => 'claudebot', 'userArn' => null), 'path' => '/production/en/blog/link', 'protocol' => 'HTTP/1.1', 'requestId' => 'VWMqPj7hoAMEa0g=', 'requestTime' => '28/Mar/2024:15:35:29 +0000', 'requestTimeEpoch' => 1711640129254, 'resourceId' => '$default', 'resourcePath' => '$default', 'stage' => 'production'), 'pathParameters' => null, 'stageVariables' => null, 'body' => null, 'isBase64Encoded' => false))
     (/var/task/octaneRuntime.php:101)
  at {closure}('55256005-644f-4e03-b6cf-713561909d62', array('version' => '1.0', 'resource' => '$default', 'path' => '/en/blog/link', 'httpMethod' => 'GET', 'headers' => array('Content-Length' => '0', 'Host' => 'leprix.com', 'User-Agent' => 'claudebot', 'X-Amzn-Trace-Id' => 'Root=1-66058e41-0a68d3ac6496f2e10f823076', 'X-Forwarded-For' => '54.197.64.207, 172.70.174.4', 'X-Forwarded-Port' => '443', 'X-Forwarded-Proto' => 'https', 'accept' => '*/*', 'accept-encoding' => 'gzip, br', 'cdn-loop' => 'cloudflare', 'cf-connecting-ip' => '54.197.64.207', 'cf-ipcountry' => 'US', 'cf-ray' => '86b8b0b7bbc28284-IAD', 'cf-visitor' => '{"scheme":"https"}', 'referer' => 'https://leprix.com/blog/link'), 'multiValueHeaders' => array('Content-Length' => array('0'), 'Host' => array('leprix.com'), 'User-Agent' => array('claudebot'), 'X-Amzn-Trace-Id' => array('Root=1-66058e41-0a68d3ac6496f2e10f823076'), 'X-Forwarded-For' => array('54.197.64.207, 172.70.174.4'), 'X-Forwarded-Port' => array('443'), 'X-Forwarded-Proto' => array('https'), 'accept' => array('*/*'), 'accept-encoding' => array('gzip, br'), 'cdn-loop' => array('cloudflare'), 'cf-connecting-ip' => array('54.197.64.207'), 'cf-ipcountry' => array('US'), 'cf-ray' => array('86b8b0b7bbc28284-IAD'), 'cf-visitor' => array('{"scheme":"https"}'), 'referer' => array('https://leprix.com/blog/link')), 'queryStringParameters' => null, 'multiValueQueryStringParameters' => null, 'requestContext' => array('accountId' => '978679428791', 'apiId' => '6eetr7iq4b', 'domainName' => 'leprix.com', 'domainPrefix' => 'leprix', 'extendedRequestId' => 'VWMqPj7hoAMEa0g=', 'httpMethod' => 'GET', 'identity' => array('accessKey' => null, 'accountId' => null, 'caller' => null, 'cognitoAmr' => null, 'cognitoAuthenticationProvider' => null, 'cognitoAuthenticationType' => null, 'cognitoIdentityId' => null, 'cognitoIdentityPoolId' => null, 'principalOrgId' => null, 'sourceIp' => '172.70.174.4', 'user' => null, 'userAgent' => 'claudebot', 'userArn' => null), 'path' => '/production/en/blog/link', 'protocol' => 'HTTP/1.1', 'requestId' => 'VWMqPj7hoAMEa0g=', 'requestTime' => '28/Mar/2024:15:35:29 +0000', 'requestTimeEpoch' => 1711640129254, 'resourceId' => '$default', 'resourcePath' => '$default', 'stage' => 'production'), 'pathParameters' => null, 'stageVariables' => null, 'body' => null, 'isBase64Encoded' => false))
     (/var/task/vendor/laravel/vapor-core/src/Runtime/LambdaRuntime.php:52)
  at Laravel\Vapor\Runtime\LambdaRuntime->nextInvocation(object(Closure))
     (/var/task/octaneRuntime.php:103)
  at require('/var/task/octaneRuntime.php')
     (/var/task/runtime.php:31)
  at require('/var/task/runtime.php')
     (/opt/bootstrap.php:6)