Call to a member function getPackageId() 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(126): 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(73): Zend\Mvc\Application->run()
#11 {main}

Fatal error: Uncaught Error: Call to a member function getPackageId() on boolean in /var/www/html/recruitbpm_live/module/Application/view/layout/header-bar.phtml:3 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(126): 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( in /var/www/html/recruitbpm_live/module/Application/view/layout/header-bar.phtml on line 3