Call to a member function getAccountId() on boolean

#0 /var/www/html/recruitbpm_live/vendor/zendframework/zend-view/src/Renderer/PhpRenderer.php(506): include()
#1 /var/www/html/recruitbpm_live/module/Application/view/layout/layout.phtml(114): Zend\View\Renderer\PhpRenderer->render(NULL)
#2 /var/www/html/recruitbpm_live/vendor/zendframework/zend-view/src/Renderer/PhpRenderer.php(506): include('/var/www/html/r...')
#3 /var/www/html/recruitbpm_live/vendor/zendframework/zend-view/src/View.php(207): Zend\View\Renderer\PhpRenderer->render(NULL)
#4 /var/www/html/recruitbpm_live/vendor/zendframework/zend-mvc/src/View/Http/DefaultRenderingStrategy.php(105): Zend\View\View->render(Object(Zend\View\Model\ViewModel))
#5 [internal function]: Zend\Mvc\View\Http\DefaultRenderingStrategy->render(Object(Zend\Mvc\MvcEvent))
#6 /var/www/html/recruitbpm_live/vendor/zendframework/zend-eventmanager/src/EventManager.php(490): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#7 /var/www/html/recruitbpm_live/vendor/zendframework/zend-eventmanager/src/EventManager.php(248): Zend\EventManager\EventManager->triggerListeners('render', Object(Zend\Mvc\MvcEvent))
#8 /var/www/html/recruitbpm_live/vendor/zendframework/zend-mvc/src/Application.php(384): Zend\EventManager\EventManager->triggerEvent(Object(Zend\Mvc\MvcEvent))
#9 /var/www/html/recruitbpm_live/vendor/zendframework/zend-mvc/src/Application.php(334): Zend\Mvc\Application->completeRequest(Object(Zend\Mvc\MvcEvent))
#10 /var/www/html/recruitbpm_live/public/index.php(129): Zend\Mvc\Application->run()
#11 {main}

Fatal error: Uncaught Error: Call to a member function getAccountId() on boolean in /var/www/html/recruitbpm_live/module/Application/view/layout/left-nav.phtml:47 Stack trace: #0 /var/www/html/recruitbpm_live/vendor/zendframework/zend-view/src/Renderer/PhpRenderer.php(506): include() #1 /var/www/html/recruitbpm_live/module/Application/view/layout/layout.phtml(114): Zend\View\Renderer\PhpRenderer->render(NULL) #2 /var/www/html/recruitbpm_live/vendor/zendframework/zend-view/src/Renderer/PhpRenderer.php(506): include('/var/www/html/r...') #3 /var/www/html/recruitbpm_live/vendor/zendframework/zend-view/src/View.php(207): Zend\View\Renderer\PhpRenderer->render(NULL) #4 /var/www/html/recruitbpm_live/vendor/zendframework/zend-mvc/src/View/Http/DefaultRenderingStrategy.php(105): Zend\View\View->render(Object(Zend\View\Model\ViewModel)) #5 [internal function]: Zend\Mvc\View\Http\DefaultRenderingStrategy->render(Object(Zend\Mvc\MvcEvent)) #6 /var/www/html/recruitbpm_live/vendor/zendframework/zend-eventmanager/src/EventManager.php(4 in /var/www/html/recruitbpm_live/module/Application/view/layout/left-nav.phtml on line 47