The _controller value "WebsitePublicBundle:Home:index" maps to a "Website\PublicBundle\Controller\HomeController" class, but this class was not found. Create this class or check the spelling of the class and its namespace.
500 Internal Server Error - InvalidArgumentException
Stack Trace
- in app/cache/prod/classes.php at line 2800
if (count($bundles) > 1) {
$msg = sprintf('Unable to find controller "%s:%s" in bundles %s.', $bundle, $controller, implode(', ', $bundles));
}
throw new \InvalidArgumentException($msg);
}
public function build($controller)
{
- at ControllerNameParser ->parse ('WebsitePublicBundle:Home:index')
in app/cache/prod/classes.php at line 7914 - at ControllerResolver ->createController ('WebsitePublicBundle:Home:index')
in app/cache/prod/classes.php at line 2487 - at ControllerResolver ->getController (object(Request))
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Controller/TraceableControllerResolver.php at line 46 - at TraceableControllerResolver ->getController (object(Request))
in app/bootstrap.php.cache at line 3015 - at HttpKernel ->handleRaw (object(Request), '1')
in app/bootstrap.php.cache at line 2984 - at HttpKernel ->handle (object(Request), '1', true)
in app/bootstrap.php.cache at line 3133 - at ContainerAwareHttpKernel ->handle (object(Request), '1', true)
in app/bootstrap.php.cache at line 2377 - at Kernel ->handle (object(Request))
in web/app.php at line 27