Exception detected!

Notice: Undefined variable: aliasName

500 Internal Server Error - ContextErrorException

Stack Trace

  1. in src/Taai/Bundle/AppBundle/Controller/SiteController.php at line 327  -
    1.         }
    2.         $this->addInResponse('section'$sections);
    3.         $this->addInResponse('sectionId'$sectionId);
    4.         $this->addInResponse('aliasName'$aliasName);
    5.         
    6.         //Get all common page data of left side
    7.         $this->commonDataLeftSide();
  2. at ErrorHandler ->handleError ('8', 'Undefined variable: aliasName', '/home/u332900215/domains/biopharmaapac.com/public_html/src/Taai/Bundle/AppBundle/Controller/SiteController.php', '327', array('section' => 'consumer-health', 'subsection' => 'general-medicine', 'page' => '1', 'siteId' => '1', 'sectionDAO' => object(SectionDAO), 'sectionDetail' => array(), 'subsections' => 'Consumer Health', 'sections' => '', 'sectionId' => '', 'subsectionAlias' => 'consumer-health'))
    in src/Taai/Bundle/AppBundle/Controller/SiteController.php at line 327  +
  3. at SiteController ->subsectionWiseArticleListAction ('consumer-health', 'general-medicine', '1')
  4. at call_user_func_array (array(object(SiteController), 'subsectionWiseArticleListAction'), array('consumer-health', 'general-medicine', '1'))
    in app/bootstrap.php.cache at line 3054  +
  5. at HttpKernel ->handleRaw (object(Request), '1')
    in app/bootstrap.php.cache at line 3016  +
  6. at HttpKernel ->handle (object(Request), '1', true)
    in app/bootstrap.php.cache at line 3165  +
  7. at ContainerAwareHttpKernel ->handle (object(Request), '1', true)
    in app/bootstrap.php.cache at line 2406  +
  8. at Kernel ->handle (object(Request))
    in index.php at line 27  +

Logs  -

Stack Trace (Plain Text)  +