I am trying to access my website and I am getting this error:
No route found for "GET /index.php/en/"
Code:
try {
if ($referer = $request->headers->get('referer')) {
$message .= sprintf(' (from "%s")', $referer);
}
throw new NotFoundHttpException($message, $e);
} catch (MethodNotAllowedException $e) {
$message = sprintf(
'No route found for "%s %s": Method Not Allowed (Allow: %s)',
$request->getMethod(),
$request->getPathInfo(),
implode(', ', $e->getAllowedMethods())
);
throw new MethodNotAllowedHttpException(
$e->getAllowedMethods(),
$message,
$e
);
}