Exception detected!

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

  1. in app/cache/prod/classes.php at line 2800  -
    1. if (count($bundles) > 1) {
    2. $msg sprintf('Unable to find controller "%s:%s" in bundles %s.'$bundle$controllerimplode(', '$bundles));
    3. }
    4. throw new \InvalidArgumentException($msg);
    5. }
    6. public function build($controller)
    7. {
  2. at ControllerNameParser ->parse ('WebsitePublicBundle:Home:index')
    in app/cache/prod/classes.php at line 7914  +
  3. at ControllerResolver ->createController ('WebsitePublicBundle:Home:index')
    in app/cache/prod/classes.php at line 2487  +
  4. at ControllerResolver ->getController (object(Request))
    in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Controller/TraceableControllerResolver.php at line 46  +
  5. at TraceableControllerResolver ->getController (object(Request))
    in app/bootstrap.php.cache at line 3015  +
  6. at HttpKernel ->handleRaw (object(Request), '1')
    in app/bootstrap.php.cache at line 2984  +
  7. at HttpKernel ->handle (object(Request), '1', true)
    in app/bootstrap.php.cache at line 3133  +
  8. at ContainerAwareHttpKernel ->handle (object(Request), '1', true)
    in app/bootstrap.php.cache at line 2377  +
  9. at Kernel ->handle (object(Request))
    in web/app.php at line 27  +

Logs  -

Stack Trace (Plain Text)  +