Symfony Exception

InvalidArgumentException

HTTP 500 Internal Server Error

View [elerhetoseg] 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.      * @return \Illuminate\Contracts\View\View
  2.      */
  3.     public function make($view$data = [], $mergeData = [])
  4.     {
  5.         $path $this->finder->find(
  6.             $view $this->normalizeName($view)
  7.         );
  8.         // Next, we will create the view instance and call the view creator for the view
  9.         // which can set any data, etc. Then we will return the view instance back to
  10.         // the caller for rendering or performing other view manipulations on this.
  1.         if (func_num_args() === 0) {
  2.             return $factory;
  3.         }
  4.         return $factory->make($view$data$mergeData);
  5.     }
  6. }
  1.     return view('gki');
  2. });
  3. $router->get('/elerhetosegek.html', function () use ($router) {
  4.     return view('elerhetoseg');
  5. });
  1.         if (static::isCallableWithAtSign($callback) || $defaultMethod) {
  2.             return static::callClass($container$callback$parameters$defaultMethod);
  3.         }
  4.         return static::callBoundMethod($container$callback, function () use ($container$callback$parameters) {
  5.             return $callback(...array_values(static::getMethodDependencies($container$callback$parameters)));
  6.         });
  7.     }
  8.     /**
  9.      * Call a string reference to a class using Class@method syntax.
  1.      * @param  mixed  $value
  2.      * @return mixed
  3.      */
  4.     public static function unwrapIfClosure($value)
  5.     {
  6.         return $value instanceof Closure $value() : $value;
  7.     }
  8.     /**
  9.      * Get the class name of the given parameter's type, if possible.
  10.      *
  1.      * @return mixed
  2.      */
  3.     protected static function callBoundMethod($container$callback$default)
  4.     {
  5.         if (! is_array($callback)) {
  6.             return Util::unwrapIfClosure($default);
  7.         }
  8.         // Here we need to turn the array callable into a Class@method string we can use to
  9.         // examine the container and see if there are any method bindings for this given
  10.         // method. If there are, we can call this method binding callback immediately.
  1.             return static::callClass($container$callback$parameters$defaultMethod);
  2.         }
  3.         return static::callBoundMethod($container$callback, function () use ($container$callback$parameters) {
  4.             return $callback(...array_values(static::getMethodDependencies($container$callback$parameters)));
  5.         });
  6.     }
  7.     /**
  8.      * Call a string reference to a class using Class@method syntax.
  9.      *
  1.      *
  2.      * @throws \InvalidArgumentException
  3.      */
  4.     public function call($callback, array $parameters = [], $defaultMethod null)
  5.     {
  6.         return BoundMethod::call($this$callback$parameters$defaultMethod);
  7.     }
  8.     /**
  9.      * Get a closure to resolve the given type from the container.
  10.      *
  1.         if (! isset($callable)) {
  2.             throw new RuntimeException('Unable to resolve route handler.');
  3.         }
  4.         try {
  5.             return $this->prepareResponse($this->call($callable$routeInfo[2]));
  6.         } catch (HttpResponseException $e) {
  7.             return $e->getResponse();
  8.         }
  9.     }
  1.                 return $this->callActionOnArrayBasedRoute($this['request']->route());
  2.             }));
  3.         }
  4.         return $this->prepareResponse(
  5.             $this->callActionOnArrayBasedRoute($routeInfo)
  6.         );
  7.     }
  8.     /**
  9.      * Call the Closure or invokable on the array based route.
  1.             return $this->sendThroughPipeline($this->middleware, function ($request) use ($method$pathInfo) {
  2.                 $this->instance(Request::class, $request);
  3.                 if (isset($this->router->getRoutes()[$method.$pathInfo])) {
  4.                     return $this->handleFoundRoute([true$this->router->getRoutes()[$method.$pathInfo]['action'], []]);
  5.                 }
  6.                 return $this->handleDispatcherResponse(
  7.                     $this->createDispatcher()->dispatch($method$pathInfo)
  8.                 );
  1.                 ->send($this->make('request'))
  2.                 ->through($middleware)
  3.                 ->then($then);
  4.         }
  5.         return $then($this->make('request'));
  6.     }
  7.     /**
  8.      * Prepare the response for sending.
  9.      *
  1.                 }
  2.                 return $this->handleDispatcherResponse(
  3.                     $this->createDispatcher()->dispatch($method$pathInfo)
  4.                 );
  5.             });
  6.         } catch (Throwable $e) {
  7.             return $this->prepareResponse($this->sendExceptionToHandler($e));
  8.         }
  9.     }
  1.      * @param  \Symfony\Component\HttpFoundation\Request|null  $request
  2.      * @return void
  3.      */
  4.     public function run($request null)
  5.     {
  6.         $response $this->dispatch($request);
  7.         if ($response instanceof SymfonyResponse) {
  8.             $response->send();
  9.         } else {
  10.             echo (string) $response;
  1. | the client's browser allowing them to enjoy the creative
  2. | and wonderful application we have prepared for them.
  3. |
  4. */
  5. $app->run();

Stack Trace

InvalidArgumentException
InvalidArgumentException:
View [elerhetoseg] not found.

  at /mnt/home/vitorlasjogsi/kamionjogositvany/vendor/illuminate/view/FileViewFinder.php:137
  at Illuminate\View\FileViewFinder->findInPaths()
     (/mnt/home/vitorlasjogsi/kamionjogositvany/vendor/illuminate/view/FileViewFinder.php:79)
  at Illuminate\View\FileViewFinder->find()
     (/mnt/home/vitorlasjogsi/kamionjogositvany/vendor/illuminate/view/Factory.php:138)
  at Illuminate\View\Factory->make()
     (/mnt/home/vitorlasjogsi/kamionjogositvany/vendor/laravel/lumen-framework/src/helpers.php:433)
  at view()
     (/mnt/home/vitorlasjogsi/kamionjogositvany/routes/web.php:50)
  at Closure->{closure}()
     (/mnt/home/vitorlasjogsi/kamionjogositvany/vendor/illuminate/container/BoundMethod.php:36)
  at Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
     (/mnt/home/vitorlasjogsi/kamionjogositvany/vendor/illuminate/container/Util.php:40)
  at Illuminate\Container\Util::unwrapIfClosure()
     (/mnt/home/vitorlasjogsi/kamionjogositvany/vendor/illuminate/container/BoundMethod.php:81)
  at Illuminate\Container\BoundMethod::callBoundMethod()
     (/mnt/home/vitorlasjogsi/kamionjogositvany/vendor/illuminate/container/BoundMethod.php:37)
  at Illuminate\Container\BoundMethod::call()
     (/mnt/home/vitorlasjogsi/kamionjogositvany/vendor/illuminate/container/Container.php:653)
  at Illuminate\Container\Container->call()
     (/mnt/home/vitorlasjogsi/kamionjogositvany/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:302)
  at Laravel\Lumen\Application->callActionOnArrayBasedRoute()
     (/mnt/home/vitorlasjogsi/kamionjogositvany/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:267)
  at Laravel\Lumen\Application->handleFoundRoute()
     (/mnt/home/vitorlasjogsi/kamionjogositvany/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:169)
  at Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
     (/mnt/home/vitorlasjogsi/kamionjogositvany/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:429)
  at Laravel\Lumen\Application->sendThroughPipeline()
     (/mnt/home/vitorlasjogsi/kamionjogositvany/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:175)
  at Laravel\Lumen\Application->dispatch()
     (/mnt/home/vitorlasjogsi/kamionjogositvany/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:112)
  at Laravel\Lumen\Application->run()
     (/mnt/home/vitorlasjogsi/kamionjogositvany/public/index.php:28)