Notice: Trying to access array offset on value of type null
500 Internal Server Error - ContextErrorException
Stack Trace
-
in src/CommonApp/LibraryBundle/Controller/CommonController.php at line 1455
*/
public function getFooterContentdetail($doctrine,$session,$type){
$aClient = $session->get('clientSessionDetails');
$clientId = $aClient['clientId'];
$footercontentrepository = $doctrine->getRepository('EntityEntityBundle:FooterPageContents');
if($clientId =='5029' && $type=='7'){
$footcontentclientQry = $footercontentrepository->createQueryBuilder('p')
-
at
ErrorHandler
->handleError
('8', 'Trying to access array offset on value of type null', '/var/www/fony/src/CommonApp/LibraryBundle/Controller/CommonController.php', '1455', array('doctrine' => object(Registry), 'session' => object(Session), 'type' => '2', 'aClient' => null))
in src/CommonApp/LibraryBundle/Controller/CommonController.php at line 1455 -
at
CommonController
->getFooterContentdetail
(object(Registry), object(Session), '2', '')
in src/CommonApp/LogicBundle/Controller/FaqController.php at line 895 -
at
FaqController
->footercontentAction
(object(Request), 'privacypolicy')
in app/bootstrap.php.cache at line 3164 -
at
HttpKernel
->handleRaw
(object(Request), '1')
in app/bootstrap.php.cache at line 3123 -
at
HttpKernel
->handle
(object(Request), '1', true)
in app/bootstrap.php.cache at line 3277 -
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in app/bootstrap.php.cache at line 2502 -
at
Kernel
->handle
(object(Request))
in web/app.php at line 29