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
-
in kernel.root_dir/cache/prod/classes.php at line 2081
} else {
$repr = $controller;
}
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));
}
}
return $arguments;
-
at
ControllerResolver
->doGetArguments
(object(Request), array(object(NewsController), 'showAction'), array(object(ReflectionParameter)))
in kernel.root_dir/cache/prod/classes.php at line 2060 -
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 -
at
TraceableControllerResolver
->getArguments
(object(Request), array(object(NewsController), 'showAction'))
in kernel.root_dir/bootstrap.php.cache at line 2968 -
at
HttpKernel
->handleRaw
(object(Request), '1')
in kernel.root_dir/bootstrap.php.cache at line 2931 -
at
HttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 3080 -
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 2330 -
at
Kernel
->handle
(object(Request))
in /home/gwadannuep/www/gwadannu/web/app.php at line 27