Symfony Exception

InvalidArgumentException

HTTP 500 Internal Server Error

No hint path defined for [laravel-exceptions-renderer].

Exception

InvalidArgumentException

  1. if (count($segments) !== 2) {
  2. throw new InvalidArgumentException("View [{$name}] has an invalid name.");
  3. }
  4. if (! isset($this->hints[$segments[0]])) {
  5. throw new InvalidArgumentException("No hint path defined for [{$segments[0]}].");
  6. }
  7. return $segments;
  8. }
  1. * @param string $name
  2. * @return string
  3. */
  4. protected function findNamespacedView($name)
  5. {
  6. [$namespace, $view] = $this->parseNamespaceSegments($name);
  7. return $this->findInPaths($view, $this->hints[$namespace]);
  8. }
  9. /**
  1. if (isset($this->views[$name])) {
  2. return $this->views[$name];
  3. }
  4. if ($this->hasHintInformation($name = trim($name))) {
  5. return $this->views[$name] = $this->findNamespacedView($name);
  6. }
  7. return $this->views[$name] = $this->findInPaths($name, $this->paths);
  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. $flattenException = $this->bladeMapper->map(
  3. $this->htmlErrorRenderer->render($throwable),
  4. );
  5. return $this->viewFactory->make('laravel-exceptions-renderer::show', [
  6. 'exception' => new Exception($flattenException, $request, $this->listener, $this->basePath),
  7. ])->render();
  8. }
  9. /**
  1. try {
  2. if (config('app.debug')) {
  3. if (app()->has(ExceptionRenderer::class)) {
  4. return $this->renderExceptionWithCustomRenderer($e);
  5. } elseif ($this->container->bound(Renderer::class)) {
  6. return $this->container->make(Renderer::class)->render(request(), $e);
  7. }
  8. }
  9. return $this->renderExceptionWithSymfony($e, config('app.debug'));
  10. } catch (Throwable $e) {
  1. * @return \Symfony\Component\HttpFoundation\Response
  2. */
  3. protected function convertExceptionToResponse(Throwable $e)
  4. {
  5. return new SymfonyResponse(
  6. $this->renderExceptionContent($e),
  7. $this->isHttpException($e) ? $e->getStatusCode() : 500,
  8. $this->isHttpException($e) ? $e->getHeaders() : []
  9. );
  10. }
  1. * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse
  2. */
  3. protected function prepareResponse($request, Throwable $e)
  4. {
  5. if (! $this->isHttpException($e) && config('app.debug')) {
  6. return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e)->prepare($request);
  7. }
  8. if (! $this->isHttpException($e)) {
  9. $e = new HttpException(500, $e->getMessage(), $e);
  10. }
  1. */
  2. protected function renderExceptionResponse($request, Throwable $e)
  3. {
  4. return $this->shouldReturnJson($request, $e)
  5. ? $this->prepareJsonResponse($request, $e)
  6. : $this->prepareResponse($request, $e);
  7. }
  8. /**
  9. * Convert an authentication exception into a response.
  10. *
  1. return $this->finalizeRenderedResponse($request, match (true) {
  2. $e instanceof HttpResponseException => $e->getResponse(),
  3. $e instanceof AuthenticationException => $this->unauthenticated($request, $e),
  4. $e instanceof ValidationException => $this->convertValidationExceptionToResponse($e, $request),
  5. default => $this->renderExceptionResponse($request, $e),
  6. }, $e);
  7. }
  8. /**
  9. * Prepare the final, rendered response to be returned to the browser.
Handler->render() in /var/www/html/app/Exceptions/Handler.php (line 67)
  1. // PC向けテンプレートを返す
  2. return response()->view('errors.404', [], 404);
  3. }
  4. }
  5. return parent::render($request, $e);
  6. }
  7. }
  1. $handler = $this->container->make(ExceptionHandler::class);
  2. $handler->report($e);
  3. $response = $handler->render($passable, $e);
  4. if (is_object($response) && method_exists($response, 'withException')) {
  5. $response->withException($e);
  6. }
  1. {
  2. return function ($passable) use ($destination) {
  3. try {
  4. return $destination($passable);
  5. } catch (Throwable $e) {
  6. return $this->handleException($passable, $e);
  7. }
  8. };
  9. }
  10. /**
  1. }
  2. throw $exception;
  3. }
  4. return $next($request);
  5. }
  6. }
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
  1. $this->isReading($request) ||
  2. $this->runningUnitTests() ||
  3. $this->inExceptArray($request) ||
  4. $this->tokensMatch($request)
  5. ) {
  6. return tap($next($request), function ($response) use ($request) {
  7. if ($this->shouldAddXsrfTokenCookie()) {
  8. $this->addCookieToResponse($request, $response);
  9. }
  10. });
  11. }
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
  1. // Putting the errors in the view for every view allows the developer to just
  2. // assume that some errors are always available, which is convenient since
  3. // they don't have to continually run checks for the presence of errors.
  4. return $next($request);
  5. }
  6. }
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
  1. $this->startSession($request, $session)
  2. );
  3. $this->collectGarbage($session);
  4. $response = $next($request);
  5. $this->storeCurrentUrl($request, $session);
  6. $this->addCookieToResponse($response, $session);
  1. if ($this->manager->shouldBlock() ||
  2. ($request->route() instanceof Route && $request->route()->locksFor())) {
  3. return $this->handleRequestWhileBlocking($request, $session, $next);
  4. }
  5. return $this->handleStatefulRequest($request, $session, $next);
  6. }
  7. /**
  8. * Handle the given request within session state.
  9. *
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
  1. * @param \Closure $next
  2. * @return mixed
  3. */
  4. public function handle($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);
  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);
  1. {
  2. $pipeline = array_reduce(
  3. array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
  4. );
  5. return $pipeline($this->passable);
  6. }
  7. /**
  8. * Run the pipeline and return the result.
  9. *
  1. $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
  2. return (new Pipeline($this->container))
  3. ->send($request)
  4. ->through($middleware)
  5. ->then(fn ($request) => $this->prepareResponse(
  6. $request, $route->run()
  7. ));
  8. }
  9. /**
  1. $request->setRouteResolver(fn () => $route);
  2. $this->events->dispatch(new RouteMatched($route, $request));
  3. return $this->prepareResponse($request,
  4. $this->runRouteWithinStack($route, $request)
  5. );
  6. }
  7. /**
  8. * Run the given route within a Stack "onion" instance.
  1. * @param \Illuminate\Http\Request $request
  2. * @return \Symfony\Component\HttpFoundation\Response
  3. */
  4. public function dispatchToRoute(Request $request)
  5. {
  6. return $this->runRoute($request, $this->findRoute($request));
  7. }
  8. /**
  9. * Find the route matching a given request.
  10. *
  1. */
  2. public function dispatch(Request $request)
  3. {
  4. $this->currentRequest = $request;
  5. return $this->dispatchToRoute($request);
  6. }
  7. /**
  8. * Dispatch the request to a route and return the response.
  9. *
  1. protected function dispatchToRouter()
  2. {
  3. return function ($request) {
  4. $this->app->instance('request', $request);
  5. return $this->router->dispatch($request);
  6. };
  7. }
  8. /**
  9. * Call the terminate method on any terminable middleware.
in /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php -> Illuminate\Foundation\Http\{closure} (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. * @return mixed
  2. */
  3. public function handle($request, Closure $next)
  4. {
  5. if (!$this->debugbar->isEnabled() || $this->inExceptArray($request)) {
  6. return $next($request);
  7. }
  8. $this->debugbar->boot();
  9. try {
  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 /var/www/html/app/Http/Middleware/ViewSwitchMiddleware.php (line 61)
  1. //View設定の読込
  2. $this->setViewSetting();
  3. return $next($this->request);
  4. }
  5. private function setViewSetting(){
  6. $template = $this->sitestatus->getTemplate();
  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. 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);
Pipeline->Illuminate\Pipeline\{closure}() in /var/www/html/app/Http/Middleware/BlockIp.php (line 88)
  1. if($this->isBlockIp($this->ip,$bip)){
  2. //ブロック処理
  3. $this->blockAction();
  4. }
  5. }
  6. return $next($request);
  7. }
  8. /*
  9. * HTTP_X_FORWARDED_FOR があれば $_SERVER['REMOTE_ADDR'] 上書き
  10. */
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
Pipeline->Illuminate\Pipeline\{closure}() in /var/www/html/app/Http/Middleware/DomainCheck.php (line 44)
  1. /*
  2. * メイン処理
  3. */
  4. public function handle($request, Closure $next)
  5. {
  6. return $next($request);
  7. }
  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. */
  2. public function handleRequest(Request $request)
  3. {
  4. $kernel = $this->make(HttpKernelContract::class);
  5. $response = $kernel->handle($request)->send();
  6. $kernel->terminate($request, $response);
  7. }
  8. /**
Application->handleRequest() in /var/www/html/public/index.php (line 17)
  1. // Register the Composer autoloader...
  2. require __DIR__.'/../vendor/autoload.php';
  3. // Bootstrap Laravel and handle the request...
  4. (require_once __DIR__.'/../bootstrap/app.php')
  5. ->handleRequest(Request::capture());

Stack Trace

InvalidArgumentException
InvalidArgumentException:
No hint path defined for [laravel-exceptions-renderer].

  at /var/www/html/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:112
  at Illuminate\View\FileViewFinder->parseNamespaceSegments()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:90)
  at Illuminate\View\FileViewFinder->findNamespacedView()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:76)
  at Illuminate\View\FileViewFinder->find()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/View/Factory.php:151)
  at Illuminate\View\Factory->make()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Renderer/Renderer.php:92)
  at Illuminate\Foundation\Exceptions\Renderer\Renderer->render()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:845)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionContent()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:826)
  at Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:805)
  at Illuminate\Foundation\Exceptions\Handler->prepareResponse()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:704)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:592)
  at Illuminate\Foundation\Exceptions\Handler->render()
     (/var/www/html/app/Exceptions/Handler.php:67)
  at App\Exceptions\Handler->render()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51)
  at Illuminate\Routing\Pipeline->handleException()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:146)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:51)
  at Illuminate\Routing\Middleware\SubstituteBindings->handle()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:88)
  at Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49)
  at Illuminate\View\Middleware\ShareErrorsFromSession->handle()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121)
  at Illuminate\Session\Middleware\StartSession->handleStatefulRequest()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64)
  at Illuminate\Session\Middleware\StartSession->handle()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37)
  at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:75)
  at Illuminate\Cookie\Middleware\EncryptCookies->handle()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:119)
  at Illuminate\Pipeline\Pipeline->then()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:807)
  at Illuminate\Routing\Router->runRouteWithinStack()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:786)
  at Illuminate\Routing\Router->runRoute()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:750)
  at Illuminate\Routing\Router->dispatchToRoute()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:739)
  at Illuminate\Routing\Router->dispatch()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:201)
  at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:144)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/html/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php:59)
  at Barryvdh\Debugbar\Middleware\InjectDebugbar->handle()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/html/app/Http/Middleware/ViewSwitchMiddleware.php:61)
  at App\Http\Middleware\ViewSwitchMiddleware->handle()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:58)
  at Illuminate\Http\Middleware\TrustProxies->handle()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:51)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/html/app/Http/Middleware/BlockIp.php:88)
  at App\Http\Middleware\BlockIp->handle()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/html/app/Http/Middleware/DomainCheck.php:44)
  at App\Http\Middleware\DomainCheck->handle()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:119)
  at Illuminate\Pipeline\Pipeline->then()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:176)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:145)
  at Illuminate\Foundation\Http\Kernel->handle()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:1188)
  at Illuminate\Foundation\Application->handleRequest()
     (/var/www/html/public/index.php:17)