Exceptions
Exception
Symfony\Component\HttpKernel\Exception\ NotFoundHttpException
Show exception properties
Symfony\Component\HttpKernel\Exception\NotFoundHttpException {#601 -statusCode: 404 -headers: [] }
*/protected function debug404($message){if ($this->isDebug && $message) {$message = $message . ' (this message is only display in debug mode)';throw new NotFoundHttpException($message);} else {throw new NotFoundHttpException();}}
AbstractEmailProcessController->debug404()
in
mapbender/src/FOM/UserBundle/Controller/AbstractEmailProcessController.php
(line 32)
protected $isDebug){parent::__construct($userEntityClass, $doctrine);$this->emailFromName = $emailFromName ?: $emailFromAddress;if (!$this->emailFromAddress) {$this->debug404("Sender mail not configured. See UserBundle/CONFIGURATION.md");}}/*** Throws a 404, displaying the given $message only in debug mode
AbstractEmailProcessController->__construct()
in
mapbender/src/FOM/UserBundle/Controller/PasswordController.php
(line 55)
$emailFromAddress,$enableReset,$maxTokenAge,$isDebug){parent::__construct($mailer, $translator, $doctrine, $userEntityClass, $emailFromName, $emailFromAddress, $isDebug);$this->enableReset = $enableReset;$this->maxTokenAge = $maxTokenAge;if (!$this->enableReset) {$this->debug404("Password reset disabled by configuration");}
in
var/cache/dev/Container9AQFNAz/App_KernelDevDebugContainer.php
->
__construct
(line 814)
{include_once \dirname(__DIR__, 4).'/mapbender/src/FOM/UserBundle/Controller/UserControllerBase.php';include_once \dirname(__DIR__, 4).'/mapbender/src/FOM/UserBundle/Controller/AbstractEmailProcessController.php';include_once \dirname(__DIR__, 4).'/mapbender/src/FOM/UserBundle/Controller/PasswordController.php';$container->services['FOM\\UserBundle\\Controller\\PasswordController'] = $instance = new \FOM\UserBundle\Controller\PasswordController(($container->privates['mailer.mailer'] ?? self::getMailer_MailerService($container)), ($container->services['translator'] ?? self::getTranslatorService($container)), ($container->services['doctrine'] ?? self::getDoctrineService($container)), ($container->privates['monolog.logger'] ?? self::getMonolog_LoggerService($container)), 'FOM\\UserBundle\\Entity\\User', NULL, NULL, true, 1, true);$instance->setContainer(($container->privates['.service_locator.O2p6Lk7'] ?? self::get_ServiceLocator_O2p6Lk7Service($container))->withContext('FOM\\UserBundle\\Controller\\PasswordController', $container));return $instance;}
in
vendor/symfony/dependency-injection/Container.php
::
getPasswordControllerService
(line 231)
try {if (isset($container->fileMap[$id])) {return /* self::IGNORE_ON_UNINITIALIZED_REFERENCE */ 4 === $invalidBehavior ? null : $container->load($container->fileMap[$id]);} elseif (isset($container->methodMap[$id])) {return /* self::IGNORE_ON_UNINITIALIZED_REFERENCE */ 4 === $invalidBehavior ? null : $container->{$container->methodMap[$id]}($container);}} catch (\Exception $e) {unset($container->services[$id]);throw $e;
in
vendor/symfony/dependency-injection/Container.php
::
make
(line 211)
*/public function get(string $id, int $invalidBehavior = self::EXCEPTION_ON_INVALID_REFERENCE): ?object{return $this->services[$id]?? $this->services[$id = $this->aliases[$id] ?? $id]?? ('service_container' === $id ? $this : ($this->factories[$id] ?? self::$make ??= self::make(...))($this, $id, $invalidBehavior));}/*** Creates a service.*
in
vendor/symfony/http-kernel/Controller/ContainerControllerResolver.php
->
get
(line 40)
protected function instantiateController(string $class): object{$class = ltrim($class, '\\');if ($this->container->has($class)) {return $this->container->get($class);}try {return parent::instantiateController($class);} catch (\Error $e) {
in
vendor/symfony/framework-bundle/Controller/ControllerResolver.php
->
instantiateController
(line 26)
*/class ControllerResolver extends ContainerControllerResolver{protected function instantiateController(string $class): object{$controller = parent::instantiateController($class);if ($controller instanceof ContainerAwareInterface) {trigger_deprecation('symfony/dependency-injection', '6.4', 'Relying on "%s" to get the container in "%s" is deprecated, register the controller as a service and use dependency injection instead.', ContainerAwareInterface::class, get_debug_type($controller));$controller->setContainer($this->container);}
in
vendor/symfony/http-kernel/Controller/ControllerResolver.php
->
instantiateController
(line 128)
}[$class, $method] = explode('::', $controller, 2);try {$controller = [$this->instantiateController($class), $method];} catch (\Error|\LogicException $e) {try {if ((new \ReflectionMethod($class, $method))->isStatic()) {return $class.'::'.$method;}
in
vendor/symfony/http-kernel/Controller/ControllerResolver.php
->
createController
(line 96)
if (\function_exists($controller)) {return $this->checkController($request, $controller);}try {$callable = $this->createController($controller);} catch (\InvalidArgumentException $e) {throw new \InvalidArgumentException(\sprintf('The controller for URI "%s" is not callable: ', $request->getPathInfo()).$e->getMessage(), 0, $e);}if (!\is_callable($callable)) {
in
vendor/symfony/http-kernel/HttpKernel.php
->
getController
(line 164)
if ($event->hasResponse()) {return $this->filterResponse($event->getResponse(), $request, $type);}// load controllerif (false === $controller = $this->resolver->getController($request)) {throw new NotFoundHttpException(\sprintf('Unable to find the controller for path "%s". The route is wrongly configured.', $request->getPathInfo()));}$event = new ControllerEvent($this, $controller, $request, $type);$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 76)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 208)
if (!$this->handlingHttpCache) {$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)
) {}public function run(): int{$response = $this->kernel->handle($this->request);if (Kernel::VERSION_ID >= 60400) {$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in
vendor/autoload_runtime.php
->
run
(line 29)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
require_once('/data/mapbender/develop_mapbender_org/application/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']);};
Logs
| Level | Channel | Message |
|---|---|---|
| INFO 13:18:29 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "2a2527"
},
"request_uri": "https://develop.mapbender.org/_profiler/2a2527?panel=exception&type=request",
"method": "GET"
}
|
| INFO 13:18:29 | doctrine |
Connecting with parameters {params} {
"params": {
"driver": "pdo_sqlite",
"idle_connection_ttl": 600,
"host": "localhost",
"port": null,
"user": "root",
"password": null,
"driverOptions": [],
"defaultTableOptions": [],
"path": "/data/mapbender/develop_mapbender_org/application/var/db/demo.sqlite",
"charset": "utf8"
}
}
|
| DEBUG 13:18:29 | doctrine |
Executing statement: PRAGMA foreign_keys = ON; {
"sql": "PRAGMA foreign_keys = ON;"
}
|
Stack Trace
|
NotFoundHttpException
|
|---|
Symfony\Component\HttpKernel\Exception\NotFoundHttpException:
Sender mail not configured. See UserBundle/CONFIGURATION.md (this message is only display in debug mode)
at mapbender/src/FOM/UserBundle/Controller/AbstractEmailProcessController.php:46
at FOM\UserBundle\Controller\AbstractEmailProcessController->debug404()
(mapbender/src/FOM/UserBundle/Controller/AbstractEmailProcessController.php:32)
at FOM\UserBundle\Controller\AbstractEmailProcessController->__construct()
(mapbender/src/FOM/UserBundle/Controller/PasswordController.php:55)
at FOM\UserBundle\Controller\PasswordController->__construct()
(var/cache/dev/Container9AQFNAz/App_KernelDevDebugContainer.php:814)
at Container9AQFNAz\App_KernelDevDebugContainer::getPasswordControllerService()
(vendor/symfony/dependency-injection/Container.php:231)
at Symfony\Component\DependencyInjection\Container::make()
(vendor/symfony/dependency-injection/Container.php:211)
at Symfony\Component\DependencyInjection\Container->get()
(vendor/symfony/http-kernel/Controller/ContainerControllerResolver.php:40)
at Symfony\Component\HttpKernel\Controller\ContainerControllerResolver->instantiateController()
(vendor/symfony/framework-bundle/Controller/ControllerResolver.php:26)
at Symfony\Bundle\FrameworkBundle\Controller\ControllerResolver->instantiateController()
(vendor/symfony/http-kernel/Controller/ControllerResolver.php:128)
at Symfony\Component\HttpKernel\Controller\ControllerResolver->createController()
(vendor/symfony/http-kernel/Controller/ControllerResolver.php:96)
at Symfony\Component\HttpKernel\Controller\ControllerResolver->getController()
(vendor/symfony/http-kernel/HttpKernel.php:164)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:208)
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:29)
at require_once('/data/mapbender/develop_mapbender_org/application/vendor/autoload_runtime.php')
(public/index.php:5)
|