Exceptions
Exception
Twig\Error\ LoaderError
in
vendor/twig/twig/src/Loader/FilesystemLoader.php
(line 250)
if (!$throw) {
return false;
}
throw new LoaderError($this->errorCache[$name]);
}
private function normalizeName($name)
{
return preg_replace('#/{2,}#', '/', str_replace('\\', '/', (string) $name));
in
vendor/twig/twig/src/Loader/FilesystemLoader.php
->
findTemplate
(line 150)
return new Source(file_get_contents($path), $name, $path);
}
public function getCacheKey($name)
{
if (null === ($path = $this->findTemplate($name)) || false === $path) {
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 299)
*
* @internal
*/
public function getTemplateClass($name, $index = null)
{
$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 381)
*
* @internal
*/
public function loadTemplate($name, $index = null)
{
return $this->loadClass($this->getTemplateClass($name), $name, $index);
}
/**
* @internal
*/
in
vendor/twig/twig/src/Template.php
->
loadTemplate
(line 333)
}
return $this->env->loadClass($class, $template, $index);
}
return $this->env->loadTemplate($template, $index);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($templateName ? new Source('', $templateName) : $this->getSourceContext());
}
in
var/cache/domain_freund_easytransfer24_de/twig/95/95d49481fff5a017ab2290709c4077bd.php
->
loadTemplate
(line 54)
// line 3
$macros["bsm"] = $this->macros["bsm"] = $this->loadTemplate("@DiplixKMG/Macro/blocks.html.twig", "@DiplixKMG/forgot_password.html.twig", 3)->unwrap();
// line 4
$macros["fm"] = $this->macros["fm"] = $this->loadTemplate("@DiplixKMG/Macro/forms.html.twig", "@DiplixKMG/forgot_password.html.twig", 4)->unwrap();
// line 1
$this->parent = $this->loadTemplate("::base.html.twig", "@DiplixKMG/forgot_password.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
in
vendor/twig/twig/src/Template.php
->
doDisplay
(line 405)
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
in
vendor/twig/twig/src/Template.php
->
displayWithErrorHandling
(line 378)
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
in
vendor/twig/twig/src/Template.php
->
display
(line 390)
ob_start();
} else {
ob_start(function () { return ''; });
}
try {
$this->display($context);
} catch (\Throwable $e) {
while (ob_get_level() > $level) {
ob_end_clean();
}
in
vendor/twig/twig/src/TemplateWrapper.php
->
render
(line 45)
*/
public function render(array $context = []): string
{
// using func_get_args() allows to not expose the blocks argument
// as it should only be used by internal code
return $this->template->render($context, \func_get_args()[1] ?? []);
}
/**
* Displays the template.
*
in
vendor/twig/twig/src/Environment.php
->
render
(line 318)
* @throws SyntaxError When an error occurred during compilation
* @throws RuntimeError When an error occurred during rendering
*/
public function render($name, array $context = [])
{
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();
}
else
{
$e = $request->query->get("email","");
if ($e!="") $form->get('email')->setData($e);
return $this->render('@DiplixKMG/forgot_password.html.twig',array (
"form" => $form->createView()
));
}
}
public function resetPasswordAction(Request $request, $email,$hash)
in
vendor/symfony/http-kernel/HttpKernel.php
->
forgotPasswordAction
(line 163)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = $controller(...$arguments);
// view
if (!$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;
}
}
Request::setTrustedHosts([$trustedHosts]);
}
$kernel = new AppKernel($_SERVER['APP_ENV'], (bool)$_SERVER['APP_DEBUG']);
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
Logs
Level | Channel | Message |
---|---|---|
INFO 11:27:34 | php |
User Deprecated: Since symfony/http-foundation 5.2: The "HEADER_X_FORWARDED_ALL" constant is deprecated, use either "HEADER_X_FORWARDED_FOR | HEADER_X_FORWARDED_HOST | HEADER_X_FORWARDED_PORT | HEADER_X_FORWARDED_PROTO" or "HEADER_X_FORWARDED_AWS_ELB" or "HEADER_X_FORWARDED_TRAEFIK" constants instead. { "exception": {} } |
INFO 11:27:34 | php |
User Deprecated: Method "Symfony\Component\HttpKernel\Bundle\Bundle::getContainerExtension()" might add "?ExtensionInterface" as a native return type declaration in the future. Do the same in child class "BoShurik\TelegramBotBundle\BoShurikTelegramBotBundle" now to avoid errors or add an explicit @return annotation to suppress this message. { "exception": {} } |
INFO 11:27:34 | php |
User Deprecated: Method "Symfony\Component\HttpKernel\Bundle\Bundle::getContainerExtension()" might add "?ExtensionInterface" as a native return type declaration in the future. Do the same in child class "Kreait\Firebase\Symfony\Bundle\FirebaseBundle" now to avoid errors or add an explicit @return annotation to suppress this message. { "exception": {} } |
INFO 11:27:34 | php |
User Deprecated: Since symfony/monolog-bridge 6.4: The "Symfony\Bridge\Monolog\Logger" class is deprecated, use HttpKernel's DebugLoggerConfigurator instead. { "exception": {} } |
INFO 11:27:34 | php |
User Deprecated: The Liip\ImagineBundle\Templating\FilterTrait trait is deprecated since version 2.7 and will be removed in 3.0; use Twig instead. { "exception": {} } |
INFO 11:27:34 | php |
User Deprecated: The Liip\ImagineBundle\Templating\FilterExtension class is deprecated since version 2.7 and will be removed in 3.0; configure "liip_imagine.twig.mode" to "lazy" instead. { "exception": {} } |
INFO 11:27:34 | request |
Matched route "_profiler". { "route": "_profiler", "route_parameters": { "_route": "_profiler", "_controller": "web_profiler.controller.profiler::panelAction", "token": "328d7f" }, "request_uri": "https://freund.easytransfer24.de/_profiler/328d7f?panel=exception", "method": "GET" } |
INFO 11:27:34 | php |
User Deprecated: Since symfony/framework-bundle 5.3: The "session.storage.factory.service" service is deprecated, use "session.storage.factory.native", "session.storage.factory.php_bridge" or "session.storage.factory.mock_file" instead. { "exception": {} } |
INFO 11:27:34 | php |
User Deprecated: Since symfony/framework-bundle 5.3: The "session.storage.native" service is deprecated, use "session.storage.factory.native" instead. { "exception": {} } |
INFO 11:27:34 | php |
User Deprecated: Since symfony/framework-bundle 5.3: The "session.storage.metadata_bag" service is deprecated, create your own "session.storage.factory" instead. { "exception": {} } |
INFO 11:27:34 | php |
User Deprecated: Method "Doctrine\ORM\Query\Filter\SQLFilter::addFilterConstraint()" might add "string" as a native return type declaration in the future. Do the same in child class "Diplix\KMGBundle\Filter\BeDeletedFilter" now to avoid errors or add an explicit @return annotation to suppress this message. { "exception": {} } |
INFO 11:27:34 | doctrine |
Connecting with parameters {params} { "params": { "driver": "pdo_mysql", "host": "127.0.0.1", "port": null, "dbname": "kwfreund", "user": "kwfreund", "password": "<redacted>", "charset": "UTF8", "idle_connection_ttl": 600, "driverOptions": [], "defaultTableOptions": [] } } |
INFO 11:27:34 | php |
Deprecated: Diplix\KMGBundle\Entity\User implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) { "exception": {} } |
INFO 11:27:34 | php |
User Deprecated: Class "Diplix\KMGBundle\Entity\User" should implement method "Symfony\Component\Security\Core\User\UserInterface::getUserIdentifier(): string": returns the identifier for this user (e.g. its username or email address). { "exception": {} } |
INFO 11:27:34 | php |
User Deprecated: Method "Symfony\Component\Security\Core\User\UserInterface::getUsername()" might add "string" as a native return type declaration in the future. Do the same in implementation "Diplix\KMGBundle\Entity\User" now to avoid errors or add an explicit @return annotation to suppress this message. { "exception": {} } |
INFO 11:27:34 | php |
User Deprecated: Method "Symfony\Component\Security\Core\User\UserInterface::getSalt()" might add "?string" as a native return type declaration in the future. Do the same in implementation "Diplix\KMGBundle\Entity\User" now to avoid errors or add an explicit @return annotation to suppress this message. { "exception": {} } |
INFO 11:27:34 | php |
User Deprecated: Method "Symfony\Component\Security\Core\User\EquatableInterface::isEqualTo()" might add "bool" as a native return type declaration in the future. Do the same in implementation "Diplix\KMGBundle\Entity\User" now to avoid errors or add an explicit @return annotation to suppress this message. { "exception": {} } |
INFO 11:27:34 | php |
User Deprecated: Since symfony/http-foundation 5.2: The "HEADER_X_FORWARDED_ALL" constant is deprecated, use either "HEADER_X_FORWARDED_FOR | HEADER_X_FORWARDED_HOST | HEADER_X_FORWARDED_PORT | HEADER_X_FORWARDED_PROTO" or "HEADER_X_FORWARDED_AWS_ELB" or "HEADER_X_FORWARDED_TRAEFIK" constants instead. { "exception": {} } |
INFO 11:27:34 | php |
User Deprecated: Since symfony/http-foundation 5.2: The "HEADER_X_FORWARDED_ALL" constant is deprecated, use either "HEADER_X_FORWARDED_FOR | HEADER_X_FORWARDED_HOST | HEADER_X_FORWARDED_PORT | HEADER_X_FORWARDED_PROTO" or "HEADER_X_FORWARDED_AWS_ELB" or "HEADER_X_FORWARDED_TRAEFIK" constants instead. { "exception": {} } |
Stack Trace
LoaderError
|
---|
Twig\Error\LoaderError: Unable to find template "::base.html.twig" (looked into: /var/www/webeasy/htdocs/vendor/knplabs/knp-menu/src/Knp/Menu/Resources/views, /var/www/webeasy/htdocs/app/Resources/views, /var/www/webeasy/htdocs/vendor/symfony/twig-bridge/Resources/views/Form) in "@DiplixKMG/forgot_password.html.twig" at line 1. at vendor/twig/twig/src/Loader/FilesystemLoader.php:250 at Twig\Loader\FilesystemLoader->findTemplate() (vendor/twig/twig/src/Loader/FilesystemLoader.php:150) at Twig\Loader\FilesystemLoader->getCacheKey() (vendor/twig/twig/src/Environment.php:299) at Twig\Environment->getTemplateClass() (vendor/twig/twig/src/Environment.php:381) at Twig\Environment->loadTemplate() (vendor/twig/twig/src/Template.php:333) at Twig\Template->loadTemplate() (var/cache/domain_freund_easytransfer24_de/twig/95/95d49481fff5a017ab2290709c4077bd.php:54) at __TwigTemplate_05edf9162a93a69303420bb8a0f6e64f->doDisplay() (vendor/twig/twig/src/Template.php:405) at Twig\Template->displayWithErrorHandling() (vendor/twig/twig/src/Template.php:378) at Twig\Template->display() (vendor/twig/twig/src/Template.php:390) at Twig\Template->render() (vendor/twig/twig/src/TemplateWrapper.php:45) at Twig\TemplateWrapper->render() (vendor/twig/twig/src/Environment.php:318) 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/Diplix/KMGBundle/Controller/AuthController.php:112) at Diplix\KMGBundle\Controller\AuthController->forgotPasswordAction() (vendor/symfony/http-kernel/HttpKernel.php:163) 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() (web/app.php:38) |