Fatal error: Uncaught Error: Call to undefined method Zend\Mvc\Application::getEvent() in /var/www/vhosts/omnia-mga.com/app-omnia-mga.com/module/Application/Module.php:133
Stack trace:
#0 /var/www/vhosts/omnia-mga.com/app-omnia-mga.com/module/Application/Module.php(105): Application\Module->redirectError()
#1 [internal function]: Application\Module->handleControllerNotFoundAndControllerInvalidAndRouteNotFound()
#2 /var/www/vhosts/omnia-mga.com/app-omnia-mga.com/vendor/zendframework/zend-eventmanager/src/EventManager.php(490): call_user_func()
#3 /var/www/vhosts/omnia-mga.com/app-omnia-mga.com/vendor/zendframework/zend-eventmanager/src/EventManager.php(248): Zend\EventManager\EventManager->triggerListeners()
#4 /var/www/vhosts/omnia-mga.com/app-omnia-mga.com/vendor/zendframework/zend-mvc/src/RouteListener.php(51): Zend\EventManager\EventManager->triggerEvent()
#5 [internal function]: Zend\Mvc\RouteListener->onRoute()
#6 /var/www/vhosts/omnia-mga.com/app-omnia-mga.com/vendor/zendframework/zend-eventmanager/src/EventManager.php(490): call_user_func()
#7 /var/www/vhosts/omnia-mga.com/app-omnia-mga.com/vendor/zendframework/zend-eventmanager/src/EventManager.php(260): Zend\EventManager\EventManager->triggerListeners()
#8 /var/www/vhosts/omnia-mga.com/app-omnia-mga.com/vendor/zendframework/zend-mvc/src/Application.php(319): Zend\EventManager\EventManager->triggerEventUntil()
#9 /var/www/vhosts/omnia-mga.com/app-omnia-mga.com/public/index.php(20): Zend\Mvc\Application->run()
#10 {main}
thrown in /var/www/vhosts/omnia-mga.com/app-omnia-mga.com/module/Application/Module.php on line 133