Symfony Exception

RequestException

HTTP 500 Internal Server Error

cURL error 60: SSL certificate problem: certificate has expired (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://search.rezendscraft.net/indexes/discussions/search

Exception

GuzzleHttp\Exception\ RequestException

  1.         }
  2.         // Create a connection exception if it was a specific error code.
  3.         $error = isset($connectionErrors[$easy->errno])
  4.             ? new ConnectException($message$easy->requestnull$ctx)
  5.             : new RequestException($message$easy->request$easy->responsenull$ctx);
  6.         return P\Create::rejectionFor($error);
  7.     }
  8.     /**
  1.         // Retry when nothing is present or when curl failed to rewind.
  2.         if (empty($easy->options['_err_message']) && (!$easy->errno || $easy->errno == 65)) {
  3.             return self::retryFailedRewind($handler$easy$ctx);
  4.         }
  5.         return self::createRejection($easy$ctx);
  6.     }
  7.     private static function createRejection(EasyHandle $easy, array $ctx): PromiseInterface
  8.     {
  9.         static $connectionErrors = [
  1.         if (isset($easy->options['on_stats'])) {
  2.             self::invokeStats($easy);
  3.         }
  4.         if (!$easy->response || $easy->errno) {
  5.             return self::finishError($handler$easy$factory);
  6.         }
  7.         // Return the response if it is present and there is no error.
  8.         $factory->release($easy);
  1.         $easy $this->factory->create($request$options);
  2.         \curl_exec($easy->handle);
  3.         $easy->errno \curl_errno($easy->handle);
  4.         return CurlFactory::finish($this$easy$this->factory);
  5.     }
  6. }
  1.      * @return callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the composed handler.
  2.      */
  3.     public static function wrapSync(callable $default, callable $sync): callable
  4.     {
  5.         return static function (RequestInterface $request, array $options) use ($default$sync): PromiseInterface {
  6.             return empty($options[RequestOptions::SYNCHRONOUS]) ? $default($request$options) : $sync($request$options);
  7.         };
  8.     }
  9.     /**
  10.      * Sends streaming requests to a streaming compatible handler while sending
  1.      * @return callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the composed handler.
  2.      */
  3.     public static function wrapStreaming(callable $default, callable $streaming): callable
  4.     {
  5.         return static function (RequestInterface $request, array $options) use ($default$streaming): PromiseInterface {
  6.             return empty($options['stream']) ? $default($request$options) : $streaming($request$options);
  7.         };
  8.     }
  9. }
  1.         }
  2.         // Add the expect header if needed.
  3.         $this->addExpectHeader($request$options$modify);
  4.         return $fn(Psr7\Utils::modifyRequest($request$modify), $options);
  5.     }
  6.     /**
  7.      * Add expect header
  8.      */
  1.     public static function cookies(): callable
  2.     {
  3.         return static function (callable $handler): callable {
  4.             return static function ($request, array $options) use ($handler) {
  5.                 if (empty($options['cookies'])) {
  6.                     return $handler($request$options);
  7.                 } elseif (!($options['cookies'] instanceof CookieJarInterface)) {
  8.                     throw new \InvalidArgumentException('cookies must be an instance of GuzzleHttp\Cookie\CookieJarInterface');
  9.                 }
  10.                 $cookieJar $options['cookies'];
  11.                 $request $cookieJar->withCookieHeader($request);
  1.     public function __invoke(RequestInterface $request, array $options): PromiseInterface
  2.     {
  3.         $fn $this->nextHandler;
  4.         if (empty($options['allow_redirects'])) {
  5.             return $fn($request$options);
  6.         }
  7.         if ($options['allow_redirects'] === true) {
  8.             $options['allow_redirects'] = self::$defaultSettings;
  9.         } elseif (!\is_array($options['allow_redirects'])) {
  1.     public static function httpErrors(BodySummarizerInterface $bodySummarizer null): callable
  2.     {
  3.         return static function (callable $handler) use ($bodySummarizer): callable {
  4.             return static function ($request, array $options) use ($handler$bodySummarizer) {
  5.                 if (empty($options['http_errors'])) {
  6.                     return $handler($request$options);
  7.                 }
  8.                 return $handler($request$options)->then(
  9.                     static function (ResponseInterface $response) use ($request$bodySummarizer) {
  10.                         $code $response->getStatusCode();
  11.                         if ($code 400) {
  1.      */
  2.     public function __invoke(RequestInterface $request, array $options)
  3.     {
  4.         $handler $this->resolve();
  5.         return $handler($request$options);
  6.     }
  7.     /**
  8.      * Dumps a string representation of the stack.
  9.      *
  1.         $request $this->applyOptions($request$options);
  2.         /** @var HandlerStack $handler */
  3.         $handler $options['handler'];
  4.         try {
  5.             return P\Create::promiseFor($handler($request$options));
  6.         } catch (\Exception $e) {
  7.             return P\Create::rejectionFor($e);
  8.         }
  9.     }
  1.     public function sendAsync(RequestInterface $request, array $options = []): PromiseInterface
  2.     {
  3.         // Merge the base URI into the request URI if needed.
  4.         $options $this->prepareDefaults($options);
  5.         return $this->transfer(
  6.             $request->withUri($this->buildUri($request->getUri(), $options), $request->hasHeader('Host')),
  7.             $options
  8.         );
  9.     }
  1.     {
  2.         $options[RequestOptions::SYNCHRONOUS] = true;
  3.         $options[RequestOptions::ALLOW_REDIRECTS] = false;
  4.         $options[RequestOptions::HTTP_ERRORS] = false;
  5.         return $this->sendAsync($request$options)->wait();
  6.     }
  7.     /**
  8.      * Create and send an asynchronous HTTP request.
  9.      *
  1.         foreach ($this->headers as $header => $value) {
  2.             $request $request->withAddedHeader($header$value);
  3.         }
  4.         try {
  5.             return $this->parseResponse($this->http->sendRequest($request));
  6.         } catch (NetworkExceptionInterface $e) {
  7.             throw new CommunicationException($e->getMessage(), $e->getCode(), $e);
  8.         }
  9.     }
  1.         $request $this->requestFactory->createRequest(
  2.             'POST',
  3.             $this->baseUrl.$path.$this->buildQueryString($query)
  4.         )->withBody($this->streamFactory->createStream($body));
  5.         return $this->execute($request);
  6.     }
  7.     public function put(string $path$body null, array $query = [], string $contentType null)
  8.     {
  9.         if (!\is_null($contentType)) {
  1.         $parameters array_merge(
  2.             ['q' => $query],
  3.             $searchParams
  4.         );
  5.         $result $this->http->post(self::PATH.'/'.$this->uid.'/search'$parameters);
  6.         // patch to prevent breaking in laravel/scout getTotalCount method,
  7.         // affects only Meilisearch >= v0.28.0.
  8.         if (isset($result['estimatedTotalHits'])) {
  9.             $result['nbHits'] = $result['estimatedTotalHits'];
  1.                 : \Meilisearch\Search\SearchResult;
  2.             return $result instanceof $searchResultClass $result->getRaw() : $result;
  3.         }
  4.         return $meilisearch->rawSearch($builder->query$searchParams);
  5.     }
  6.     /**
  7.      * Get the filter array for the query.
  8.      *
  1.      *
  2.      * @return mixed
  3.      */
  4.     public function search(Builder $builder)
  5.     {
  6.         return $this->performSearch($builderarray_filter([
  7.             'filter' => $this->filters($builder),
  8.             'hitsPerPage' => $builder->limit,
  9.             'sort' => $this->buildSortFromOrderByClauses($builder),
  10.         ]));
  11.     }
  1.      * @return \Illuminate\Database\Eloquent\Collection
  2.      */
  3.     public function get(Builder $builder)
  4.     {
  5.         return $this->map(
  6.             $builder$this->search($builder), $builder->model
  7.         );
  8.     }
  9.     /**
  10.      * Get a lazy collection for the given query mapped onto models.
  1.      *
  2.      * @return \Illuminate\Database\Eloquent\Collection
  3.      */
  4.     public function get()
  5.     {
  6.         return $this->engine()->get($this);
  7.     }
  8.     /**
  9.      * Get the results of the search as a "lazy collection" instance.
  10.      *
  1. class ForumIndexController extends Controller
  2. {
  3.     public function __invoke(Request $request)
  4.     {
  5.         Discussion::search($request->search)->get();
  6.         return inertia()->render('Forum/Index', [
  7.             'query' => (object) $request->query(),
  8.             'discussions' => DiscussionResource::collection(
  9.                 QueryBuilder::for(Discussion::class)
  1.      * @param  array  $parameters
  2.      * @return \Symfony\Component\HttpFoundation\Response
  3.      */
  4.     public function callAction($method$parameters)
  5.     {
  6.         return $this->{$method}(...array_values($parameters));
  7.     }
  8.     /**
  9.      * Handle calls to missing methods on the controller.
  10.      *
  1.     public function dispatch(Route $route$controller$method)
  2.     {
  3.         $parameters $this->resolveParameters($route$controller$method);
  4.         if (method_exists($controller'callAction')) {
  5.             return $controller->callAction($method$parameters);
  6.         }
  7.         return $controller->{$method}(...array_values($parameters));
  8.     }
  1.      *
  2.      * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
  3.      */
  4.     protected function runController()
  5.     {
  6.         return $this->controllerDispatcher()->dispatch(
  7.             $this$this->getController(), $this->getControllerMethod()
  8.         );
  9.     }
  10.     /**
  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.     }
  1.      * @param  \Closure  $next
  2.      * @return \Illuminate\Http\Response
  3.      */
  4.     public function handle($request$next)
  5.     {
  6.         return tap($next($request), function ($response) {
  7.             if (Vite::preloadedAssets() !== []) {
  8.                 $response->header('Link'Collection::make(Vite::preloadedAssets())
  9.                     ->map(fn ($attributes$url) => "<{$url}>; ".implode('; '$attributes))
  10.                     ->join(', '));
  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.         });
  2.         Inertia::share($this->share($request));
  3.         Inertia::setRootView($this->rootView($request));
  4.         $response $next($request);
  5.         $response->headers->set('Vary''X-Inertia');
  6.         if (! $request->header('X-Inertia')) {
  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);
  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);
Pipeline->Illuminate\Pipeline\{closure}() in /home/ploi/rezendscraft.net/app/Http/Middleware/SetLanguage.php (line 21)
  1.      */
  2.     public function handle(Request $requestClosure $next): Response
  3.     {
  4.         app()->setLocale(Lang::tryFrom(session()->get('language'config('app.locale')))->value);
  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.             $this->startSession($request$session)
  2.         );
  3.         $this->collectGarbage($session);
  4.         $response $next($request);
  5.         $this->storeCurrentUrl($request$session);
  6.         $this->addCookieToResponse($response$session);
  1.         if ($this->manager->shouldBlock() ||
  2.             ($request->route() instanceof Route && $request->route()->locksFor())) {
  3.             return $this->handleRequestWhileBlocking($request$session$next);
  4.         }
  5.         return $this->handleStatefulRequest($request$session$next);
  6.     }
  7.     /**
  8.      * Handle the given request within session state.
  9.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.      * @param  \Closure  $next
  2.      * @return mixed
  3.      */
  4.     public function handle($requestClosure $next)
  5.     {
  6.         $response $next($request);
  7.         foreach ($this->cookies->getQueuedCookies() as $cookie) {
  8.             $response->headers->setCookie($cookie);
  9.         }
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.      * @param  \Closure  $next
  2.      * @return \Symfony\Component\HttpFoundation\Response
  3.      */
  4.     public function handle($requestClosure $next)
  5.     {
  6.         return $this->encrypt($next($this->decrypt($request)));
  7.     }
  8.     /**
  9.      * Decrypt the cookies on the request.
  10.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.     {
  2.         $pipeline array_reduce(
  3.             array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
  4.         );
  5.         return $pipeline($this->passable);
  6.     }
  7.     /**
  8.      * Run the pipeline and return the result.
  9.      *
  1.         $middleware $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
  2.         return (new Pipeline($this->container))
  3.                         ->send($request)
  4.                         ->through($middleware)
  5.                         ->then(fn ($request) => $this->prepareResponse(
  6.                             $request$route->run()
  7.                         ));
  8.     }
  9.     /**
  1.         $request->setRouteResolver(fn () => $route);
  2.         $this->events->dispatch(new RouteMatched($route$request));
  3.         return $this->prepareResponse($request,
  4.             $this->runRouteWithinStack($route$request)
  5.         );
  6.     }
  7.     /**
  8.      * Run the given route within a Stack "onion" instance.
  1.      * @param  \Illuminate\Http\Request  $request
  2.      * @return \Symfony\Component\HttpFoundation\Response
  3.      */
  4.     public function dispatchToRoute(Request $request)
  5.     {
  6.         return $this->runRoute($request$this->findRoute($request));
  7.     }
  8.     /**
  9.      * Find the route matching a given request.
  10.      *
  1.      */
  2.     public function dispatch(Request $request)
  3.     {
  4.         $this->currentRequest $request;
  5.         return $this->dispatchToRoute($request);
  6.     }
  7.     /**
  8.      * Dispatch the request to a route and return the response.
  9.      *
  1.     protected function dispatchToRouter()
  2.     {
  3.         return function ($request) {
  4.             $this->app->instance('request'$request);
  5.             return $this->router->dispatch($request);
  6.         };
  7.     }
  8.     /**
  9.      * Call the terminate method on any terminable middleware.
  1.      */
  2.     protected function prepareDestination(Closure $destination)
  3.     {
  4.         return function ($passable) use ($destination) {
  5.             try {
  6.                 return $destination($passable);
  7.             } catch (Throwable $e) {
  8.                 return $this->handleException($passable$e);
  9.             }
  10.         };
  11.     }
  1.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         $this->clean($request);
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Clean the request's data.
  9.      *
  1.             if ($callback($request)) {
  2.                 return $next($request);
  3.             }
  4.         }
  5.         return parent::handle($request$next);
  6.     }
  7.     /**
  8.      * Transform the given value.
  9.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         $this->clean($request);
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Clean the request's data.
  9.      *
  1.             if ($callback($request)) {
  2.                 return $next($request);
  3.             }
  4.         }
  5.         return parent::handle($request$next);
  6.     }
  7.     /**
  8.      * Transform the given value.
  9.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.         if ($max && $request->server('CONTENT_LENGTH') > $max) {
  2.             throw new PostTooLargeException;
  3.         }
  4.         return $next($request);
  5.     }
  6.     /**
  7.      * Determine the server 'post_max_size' as bytes.
  8.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.                 null,
  2.                 $this->getHeaders($data)
  3.             );
  4.         }
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Determine if the incoming request has a maintenance mode bypass cookie.
  9.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.      * @return \Illuminate\Http\Response
  2.      */
  3.     public function handle($requestClosure $next)
  4.     {
  5.         if (! $this->hasMatchingPath($request)) {
  6.             return $next($request);
  7.         }
  8.         $this->cors->setOptions($this->container['config']->get('cors', []));
  9.         if ($this->cors->isPreflightRequest($request)) {
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.     {
  2.         $request::setTrustedProxies([], $this->getTrustedHeaderNames());
  3.         $this->setTrustedProxyIpAddresses($request);
  4.         return $next($request);
  5.     }
  6.     /**
  7.      * Sets the trusted proxies on the request.
  8.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.     {
  2.         $pipeline array_reduce(
  3.             array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
  4.         );
  5.         return $pipeline($this->passable);
  6.     }
  7.     /**
  8.      * Run the pipeline and return the result.
  9.      *
  1.         $this->bootstrap();
  2.         return (new Pipeline($this->app))
  3.                     ->send($request)
  4.                     ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
  5.                     ->then($this->dispatchToRouter());
  6.     }
  7.     /**
  8.      * Bootstrap the application for HTTP requests.
  9.      *
  1.         $this->requestStartedAt Carbon::now();
  2.         try {
  3.             $request->enableHttpMethodParameterOverride();
  4.             $response $this->sendRequestThroughRouter($request);
  5.         } catch (Throwable $e) {
  6.             $this->reportException($e);
  7.             $response $this->renderException($request$e);
  8.         }
  1. $app = require_once __DIR__.'/../bootstrap/app.php';
  2. $kernel $app->make(Kernel::class);
  3. $response $kernel->handle(
  4.     $request Request::capture()
  5. )->send();
  6. $kernel->terminate($request$response);

Stack Trace

RequestException
GuzzleHttp\Exception\RequestException:
cURL error 60: SSL certificate problem: certificate has expired (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://search.rezendscraft.net/indexes/discussions/search

  at /home/ploi/rezendscraft.net/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:211
  at GuzzleHttp\Handler\CurlFactory::createRejection()
     (/home/ploi/rezendscraft.net/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:158)
  at GuzzleHttp\Handler\CurlFactory::finishError()
     (/home/ploi/rezendscraft.net/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:110)
  at GuzzleHttp\Handler\CurlFactory::finish()
     (/home/ploi/rezendscraft.net/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php:47)
  at GuzzleHttp\Handler\CurlHandler->__invoke()
     (/home/ploi/rezendscraft.net/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:28)
  at GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}()
     (/home/ploi/rezendscraft.net/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:48)
  at GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}()
     (/home/ploi/rezendscraft.net/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php:64)
  at GuzzleHttp\PrepareBodyMiddleware->__invoke()
     (/home/ploi/rezendscraft.net/vendor/guzzlehttp/guzzle/src/Middleware.php:31)
  at GuzzleHttp\Middleware::GuzzleHttp\{closure}()
     (/home/ploi/rezendscraft.net/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php:55)
  at GuzzleHttp\RedirectMiddleware->__invoke()
     (/home/ploi/rezendscraft.net/vendor/guzzlehttp/guzzle/src/Middleware.php:61)
  at GuzzleHttp\Middleware::GuzzleHttp\{closure}()
     (/home/ploi/rezendscraft.net/vendor/guzzlehttp/guzzle/src/HandlerStack.php:75)
  at GuzzleHttp\HandlerStack->__invoke()
     (/home/ploi/rezendscraft.net/vendor/guzzlehttp/guzzle/src/Client.php:331)
  at GuzzleHttp\Client->transfer()
     (/home/ploi/rezendscraft.net/vendor/guzzlehttp/guzzle/src/Client.php:106)
  at GuzzleHttp\Client->sendAsync()
     (/home/ploi/rezendscraft.net/vendor/guzzlehttp/guzzle/src/Client.php:137)
  at GuzzleHttp\Client->sendRequest()
     (/home/ploi/rezendscraft.net/vendor/meilisearch/meilisearch-php/src/Http/Client.php:168)
  at Meilisearch\Http\Client->execute()
     (/home/ploi/rezendscraft.net/vendor/meilisearch/meilisearch-php/src/Http/Client.php:100)
  at Meilisearch\Http\Client->post()
     (/home/ploi/rezendscraft.net/vendor/meilisearch/meilisearch-php/src/Endpoints/Indexes.php:204)
  at Meilisearch\Endpoints\Indexes->rawSearch()
     (/home/ploi/rezendscraft.net/vendor/laravel/scout/src/Engines/MeilisearchEngine.php:161)
  at Laravel\Scout\Engines\MeilisearchEngine->performSearch()
     (/home/ploi/rezendscraft.net/vendor/laravel/scout/src/Engines/MeilisearchEngine.php:107)
  at Laravel\Scout\Engines\MeilisearchEngine->search()
     (/home/ploi/rezendscraft.net/vendor/laravel/scout/src/Engines/Engine.php:136)
  at Laravel\Scout\Engines\Engine->get()
     (/home/ploi/rezendscraft.net/vendor/laravel/scout/src/Builder.php:294)
  at Laravel\Scout\Builder->get()
     (/home/ploi/rezendscraft.net/app/Http/Controllers/ForumIndexController.php:22)
  at App\Http\Controllers\ForumIndexController->__invoke()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54)
  at Illuminate\Routing\Controller->callAction()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43)
  at Illuminate\Routing\ControllerDispatcher->dispatch()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Routing/Route.php:259)
  at Illuminate\Routing\Route->runController()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Routing/Route.php:205)
  at Illuminate\Routing\Route->run()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Routing/Router.php:798)
  at Illuminate\Routing\Router->Illuminate\Routing\{closure}()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Http/Middleware/AddLinkHeadersForPreloadedAssets.php:19)
  at Illuminate\Http\Middleware\AddLinkHeadersForPreloadedAssets->handle()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ploi/rezendscraft.net/vendor/inertiajs/inertia-laravel/src/Middleware.php:87)
  at Inertia\Middleware->handle()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:50)
  at Illuminate\Routing\Middleware\SubstituteBindings->handle()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78)
  at Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49)
  at Illuminate\View\Middleware\ShareErrorsFromSession->handle()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ploi/rezendscraft.net/app/Http/Middleware/SetLanguage.php:21)
  at App\Http\Middleware\SetLanguage->handle()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121)
  at Illuminate\Session\Middleware\StartSession->handleStatefulRequest()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64)
  at Illuminate\Session\Middleware\StartSession->handle()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37)
  at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67)
  at Illuminate\Cookie\Middleware\EncryptCookies->handle()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
  at Illuminate\Pipeline\Pipeline->then()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Routing/Router.php:797)
  at Illuminate\Routing\Router->runRouteWithinStack()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Routing/Router.php:776)
  at Illuminate\Routing\Router->runRoute()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Routing/Router.php:740)
  at Illuminate\Routing\Router->dispatchToRoute()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Routing/Router.php:729)
  at Illuminate\Routing\Router->dispatch()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:200)
  at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
  at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27)
  at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49)
  at Illuminate\Http\Middleware\HandleCors->handle()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39)
  at Illuminate\Http\Middleware\TrustProxies->handle()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
  at Illuminate\Pipeline\Pipeline->then()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:175)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
     (/home/ploi/rezendscraft.net/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144)
  at Illuminate\Foundation\Http\Kernel->handle()
     (/home/ploi/rezendscraft.net/public/index.php:51)