Fatal error: Uncaught Error: Call to a member function getMatchedRouteName() on null in /home/lustrocl/public_html/arex-plus.bg/module/Application/src/Application/View/UnauthorizedStrategy.php:54
Stack trace:
#0 [internal function]: Application\View\UnauthorizedStrategy->onDispatchError(Object(Zend\Mvc\MvcEvent))
#1 /home/lustrocl/public_html/arex-plus.bg/vendor/zendframework/zend-eventmanager/src/EventManager.php(490): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#2 /home/lustrocl/public_html/arex-plus.bg/vendor/zendframework/zend-eventmanager/src/EventManager.php(251): Zend\EventManager\EventManager->triggerListeners('dispatch.error', Object(Zend\Mvc\MvcEvent))
#3 /home/lustrocl/public_html/arex-plus.bg/vendor/zendframework/zend-mvc/src/RouteListener.php(51): Zend\EventManager\EventManager->triggerEvent(Object(Zend\Mvc\MvcEvent))
#4 [internal function]: Zend\Mvc\RouteListener->onRoute(Object(Zend\Mvc\MvcEvent))
#5 /home/lustrocl/public_html/arex-plus.bg/vendor/zendframework/zend-eventmanager/src/EventManager.php(490 in /home/lustrocl/public_html/arex-plus.bg/module/Application/src/Application/View/UnauthorizedStrategy.php on line 54