public EntryDto $article;
public function mount(string $slug)
{
$id = collect(explode('-', $slug))->last();
$this->article = app(Cms::class)->entry("blogs/{$id}");
}
public function render()
{
$meta = Meta::fromCmsEntry($this->article);
if (static::isCallableWithAtSign($callback) || $defaultMethod) {
return static::callClass($container, $callback, $parameters, $defaultMethod);
}
return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) {
return $callback(...array_values(static::getMethodDependencies($container, $callback, $parameters)));
});
}
/**
* Call a string reference to a class using Class@method syntax.
* @param mixed ...$args
* @return mixed
*/
public static function unwrapIfClosure($value, ...$args)
{
return $value instanceof Closure ? $value(...$args) : $value;
}
/**
* Get the class name of the given parameter's type, if possible.
*
if ($container->hasMethodBinding($method)) {
return $container->callMethodBinding($method, $callback[0]);
}
return Util::unwrapIfClosure($default);
}
/**
* Normalize the given callback into a Class@method string.
*
return static::callClass($container, $callback, $parameters, $defaultMethod);
}
return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) {
return $callback(...array_values(static::getMethodDependencies($container, $callback, $parameters)));
});
}
/**
* Call a string reference to a class using Class@method syntax.
*
$this->instance->{$property} = $value;
});
if (method_exists($this->instance, 'mount')) {
try {
ImplicitlyBoundMethod::call(app(), [$this->instance, 'mount'], $params);
} catch (ValidationException $e) {
Livewire::dispatch('failed-validation', $e->validator, $this->instance);
$this->instance->setErrorBag($e->validator->errors());
}
}
$manager = LifecycleManager::fromInitialInstance($instance)
->boot()
->initialHydrate()
->mount($componentParams)
->renderToView();
if ($instance->redirectTo) {
return redirect()->response($instance->redirectTo);
}
if (method_exists($controller, 'callAction')) {
return $controller->callAction($method, $parameters);
}
return $controller->{$method}(...array_values($parameters));
}
/**
* Resolve the parameters for the controller.
*
* @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
*/
protected function runController()
{
return $this->controllerDispatcher()->dispatch(
$this, $this->getController(), $this->getControllerMethod()
);
}
/**
* Get the controller instance for the route.
{
$this->container = $this->container ?: new Container;
try {
if ($this->isControllerAction()) {
return $this->runController();
}
return $this->runCallable();
} catch (HttpResponseException $e) {
return $e->getResponse();
return (new Pipeline($this->container))
->send($request)
->through($middleware)
->then(fn ($request) => $this->prepareResponse(
$request, $route->run()
));
}
/**
* Gather the middleware for the given route with resolved class names.
*/
protected function prepareDestination(Closure $destination)
{
return function ($passable) use ($destination) {
try {
return $destination($passable);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
}
if (auth()->user() and auth()->user()->wholesale_flag == 0 and auth()->user()->wholesale_seller_flag == 1) {
return redirect()->to('supplier');
}
return $next($request);
}
}
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
* @param \Closure $next
* @return \Symfony\Component\HttpFoundation\Response
*/
public function handle($request, Closure $next)
{
$response = $next($request);
$response->headers->set('X-Frame-Options', 'SAMEORIGIN', false);
return $response;
}
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
class GzipEncodeResponse
{
public function handle(Request $request, Closure $next)
{
$response = $next($request);
if($request->route()->getName() == "livewire.preview-file") {
return $response;
}
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
// This will be removed in the future
Cookie::forget('XSRF-TOKEN', '/', 'wholesale.leprix.com');
$injectable = ($request->routeIs('catchall') or $request->routeIs('shop') or $request->routeIs('shop.path') or $request->routeIs('livewire.message'));
$request->isInjectable = $injectable;
if (!$injectable) return $next($request);
if ($request->routeIs('catchall') or $request->routeIs('shop') or $request->routeIs('shop.path')) {
$path = $request->path ?? $request->getPathInfo();
$segments = $request->segments();
if($request->locale) {
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
*/
public function handle(Request $request, Closure $next)
{
// Ignore for guest browsing
if (auth()->guest()) {
return $next($request);
}
/**
* @var \App\Models\User
*/
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
view()->share('localeModel', $request->localeModel);
session(['localeCode' => $localeCode]);
}
return $next($request);
}
}
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
throw $exception;
}
return $next($request);
}
}
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
$this->isReading($request) ||
$this->runningUnitTests() ||
$this->inExceptArray($request) ||
$this->tokensMatch($request)
) {
return tap($next($request), function ($response) use ($request) {
if ($this->shouldAddXsrfTokenCookie()) {
$this->addCookieToResponse($request, $response);
}
});
}
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
// Putting the errors in the view for every view allows the developer to just
// assume that some errors are always available, which is convenient since
// they don't have to continually run checks for the presence of errors.
return $next($request);
}
}
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
$this->startSession($request, $session)
);
$this->collectGarbage($session);
$response = $next($request);
$this->storeCurrentUrl($request, $session);
$this->addCookieToResponse($response, $session);
if ($this->manager->shouldBlock() ||
($request->route() instanceof Route && $request->route()->locksFor())) {
return $this->handleRequestWhileBlocking($request, $session, $next);
}
return $this->handleStatefulRequest($request, $session, $next);
}
/**
* Handle the given request within session state.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$response = $next($request);
foreach ($this->cookies->getQueuedCookies() as $cookie) {
$response->headers->setCookie($cookie);
}
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
* @param \Closure $next
* @return \Symfony\Component\HttpFoundation\Response
*/
public function handle($request, Closure $next)
{
return $this->encrypt($next($this->decrypt($request)));
}
/**
* Decrypt the cookies on the request.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
{
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
return (new Pipeline($this->container))
->send($request)
->through($middleware)
->then(fn ($request) => $this->prepareResponse(
$request, $route->run()
));
}
/**
* Gather the middleware for the given route with resolved class names.
*
$request->setRouteResolver(fn () => $route);
$this->events->dispatch(new RouteMatched($route, $request));
return $this->prepareResponse($request,
$this->runRouteWithinStack($route, $request)
);
}
/**
* Run the given route within a Stack "onion" instance.
* @param \Illuminate\Http\Request $request
* @return \Symfony\Component\HttpFoundation\Response
*/
public function dispatchToRoute(Request $request)
{
return $this->runRoute($request, $this->findRoute($request));
}
/**
* Find the route matching a given request.
*
*/
public function dispatch(Request $request)
{
$this->currentRequest = $request;
return $this->dispatchToRoute($request);
}
/**
* Dispatch the request to a route and return the response.
*
protected function dispatchToRouter()
{
return function ($request) {
$this->app->instance('request', $request);
return $this->router->dispatch($request);
};
}
/**
* Call the terminate method on any terminable middleware.
*/
protected function prepareDestination(Closure $destination)
{
return function ($passable) use ($destination) {
try {
return $destination($passable);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
}
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$response = $next($request);
if ($response instanceof Response && Livewire::shouldDisableBackButtonCache()){
$response->headers->add([
"Pragma" => "no-cache",
"Expires" => "Fri, 01 Jan 1990 00:00:00 GMT",
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
* @param string|null ...$guards
* @return mixed
*/
public function handle($request, Closure $next, ...$guards)
{
$response = $next($request);
if (isset($_ENV['VAPOR_SSM_PATH']) && $response->getStatusCode() === 404) {
$requestUri = $request->getRequestUri();
if (! in_array(ltrim($requestUri, '/'), config('vapor.serve_assets', []))) {
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
if ($callback($request)) {
return $next($request);
}
}
return parent::handle($request, $next);
}
/**
* Transform the given value.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
if ($callback($request)) {
return $next($request);
}
}
return parent::handle($request, $next);
}
/**
* Transform the given value.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) {
throw new PostTooLargeException;
}
return $next($request);
}
/**
* Determine the server 'post_max_size' as bytes.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
null,
$this->getHeaders($data)
);
}
return $next($request);
}
/**
* Determine if the incoming request has a maintenance mode bypass cookie.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
*/
public function handle($request, Closure $next)
{
// Check if we're dealing with CORS and if we should handle it
if (! $this->shouldRun($request)) {
return $next($request);
}
// For Preflight, return the Preflight response
if ($this->cors->isPreflightRequest($request)) {
$response = $this->cors->handlePreflightRequest($request);
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
{
$request::setTrustedProxies([], $this->getTrustedHeaderNames());
$this->setTrustedProxyIpAddresses($request);
return $next($request);
}
/**
* Sets the trusted proxies on the request.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
{
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
}
/**
* Bootstrap the application for HTTP requests.
*
$this->requestStartedAt = Carbon::now();
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Throwable $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
}
if (Octane::hasRouteFor($request->getMethod(), '/'.$request->path())) {
return Octane::invokeRoute($request, $request->getMethod(), '/'.$request->path());
}
return tap($this->sandbox->make(Kernel::class)->handle($request), function ($response) use ($request) {
$this->dispatchEvent($this->sandbox, new RequestHandled($this->sandbox, $request, $response));
});
}
/**
try {
$responded = false;
ob_start();
$response = $gateway->handle($request);
$output = ob_get_contents();
ob_end_clean();
new EnsureOnNakedDomain,
new RedirectStaticAssets,
new EnsureVanityUrlIsNotIndexed,
new EnsureBinaryEncoding(),
])->then(function ($request) use ($context) {
static::$worker->handle($request, $context);
return static::$response->response;
});
}
*/
protected function prepareDestination(Closure $destination)
{
return function ($passable) use ($destination) {
try {
return $destination($passable);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
}
* @param callable $next
* @return mixed
*/
public function handle($request, $next)
{
$response = $next($request);
if (static::isBase64EncodingRequired($response)) {
$response->headers->set('X-Vapor-Base64-Encode', 'True');
}
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
* @param callable $next
* @return mixed
*/
public function handle($request, $next)
{
$response = $next($request);
if ('https://'.$request->getHttpHost() === $_ENV['APP_VANITY_URL']) {
$response->headers->set('X-Robots-Tag', 'noindex, nofollow', true);
}
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
return new RedirectResponse($_ENV['ASSET_URL'].'/robots.txt', 302, [
'Cache-Control' => 'public, max-age=3600',
]);
}
return $next($request);
}
}
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
$request->fullUrl()
), 301);
}
}
return $next($request);
}
}
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
{
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
new EnsureBinaryEncoding(),
])->then(function ($request) use ($context) {
static::$worker->handle($request, $context);
return static::$response->response;
});
}
/**
* Determine if the incoming request has a maintenance mode bypass cookie.
*
$response = new \Illuminate\Http\Response(
file_get_contents($_ENV['LAMBDA_TASK_ROOT'].'/503.html'), 503
);
}
} else {
$response = static::sendRequest($request, $context);
}
$content = $response instanceof BinaryFileResponse
? $response->getFile()->getContent()
: $response->getContent();
public function handle(array $event)
{
$request = $this->request($event);
return $this->response(
Octane::handle($request)
);
}
/**
* Create a new Octane request from the incoming event.
$lambdaRuntime = LambdaRuntime::fromEnvironmentVariable();
while (true) {
$lambdaRuntime->nextInvocation(function ($invocationId, $event) {
return OctaneHttpHandlerFactory::make($event)
->handle($event)
->toApiGatewayFormat();
});
LambdaContainer::terminateIfInvocationLimitHasBeenReached(
++$invocations, (int) ($_ENV['VAPOR_MAX_REQUESTS'] ?? 250)
[$invocationId, $event] = LambdaInvocation::next($this->apiUrl);
$_ENV['AWS_REQUEST_ID'] = $invocationId;
try {
$this->notifyLambdaOfResponse($invocationId, $callback($invocationId, $event));
} catch (Throwable $error) {
$this->handleException($invocationId, $error);
exit(1);
}
while (true) {
$lambdaRuntime->nextInvocation(function ($invocationId, $event) {
return OctaneHttpHandlerFactory::make($event)
->handle($event)
->toApiGatewayFormat();
});
LambdaContainer::terminateIfInvocationLimitHasBeenReached(
++$invocations, (int) ($_ENV['VAPOR_MAX_REQUESTS'] ?? 250)
);
}
if (isset($_ENV['APP_RUNNING_IN_CONSOLE']) && $_ENV['APP_RUNNING_IN_CONSOLE'] === 'true') {
return require __DIR__.'/cliRuntime.php';
}
if (isset($_ENV['APP_RUNNING_IN_OCTANE']) && $_ENV['APP_RUNNING_IN_OCTANE'] === 'true') {
return require __DIR__.'/octaneRuntime.php';
}
return require __DIR__.'/fpmRuntime.php';
<?php
$appRoot = getenv('LAMBDA_TASK_ROOT');
require $appRoot.'/runtime.php';
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) |