Deprecated: optional(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Support/helpers.php on line 190

Deprecated: with(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Support/helpers.php on line 430

Deprecated: Illuminate\Container\Container::beforeResolving(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1151

Deprecated: Illuminate\Container\Container::resolving(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1171

Deprecated: Illuminate\Container\Container::afterResolving(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1191

Deprecated: Illuminate\Container\Container::setInstance(): Implicitly marking parameter $container as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1430

Deprecated: Illuminate\Contracts\Container\Container::beforeResolving(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Contracts/Container/Container.php on line 200

Deprecated: Illuminate\Contracts\Container\Container::resolving(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Contracts/Container/Container.php on line 209

Deprecated: Illuminate\Contracts\Container\Container::afterResolving(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Contracts/Container/Container.php on line 218

Deprecated: Illuminate\Support\Arr::first(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Collections/Arr.php on line 188

Deprecated: Illuminate\Support\Arr::last(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Collections/Arr.php on line 219

Deprecated: Illuminate\Routing\Router::__construct(): Implicitly marking parameter $container as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Routing/Router.php on line 143

Deprecated: Illuminate\Routing\Router::model(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Routing/Router.php on line 1164

Deprecated: Illuminate\Events\Dispatcher::__construct(): Implicitly marking parameter $container as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php on line 75

Deprecated: Illuminate\Http\Request::duplicate(): Implicitly marking parameter $query as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Http/Request.php on line 502

Deprecated: Illuminate\Http\Request::duplicate(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Http/Request.php on line 502

Deprecated: Illuminate\Http\Request::duplicate(): Implicitly marking parameter $attributes as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Http/Request.php on line 502

Deprecated: Illuminate\Http\Request::duplicate(): Implicitly marking parameter $cookies as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Http/Request.php on line 502

Deprecated: Illuminate\Http\Request::duplicate(): Implicitly marking parameter $files as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Http/Request.php on line 502

Deprecated: Illuminate\Http\Request::duplicate(): Implicitly marking parameter $server as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Http/Request.php on line 502

Deprecated: Illuminate\Http\Concerns\InteractsWithInput::whenHas(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Http/Concerns/InteractsWithInput.php on line 123

Deprecated: Illuminate\Http\Concerns\InteractsWithInput::whenFilled(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Http/Concerns/InteractsWithInput.php on line 201

Deprecated: Illuminate\Http\Concerns\InteractsWithInput::whenMissing(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Http/Concerns/InteractsWithInput.php on line 235

Deprecated: Illuminate\Support\Str::createRandomStringsUsing(): Implicitly marking parameter $factory as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Support/Str.php on line 962

Deprecated: Illuminate\Support\Str::createUuidsUsing(): Implicitly marking parameter $factory as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Support/Str.php on line 1668

Deprecated: Illuminate\Support\Str::freezeUuids(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Support/Str.php on line 1713

Deprecated: Illuminate\Support\Str::createUlidsUsing(): Implicitly marking parameter $factory as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Support/Str.php on line 1775

Deprecated: Illuminate\Support\Str::freezeUlids(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Support/Str.php on line 1820

Deprecated: Carbon\Traits\Date::getDaysFromStartOfWeek(): Implicitly marking parameter $weekStartsAt as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1394

Deprecated: Carbon\Traits\Date::setDaysFromStartOfWeek(): Implicitly marking parameter $weekStartsAt as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1412

Deprecated: Carbon\Traits\Date::utcOffset(): Implicitly marking parameter $minuteOffset as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 1481

Deprecated: Carbon\Traits\Localization::locale(): Implicitly marking parameter $locale as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/nesbot/carbon/src/Carbon/Traits/Localization.php on line 447

Deprecated: Carbon\Traits\Test::setDefaultTimezone(): Implicitly marking parameter $date as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/nesbot/carbon/src/Carbon/Traits/Test.php on line 203

Deprecated: Return type of Carbon\Traits\Date::createFromTimestamp($timestamp, $tz = null) should either be compatible with DateTime::createFromTimestamp(int|float $timestamp): static, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/ecomute/public_html/web/vendor/nesbot/carbon/src/Carbon/Traits/Timestamp.php on line 29

Deprecated: Illuminate\Support\Traits\Conditionable::when(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Conditionable/Traits/Conditionable.php on line 21

Deprecated: Illuminate\Support\Traits\Conditionable::when(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Conditionable/Traits/Conditionable.php on line 21

Deprecated: Illuminate\Support\Traits\Conditionable::unless(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Conditionable/Traits/Conditionable.php on line 53

Deprecated: Illuminate\Support\Traits\Conditionable::unless(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Conditionable/Traits/Conditionable.php on line 53

Deprecated: Carbon\CarbonTimeZone::toOffsetName(): Implicitly marking parameter $date as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/nesbot/carbon/src/Carbon/CarbonTimeZone.php on line 158

Deprecated: Carbon\CarbonTimeZone::toOffsetTimeZone(): Implicitly marking parameter $date as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/nesbot/carbon/src/Carbon/CarbonTimeZone.php on line 172

Deprecated: Carbon\CarbonTimeZone::toRegionName(): Implicitly marking parameter $date as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/nesbot/carbon/src/Carbon/CarbonTimeZone.php on line 188

Deprecated: Carbon\CarbonTimeZone::toRegionTimeZone(): Implicitly marking parameter $date as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/nesbot/carbon/src/Carbon/CarbonTimeZone.php on line 230

Deprecated: Illuminate\Support\Collection::filter(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Collections/Collection.php on line 385

Deprecated: Illuminate\Support\Collection::first(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Collections/Collection.php on line 403

Deprecated: Illuminate\Support\Collection::last(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Collections/Collection.php on line 751

Deprecated: Illuminate\Support\Traits\EnumeratesValues::times(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php on line 167

Deprecated: Illuminate\Support\Traits\EnumeratesValues::whenEmpty(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php on line 537

Deprecated: Illuminate\Support\Traits\EnumeratesValues::whenNotEmpty(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php on line 551

Deprecated: Illuminate\Support\Traits\EnumeratesValues::unlessEmpty(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php on line 565

Deprecated: Illuminate\Support\Traits\EnumeratesValues::unlessNotEmpty(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php on line 579

Deprecated: Illuminate\Support\Enumerable::times(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Collections/Enumerable.php on line 41

Deprecated: Illuminate\Support\Enumerable::filter(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Collections/Enumerable.php on line 299

Deprecated: Illuminate\Support\Enumerable::when(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Collections/Enumerable.php on line 311

Deprecated: Illuminate\Support\Enumerable::when(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Collections/Enumerable.php on line 311

Deprecated: Illuminate\Support\Enumerable::whenEmpty(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Collections/Enumerable.php on line 322

Deprecated: Illuminate\Support\Enumerable::whenNotEmpty(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Collections/Enumerable.php on line 333

Deprecated: Illuminate\Support\Enumerable::unless(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Collections/Enumerable.php on line 345

Deprecated: Illuminate\Support\Enumerable::unlessEmpty(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Collections/Enumerable.php on line 356

Deprecated: Illuminate\Support\Enumerable::unlessNotEmpty(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Collections/Enumerable.php on line 367

Deprecated: Illuminate\Support\Enumerable::first(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Collections/Enumerable.php on line 479

Deprecated: Illuminate\Support\Enumerable::last(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Collections/Enumerable.php on line 621

Deprecated: voku\helper\ASCII::to_ascii(): Implicitly marking parameter $replace_single_chars_only as nullable is deprecated, the explicit nullable type must be used instead in /home/ecomute/public_html/web/vendor/voku/portable-ascii/src/voku/helper/ASCII.php on line 795
View [pages.sitemap] not found. (500 Internal Server Error)

Symfony Exception

InvalidArgumentException

HTTP 500 Internal Server Error

View [pages.sitemap] not found.

Exception

InvalidArgumentException

  1. return $viewPath;
  2. }
  3. }
  4. }
  5. throw new InvalidArgumentException("View [{$name}] not found.");
  6. }
  7. /**
  8. * Get an array of possible view files.
  9. *
  1. if ($this->hasHintInformation($name = trim($name))) {
  2. return $this->views[$name] = $this->findNamespacedView($name);
  3. }
  4. return $this->views[$name] = $this->findInPaths($name, $this->paths);
  5. }
  6. /**
  7. * Get the path to a template with a named path.
  8. *
  1. * @param array $mergeData
  2. * @return \Illuminate\Contracts\View\View
  3. */
  4. public function make($view, $data = [], $mergeData = [])
  5. {
  6. $path = $this->finder->find(
  7. $view = $this->normalizeName($view)
  8. );
  9. // Next, we will create the view instance and call the view creator for the view
  10. // which can set any data, etc. Then we will return the view instance back to
  1. {
  2. if (is_array($view)) {
  3. return $this->make($this->view->first($view, $data), $status, $headers);
  4. }
  5. return $this->make($this->view->make($view, $data), $status, $headers);
  6. }
  7. /**
  8. * Create a new JSON response instance.
  9. *
ResponseFactory->view('pages.sitemap', array('pages' => object(Collection), 'products' => object(Collection))) in /home/ecomute/public_html/web/app/Http/Controllers/MainController.php (line 33)
  1. {
  2. $pages = Page::visible()->get();
  3. $products = Product::active()->get();
  4. return response()->view('pages.sitemap', [
  5. 'pages' => $pages,
  6. 'products' => $products,
  7. ])->header('Content-Type', 'application/xml');
  8. }
  9. }
  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.
in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php -> {closure:Illuminate\Routing\Router::runRouteWithinStack():805} (line 144)
  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 /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php -> {closure:Illuminate\Pipeline\Pipeline::prepareDestination():142} (line 50)
  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);
in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php -> {closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159} (line 78)
  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);
in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php -> {closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159} (line 49)
  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);
in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php -> {closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159} (line 121)
  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);
in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php -> {closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159} (line 37)
  1. * @param \Closure $next
  2. * @return mixed
  3. */
  4. public function handle($request, Closure $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);
in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php -> {closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159} (line 67)
  1. * @param \Closure $next
  2. * @return \Symfony\Component\HttpFoundation\Response
  3. */
  4. public function handle($request, Closure $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);
in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php -> {closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159} (line 119)
  1. {
  2. $pipeline = array_reduce(
  3. array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
  4. );
  5. return $pipeline($this->passable);
  6. }
  7. /**
  8. * Run the pipeline and return the result.
  9. *
  1. $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
  2. return (new Pipeline($this->container))
  3. ->send($request)
  4. ->through($middleware)
  5. ->then(fn ($request) => $this->prepareResponse(
  6. $request, $route->run()
  7. ));
  8. }
  9. /**
  1. $request->setRouteResolver(fn () => $route);
  2. $this->events->dispatch(new RouteMatched($route, $request));
  3. return $this->prepareResponse($request,
  4. $this->runRouteWithinStack($route, $request)
  5. );
  6. }
  7. /**
  8. * Run the given route within a Stack "onion" instance.
  1. * @param \Illuminate\Http\Request $request
  2. * @return \Symfony\Component\HttpFoundation\Response
  3. */
  4. public function dispatchToRoute(Request $request)
  5. {
  6. return $this->runRoute($request, $this->findRoute($request));
  7. }
  8. /**
  9. * Find the route matching a given request.
  10. *
  1. */
  2. public function dispatch(Request $request)
  3. {
  4. $this->currentRequest = $request;
  5. return $this->dispatchToRoute($request);
  6. }
  7. /**
  8. * Dispatch the request to a route and return the response.
  9. *
  1. protected function dispatchToRouter()
  2. {
  3. return function ($request) {
  4. $this->app->instance('request', $request);
  5. return $this->router->dispatch($request);
  6. };
  7. }
  8. /**
  9. * Call the terminate method on any terminable middleware.
in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php -> {closure:Illuminate\Foundation\Http\Kernel::dispatchToRouter():197} (line 144)
  1. */
  2. protected function prepareDestination(Closure $destination)
  3. {
  4. return function ($passable) use ($destination) {
  5. try {
  6. return $destination($passable);
  7. } catch (Throwable $e) {
  8. return $this->handleException($passable, $e);
  9. }
  10. };
  11. }
  1. * @param \Closure $next
  2. * @return mixed
  3. */
  4. public function handle($request, Closure $next)
  5. {
  6. $response = $next($request);
  7. if ($response instanceof Response && SupportDisablingBackButtonCache::$disableBackButtonCache){
  8. $response->headers->add([
  9. 'Pragma' => 'no-cache',
  10. 'Expires' => 'Fri, 01 Jan 1990 00:00:00 GMT',
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php -> {closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159} (line 21)
  1. */
  2. public function handle($request, Closure $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);
in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php -> {closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159} (line 21)
  1. */
  2. public function handle($request, Closure $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);
in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php -> {closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159} (line 27)
  1. if ($max > 0 && $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 /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php -> {closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159} (line 49)
  1. * @return \Illuminate\Http\Response
  2. */
  3. public function handle($request, Closure $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);
in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php -> {closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159} (line 39)
  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);
in /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php -> {closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159} (line 119)
  1. {
  2. $pipeline = array_reduce(
  3. array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
  4. );
  5. return $pipeline($this->passable);
  6. }
  7. /**
  8. * Run the pipeline and return the result.
  9. *
  1. $this->bootstrap();
  2. return (new Pipeline($this->app))
  3. ->send($request)
  4. ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
  5. ->then($this->dispatchToRouter());
  6. }
  7. /**
  8. * Bootstrap the application for HTTP requests.
  9. *
  1. $this->requestStartedAt = Carbon::now();
  2. try {
  3. $request->enableHttpMethodParameterOverride();
  4. $response = $this->sendRequestThroughRouter($request);
  5. } catch (Throwable $e) {
  6. $this->reportException($e);
  7. $response = $this->renderException($request, $e);
  8. }
Kernel->handle(object(Request)) in /home/ecomute/public_html/web/public/index.php (line 51)
  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);
require_once('/home/ecomute/public_html/web/public/index.php') in /home/ecomute/public_html/web/server.php (line 21)
  1. // application without having installed a "real" web server software here.
  2. if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) {
  3. return false;
  4. }
  5. require_once __DIR__.'/public/index.php';

Stack Trace

InvalidArgumentException
InvalidArgumentException:
View [pages.sitemap] not found.

  at /home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:137
  at Illuminate\View\FileViewFinder->findInPaths('pages.sitemap', array('/home/ecomute/public_html/web/resources/views'))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:79)
  at Illuminate\View\FileViewFinder->find('pages.sitemap')
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/View/Factory.php:137)
  at Illuminate\View\Factory->make('pages.sitemap', array('pages' => object(Collection), 'products' => object(Collection)))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:88)
  at Illuminate\Routing\ResponseFactory->view('pages.sitemap', array('pages' => object(Collection), 'products' => object(Collection)))
     (/home/ecomute/public_html/web/app/Http/Controllers/MainController.php:33)
  at App\Http\Controllers\MainController->sitemap()
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54)
  at Illuminate\Routing\Controller->callAction('sitemap', array())
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43)
  at Illuminate\Routing\ControllerDispatcher->dispatch(object(Route), object(MainController), 'sitemap')
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Routing/Route.php:259)
  at Illuminate\Routing\Route->runController()
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Routing/Route.php:205)
  at Illuminate\Routing\Route->run()
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Routing/Router.php:806)
  at Illuminate\Routing\Router->{closure:Illuminate\Routing\Router::runRouteWithinStack():805}(object(Request))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:144)
  at Illuminate\Pipeline\Pipeline->{closure:Illuminate\Pipeline\Pipeline::prepareDestination():142}(object(Request))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:50)
  at Illuminate\Routing\Middleware\SubstituteBindings->handle(object(Request), object(Closure))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159}(object(Request))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78)
  at Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle(object(Request), object(Closure))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159}(object(Request))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49)
  at Illuminate\View\Middleware\ShareErrorsFromSession->handle(object(Request), object(Closure))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159}(object(Request))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121)
  at Illuminate\Session\Middleware\StartSession->handleStatefulRequest(object(Request), object(Store), object(Closure))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64)
  at Illuminate\Session\Middleware\StartSession->handle(object(Request), object(Closure))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159}(object(Request))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37)
  at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159}(object(Request))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67)
  at Illuminate\Cookie\Middleware\EncryptCookies->handle(object(Request), object(Closure))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159}(object(Request))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:119)
  at Illuminate\Pipeline\Pipeline->then(object(Closure))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Routing/Router.php:805)
  at Illuminate\Routing\Router->runRouteWithinStack(object(Route), object(Request))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Routing/Router.php:784)
  at Illuminate\Routing\Router->runRoute(object(Request), object(Route))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Routing/Router.php:748)
  at Illuminate\Routing\Router->dispatchToRoute(object(Request))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Routing/Router.php:737)
  at Illuminate\Routing\Router->dispatch(object(Request))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:200)
  at Illuminate\Foundation\Http\Kernel->{closure:Illuminate\Foundation\Http\Kernel::dispatchToRouter():197}(object(Request))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:144)
  at Illuminate\Pipeline\Pipeline->{closure:Illuminate\Pipeline\Pipeline::prepareDestination():142}(object(Request))
     (/home/ecomute/public_html/web/vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php:19)
  at Livewire\Features\SupportDisablingBackButtonCache\DisableBackButtonCacheMiddleware->handle(object(Request), object(Closure))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159}(object(Request))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
  at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(object(Request), object(Closure))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159}(object(Request))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle(object(Request), object(Closure))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159}(object(Request))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27)
  at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159}(object(Request))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:99)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(object(Request), object(Closure))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159}(object(Request))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49)
  at Illuminate\Http\Middleware\HandleCors->handle(object(Request), object(Closure))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159}(object(Request))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39)
  at Illuminate\Http\Middleware\TrustProxies->handle(object(Request), object(Closure))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->{closure:{closure:Illuminate\Pipeline\Pipeline::carry():158}:159}(object(Request))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:119)
  at Illuminate\Pipeline\Pipeline->then(object(Closure))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:175)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request))
     (/home/ecomute/public_html/web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144)
  at Illuminate\Foundation\Http\Kernel->handle(object(Request))
     (/home/ecomute/public_html/web/public/index.php:51)
  at require_once('/home/ecomute/public_html/web/public/index.php')
     (/home/ecomute/public_html/web/server.php:21)