Fatal error: Call to a member function getTitle() on a non-object in /home/hepcomeu/public_html/src/Hepcom/FrontEndBundle/Controller/AboutController.php on line 139
Error: Call to a member function getTitle() on a non-object (500 Internal Server Error)
Exception detected!

Error: Call to a member function getTitle() on a non-object

500 Internal Server Error - FatalErrorException

Stack Trace

  1. in src/Hepcom/FrontEndBundle/Controller/AboutController.php at line 139  -
    1.             $sub_page $option;
    2.         }
    3.         $title $pageData->getTitle();
    4.         $content $pageData->getContent();
    5.         foreach ($translations as $translation) {
    6.             if($translation->getObject()->getId() == $pageData->getId()) {

Logs  -

Stack Trace (Plain Text)  +