Exception detected!

Notice: Trying to access array offset on value of type null

500 Internal Server Error - ContextErrorException

Stack Trace

  1. in src/CommonApp/LibraryBundle/Controller/CommonController.php at line 1455  -
    1.     */
    2.     public function getFooterContentdetail($doctrine,$session,$type){
    3.         $aClient    $session->get('clientSessionDetails');
    4.         $clientId     $aClient['clientId'];
    5.         $footercontentrepository    $doctrine->getRepository('EntityEntityBundle:FooterPageContents');
    6.         if($clientId =='5029' && $type=='7'){
    7.             $footcontentclientQry    $footercontentrepository->createQueryBuilder('p')
  2. 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' => '1', 'aClient' => null))
    in src/CommonApp/LibraryBundle/Controller/CommonController.php at line 1455  +
  3. at CommonController ->getFooterContentdetail (object(Registry), object(Session), '1', '')
    in src/CommonApp/LogicBundle/Controller/FaqController.php at line 895  +
  4. at FaqController ->footercontentAction (object(Request), 'termsofuse')
    in app/bootstrap.php.cache at line 3164  +
  5. at HttpKernel ->handleRaw (object(Request), '1')
    in app/bootstrap.php.cache at line 3123  +
  6. at HttpKernel ->handle (object(Request), '1', true)
    in app/bootstrap.php.cache at line 3277  +
  7. at ContainerAwareHttpKernel ->handle (object(Request), '1', true)
    in app/bootstrap.php.cache at line 2502  +
  8. at Kernel ->handle (object(Request))
    in web/app.php at line 29  +

Logs  -

Stack Trace (Plain Text)  +