When i request the route 'monitor/health/' on browser i got the error
Controller "Liip\MonitorBundle\Controller\HealthCheckController" has required constructor arguments and does not exist in the container. Did you forget to define such a service?
ArgumentCountError
Too few arguments to function Liip\MonitorBundle\Controller\HealthCheckController::__construct(), 0 passed in /var/www/cmhub/vendor/symfony/http-kernel/Controller/ControllerResolver.php on line 133 and exactly 3 expected
here is the stack trace
InvalidArgumentException
in vendor/symfony/http-kernel/Controller/ContainerControllerResolver.php (line 62)
in vendor/symfony/framework-bundle/Controller/ControllerResolver.php->instantiateController (line 54)
in vendor/symfony/http-kernel/Controller/ControllerResolver.php->instantiateController (line 110)
in vendor/symfony/http-kernel/Controller/ContainerControllerResolver.php->createController (line 42)
in vendor/symfony/framework-bundle/Controller/ControllerResolver.php->createController (line 46)
in vendor/symfony/http-kernel/Controller/ControllerResolver.php->createController (line 85)
in vendor/symfony/http-kernel/Controller/TraceableControllerResolver.php->getController (line 38)
in vendor/symfony/http-kernel/HttpKernel.php->getController (line 134)
in vendor/symfony/http-kernel/HttpKernel.php->handleRaw (line 68)
in vendor/symfony/http-kernel/Kernel.php->handle (line 198)
Kernel->handle(object(Request))
in public/index.php (line 25)
Request::setTrustedHosts([$trustedHosts]);}$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);$request = Request::createFromGlobals();$response = $kernel->handle($request);$response->send();$kernel->terminate($request, $response);
Hi guys
When i request the route 'monitor/health/' on browser i got the error
here is the stack trace
any help is much appreciated Thank you!