Exceptions
Exception
Twig\Error\ LoaderError
in
vendor/twig/twig/src/Loader/FilesystemLoader.php
(line 227)
if (!$throw) {return null;}throw new LoaderError($this->errorCache[$name]);}private function normalizeName(string $name): string{return preg_replace('#/{2,}#', '/', str_replace('\\', '/', $name));
in
vendor/twig/twig/src/Loader/FilesystemLoader.php
->
findTemplate
(line 131)
return new Source(file_get_contents($path), $name, $path);}public function getCacheKey(string $name): string{if (null === $path = $this->findTemplate($name)) {return '';}$len = \strlen($this->rootPath);if (0 === strncmp($this->rootPath, $path, $len)) {return substr($path, $len);
in
vendor/twig/twig/src/Environment.php
->
getCacheKey
(line 261)
** @internal*/public function getTemplateClass(string $name, int $index = null): string{$key = $this->getLoader()->getCacheKey($name).$this->optionsHash;return $this->templateClassPrefix.hash(\PHP_VERSION_ID < 80100 ? 'sha256' : 'xxh128', $key).(null === $index ? '' : '___'.$index);}/**
in
vendor/twig/twig/src/Environment.php
->
getTemplateClass
(line 309)
{if ($name instanceof TemplateWrapper) {return $name;}return new TemplateWrapper($this, $this->loadTemplate($this->getTemplateClass($name), $name));}/*** Loads a template internal representation.*
in
vendor/twig/twig/src/Environment.php
->
load
(line 277)
* @throws SyntaxError When an error occurred during compilation* @throws RuntimeError When an error occurred during rendering*/public function render($name, array $context = []): string{return $this->load($name)->render($context);}/*** Displays a template.*
in
vendor/symfony/framework-bundle/Controller/AbstractController.php
->
render
(line 258)
{if (!$this->container->has('twig')) {throw new \LogicException('You cannot use the "renderView" method if the Twig Bundle is not available. Try running "composer require symfony/twig-bundle".');}return $this->container->get('twig')->render($view, $parameters);}/*** Renders a view.*/
in
vendor/symfony/framework-bundle/Controller/AbstractController.php
->
renderView
(line 266)
/*** Renders a view.*/protected function render(string $view, array $parameters = [], Response $response = null): Response{$content = $this->renderView($view, $parameters);if (null === $response) {$response = new Response();}
$user->setPassword($hashedPassword);}}return $this->render('resetting/request.html.twig', []);}}
in
vendor/symfony/http-kernel/HttpKernel.php
->
request
(line 153)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);$controller = $event->getController();$arguments = $event->getArguments();// call controller$response = $controller(...$arguments);// viewif (!$response instanceof Response) {$event = new ViewEvent($this, $request, $type, $response);$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 75)
{$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);try {return $this->handleRaw($request, $type);} catch (\Exception $e) {if ($e instanceof RequestExceptionInterface) {$e = new BadRequestHttpException($e->getMessage(), $e);}if (false === $catch) {
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 202)
$this->boot();++$this->requestStackSize;$this->resetServices = true;try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 35)
$this->request = $request;}public function run(): int{$response = $this->kernel->handle($this->request);$response->send();if ($this->kernel instanceof TerminableInterface) {$this->kernel->terminate($this->request, $response);}
in
vendor/autoload_runtime.php
->
run
(line 35)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
require_once('/home/ivoirephytochimies/public_html/vendor/autoload_runtime.php')
in
public/index.php
(line 5)
<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
Stack Trace
|
LoaderError
|
|---|
Twig\Error\LoaderError:
Unable to find template "resetting/request.html.twig" (looked into: /home/ivoirephytochimies/public_html/templates, /home/ivoirephytochimies/public_html/vendor/symfony/twig-bridge/Resources/views/Form).
at vendor/twig/twig/src/Loader/FilesystemLoader.php:227
at Twig\Loader\FilesystemLoader->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/AbstractController.php:258)
at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->renderView()
(vendor/symfony/framework-bundle/Controller/AbstractController.php:266)
at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render()
(src/Controller/ResettingController.php:45)
at App\Controller\ResettingController->request()
(vendor/symfony/http-kernel/HttpKernel.php:153)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:75)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:202)
at Symfony\Component\HttpKernel\Kernel->handle()
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:35)
at require_once('/home/ivoirephytochimies/public_html/vendor/autoload_runtime.php')
(public/index.php:5)
|