http://84.23.52.87:8000/login

Exceptions

Unable to find template "auth/login.html.twig" (looked into: /home/back/www/expert-platform/templates, /home/back/www/expert-platform/vendor/symfony/twig-bridge/Resources/views/Form).

Exception

Twig\Error\ LoaderError

  1.         if (!$throw) {
  2.             return null;
  3.         }
  4.         throw new LoaderError($this->errorCache[$name]);
  5.     }
  6.     private function normalizeName(string $name): string
  7.     {
  8.         return preg_replace('#/{2,}#''/'str_replace('\\''/'$name));
  1.      * @return string|null
  2.      */
  3.     protected function findTemplate($template$throw true)
  4.     {
  5.         try {
  6.             return parent::findTemplate($template$throw);
  7.         } catch (LoaderError $e) {
  8.             if ('' === $template || '@' === $template[0] || !preg_match('/^(?P<bundle>[^:]*?)(?:Bundle)?:(?P<path>[^:]*+):(?P<template>.+\.[^\.]+\.[^\.]+)$/'$template$m)) {
  9.                 throw $e;
  10.             }
  11.             if ('' !== $m['path']) {
  1.         return new Source(file_get_contents($path), $name$path);
  2.     }
  3.     public function getCacheKey(string $name): string
  4.     {
  5.         if (null === $path $this->findTemplate($name)) {
  6.             return '';
  7.         }
  8.         $len = \strlen($this->rootPath);
  9.         if (=== strncmp($this->rootPath$path$len)) {
  10.             return substr($path$len);
in vendor/twig/twig/src/Environment.php -> getCacheKey (line 261)
  1.      *
  2.      * @internal
  3.      */
  4.     public function getTemplateClass(string $nameint $index null): string
  5.     {
  6.         $key $this->getLoader()->getCacheKey($name).$this->optionsHash;
  7.         return $this->templateClassPrefix.hash('sha256'$key).(null === $index '' '___'.$index);
  8.     }
  9.     /**
in vendor/twig/twig/src/Environment.php -> getTemplateClass (line 309)
  1.     {
  2.         if ($name instanceof TemplateWrapper) {
  3.             return $name;
  4.         }
  5.         return new TemplateWrapper($this$this->loadTemplate($this->getTemplateClass($name), $name));
  6.     }
  7.     /**
  8.      * Loads a template internal representation.
  9.      *
  1.      * @throws SyntaxError  When an error occurred during compilation
  2.      * @throws RuntimeError When an error occurred during rendering
  3.      */
  4.     public function render($name, array $context = []): string
  5.     {
  6.         return $this->load($name)->render($context);
  7.     }
  8.     /**
  9.      * Displays a template.
  10.      *
  1.         if ($this->container->has('templating') && $this->container->get('templating')->supports($view)) {
  2.             @trigger_error('Using the "templating" service is deprecated since version 4.3 and will be removed in 5.0; use Twig instead.', \E_USER_DEPRECATED);
  3.             $content $this->container->get('templating')->render($view$parameters);
  4.         } elseif ($this->container->has('twig')) {
  5.             $content $this->container->get('twig')->render($view$parameters);
  6.         } else {
  7.             throw new \LogicException('You can not use the "render" method if the Templating Component or the Twig Bundle are not available. Try running "composer require symfony/twig-bundle".');
  8.         }
  9.         if (null === $response) {
AbstractController->render() in src/Controller/SecurityController.php (line 26)
  1.         // get the login error if there is one
  2.         $error $authenticationUtils->getLastAuthenticationError();
  3.         // last username entered by the user
  4.         $lastUsername $authenticationUtils->getLastUsername();
  5.         return $this->render('auth/login.html.twig', ['last_username' => $lastUsername'error' => $error]);
  6.     }
  7.     /**
  8.      * @Route("/logout", name="app_logout")
  9.      */
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     public function handle(Request $request$type HttpKernelInterface::MASTER_REQUEST$catch true)
  2.     {
  3.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
Kernel->handle() in public/index.php (line 25)
  1.     Request::setTrustedHosts([$trustedHosts]);
  2. }
  3. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Logs

Level Channel Message
INFO 23:35:07 php User Deprecated: Since doctrine/doctrine-bundle 2.4: The "connection_override_options" connection parameter is deprecated
{
    "exception": {}
}
INFO 23:35:07 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "latest"
    },
    "request_uri": "http://84.23.52.87:8000/_profiler/latest?ip=3.139.108.13",
    "method": "GET"
}
INFO 23:35:07 request Matched route "_profiler_exception_css".
{
    "route": "_profiler_exception_css",
    "route_parameters": {
        "_route": "_profiler_exception_css",
        "_controller": "web_profiler.controller.exception_panel::stylesheet",
        "token": "ab5bbb"
    },
    "request_uri": "http://84.23.52.87:8000/_profiler/ab5bbb/exception.css",
    "method": "GET"
}
INFO 23:35:07 request Matched route "_profiler_search_bar".
{
    "route": "_profiler_search_bar",
    "route_parameters": {
        "_route": "_profiler_search_bar",
        "_controller": "web_profiler.controller.profiler::searchBarAction"
    },
    "request_uri": "http://84.23.52.87:8000/_profiler/search_bar?ip=3.139.108.13",
    "method": "GET"
}
INFO 23:35:07 request Matched route "_profiler_exception".
{
    "route": "_profiler_exception",
    "route_parameters": {
        "_route": "_profiler_exception",
        "_controller": "web_profiler.controller.exception_panel::body",
        "token": "ab5bbb"
    },
    "request_uri": "http://84.23.52.87:8000/_profiler/ab5bbb/exception",
    "method": "GET"
}

Stack Trace

LoaderError

Twig\Error\LoaderError:
Unable to find template "auth/login.html.twig" (looked into: /home/back/www/expert-platform/templates, /home/back/www/expert-platform/vendor/symfony/twig-bridge/Resources/views/Form).

  at vendor/twig/twig/src/Loader/FilesystemLoader.php:227
  at Twig\Loader\FilesystemLoader->findTemplate()
     (vendor/symfony/twig-bundle/Loader/NativeFilesystemLoader.php:32)
  at Symfony\Bundle\TwigBundle\Loader\NativeFilesystemLoader->findTemplate()
     (vendor/twig/twig/src/Loader/FilesystemLoader.php:131)
  at Twig\Loader\FilesystemLoader->getCacheKey()
     (vendor/twig/twig/src/Environment.php:261)
  at Twig\Environment->getTemplateClass()
     (vendor/twig/twig/src/Environment.php:309)
  at Twig\Environment->load()
     (vendor/twig/twig/src/Environment.php:277)
  at Twig\Environment->render()
     (vendor/symfony/framework-bundle/Controller/ControllerTrait.php:235)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render()
     (src/Controller/SecurityController.php:26)
  at App\Controller\SecurityController->login()
     (vendor/symfony/http-kernel/HttpKernel.php:158)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:80)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:201)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (public/index.php:25)