Exceptions
This user does not have access to this section.
500 Internal Server Error - AccessDeniedException
Stack Trace
-
in src/FrontBundle/Controller/ProfileController.php at line 47
{
$user = $this->getUser();
if (!is_object($user) || !$user instanceof UserInterface) {
throw new AccessDeniedException('This user does not have access to this section.');
}
//$user = $this->getManager('InvoiceBundle:Customer')->initForCreation($user);
-
at
ProfileController
->showAction
(object(Request))
in app/bootstrap.php.cache at line 3275 -
at
HttpKernel
->handleRaw
(object(Request), '1')
in app/bootstrap.php.cache at line 3234 -
at
HttpKernel
->handle
(object(Request), '1', true)
in app/bootstrap.php.cache at line 3388 -
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in app/bootstrap.php.cache at line 2594 -
at
Kernel
->handle
(object(Request))
in web/app.php at line 15