Call to a member function getJobStatus() on boolean

#0 /var/www/html/recruitbpm_live/vendor/zendframework/zend-mvc/src/Controller/AbstractActionController.php(84): Career\Controller\CareerController->nonapplyAction()
#1 /var/www/html/recruitbpm_live/module/Career/src/Career/Controller/CareerController.php(229): Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#2 [internal function]: Career\Controller\CareerController->onDispatch(Object(Zend\Mvc\MvcEvent))
#3 /var/www/html/recruitbpm_live/vendor/zendframework/zend-eventmanager/src/EventManager.php(490): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#4 /var/www/html/recruitbpm_live/vendor/zendframework/zend-eventmanager/src/EventManager.php(260): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#5 /var/www/html/recruitbpm_live/vendor/zendframework/zend-mvc/src/Controller/AbstractController.php(118): Zend\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Zend\Mvc\MvcEvent))
#6 /var/www/html/recruitbpm_live/vendor/zendframework/zend-mvc/src/DispatchListener.php(118): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
#7 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#8 /var/www/html/recruitbpm_live/vendor/zendframework/zend-eventmanager/src/EventManager.php(490): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#9 /var/www/html/recruitbpm_live/vendor/zendframework/zend-eventmanager/src/EventManager.php(260): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#10 /var/www/html/recruitbpm_live/vendor/zendframework/zend-mvc/src/Application.php(340): Zend\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Zend\Mvc\MvcEvent))
#11 /var/www/html/recruitbpm_live/public/index.php(73): Zend\Mvc\Application->run()
#12 {main}
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(356): 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