Call to a member function isAllowed() on null
#0 /home/balantec/sistema/vendor/zendframework/zend-view/src/Renderer/PhpRenderer.php(506): include()
#1 /home/balantec/sistema/vendor/zendframework/zend-view/src/Helper/Partial.php(61): Zend\View\Renderer\PhpRenderer->render(NULL, NULL)
#2 /home/balantec/sistema/vendor/zendframework/zend-view/src/Helper/Navigation/Menu.php(780): Zend\View\Helper\Partial->__invoke('partials/menu', Array)
#3 /home/balantec/sistema/vendor/zendframework/zend-view/src/Helper/Navigation/Menu.php(391): Zend\View\Helper\Navigation\Menu->renderPartialModel(Array, Object(Zend\Navigation\Navigation), 'partials/menu')
#4 /home/balantec/sistema/vendor/zendframework/zend-view/src/Helper/Navigation/Menu.php(107): Zend\View\Helper\Navigation\Menu->renderPartial(NULL, 'partials/menu')
#5 /home/balantec/sistema/module/Application/view/layout/layout.phtml(180): Zend\View\Helper\Navigation\Menu->render()
#6 /home/balantec/sistema/vendor/zendframework/zend-view/src/Renderer/PhpRenderer.php(506): include('/home/balantec/...')
#7 /home/balantec/sistema/vendor/zendframework/zend-view/src/View.php(207): Zend\View\Renderer\PhpRenderer->render(NULL)
#8 /home/balantec/sistema/vendor/zendframework/zend-mvc/src/View/Http/DefaultRenderingStrategy.php(105): Zend\View\View->render(Object(Zend\View\Model\ViewModel))
#9 [internal function]: Zend\Mvc\View\Http\DefaultRenderingStrategy->render(Object(Zend\Mvc\MvcEvent))
#10 /home/balantec/sistema/vendor/zendframework/zend-eventmanager/src/EventManager.php(490): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#11 /home/balantec/sistema/vendor/zendframework/zend-eventmanager/src/EventManager.php(248): Zend\EventManager\EventManager->triggerListeners('render', Object(Zend\Mvc\MvcEvent))
#12 /home/balantec/sistema/vendor/zendframework/zend-mvc/src/Application.php(384): Zend\EventManager\EventManager->triggerEvent(Object(Zend\Mvc\MvcEvent))
#13 /home/balantec/sistema/vendor/zendframework/zend-mvc/src/Application.php(334): Zend\Mvc\Application->completeRequest(Object(Zend\Mvc\MvcEvent))
#14 /home/balantec/sistema/public_html/index.php(40): Zend\Mvc\Application->run()
#15 {main}
Fatal error: Uncaught Error: Call to a member function isAllowed() on null in /home/balantec/sistema/module/Application/view/partials/menu.phtml:22 Stack trace: #0 /home/balantec/sistema/vendor/zendframework/zend-view/src/Renderer/PhpRenderer.php(506): include() #1 /home/balantec/sistema/vendor/zendframework/zend-view/src/Helper/Partial.php(61): Zend\View\Renderer\PhpRenderer->render(NULL, NULL) #2 /home/balantec/sistema/vendor/zendframework/zend-view/src/Helper/Navigation/Menu.php(780): Zend\View\Helper\Partial->__invoke('partials/menu', Array) #3 /home/balantec/sistema/vendor/zendframework/zend-view/src/Helper/Navigation/Menu.php(391): Zend\View\Helper\Navigation\Menu->renderPartialModel(Array, Object(Zend\Navigation\Navigation), 'partials/menu') #4 /home/balantec/sistema/vendor/zendframework/zend-view/src/Helper/Navigation/Menu.php(107): Zend\View\Helper\Navigation\Menu->renderPartial(NULL, 'partials/menu') #5 /home/balantec/sistema/module/Application/view/layout/layout.phtml(180): Zend\View\Helper\Navigation\Menu->ren in /home/balantec/sistema/module/Application/view/partials/menu.phtml on line 22