if ($template == 'benefits/oneVisionBenefit') {
// eyeMed Duplicate paragraph is not required.
unset($pageText['Text']['AddParagraph']);
}
$pageText['breadCrumbs'] = $navClass->getBreadCrumbs($request->getRequestUri());
$title = "Cigna Education Site";
if (!empty($pageText['breadCrumbs'])) {
foreach ($pageText['breadCrumbs'] as $p) {
$title = $p['Label']." - ".$title;
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = $controller(...$arguments);
// view
if (!$response instanceof Response) {
$event = new ViewEvent($this, $request, $type, $response);
$this->dispatcher->dispatch($event, KernelEvents::VIEW);
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
No log messages
ErrorException |
---|
ErrorException: Notice: Undefined index: OpenAccessPlusPlanMid at src/Service/Content/Navigation.php:360 at App\Service\Content\Navigation->getBreadCrumbs('/639ad980c180fe831300ccc569db32f5/Benefits/Medical/OpenAccessPlusPlanMid') (src/Controller/Public_App/cigna_site.php:108) at App\Controller\Public_App\cigna_site->view('639ad980c180fe831300ccc569db32f5', 'Benefits', 'Medical', 'OpenAccessPlusPlanMid', object(Request), object(Filesystem)) (vendor/symfony/http-kernel/HttpKernel.php:151) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (vendor/symfony/http-kernel/HttpKernel.php:68) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true) (vendor/symfony/http-kernel/Kernel.php:198) at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) (public/index.php:25) |