Exception detected!

Controller "SmartTouch\Bundle\APIBundle\Controller\NewsController::showAction()" requires that you provide a value for the "$id" argument (because there is no default value or because there is a non optional argument after this one).

500 Internal Server Error - RuntimeException

Stack Trace

  1. in kernel.root_dir/cache/prod/classes.php at line 2081  -
    1. } else {
    2. $repr $controller;
    3. }
    4. throw new \RuntimeException(sprintf('Controller "%s" requires that you provide a value for the "$%s" argument (because there is no default value or because there is a non optional argument after this one).'$repr$param->name));
    5. }
    6. }
    7. return $arguments;
  2. at ControllerResolver ->doGetArguments (object(Request), array(object(NewsController), 'showAction'), array(object(ReflectionParameter)))
    in kernel.root_dir/cache/prod/classes.php at line 2060  +
  3. at ControllerResolver ->getArguments (object(Request), array(object(NewsController), 'showAction'))
    in /home/gwadannuep/www/gwadannu/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Controller/TraceableControllerResolver.php at line 60  +
  4. at TraceableControllerResolver ->getArguments (object(Request), array(object(NewsController), 'showAction'))
    in kernel.root_dir/bootstrap.php.cache at line 2968  +
  5. at HttpKernel ->handleRaw (object(Request), '1')
    in kernel.root_dir/bootstrap.php.cache at line 2931  +
  6. at HttpKernel ->handle (object(Request), '1', true)
    in kernel.root_dir/bootstrap.php.cache at line 3080  +
  7. at ContainerAwareHttpKernel ->handle (object(Request), '1', true)
    in kernel.root_dir/bootstrap.php.cache at line 2330  +
  8. at Kernel ->handle (object(Request))
    in /home/gwadannuep/www/gwadannu/web/app.php at line 27  +

Logs  -

Stack Trace (Plain Text)  +