Warning: Invalid argument supplied for foreach() in /Applications/MAMP/htdocs/module/CavokCore/src/CavokCore/Translator/CavokTranslator.php on line 100

Fatal error: Uncaught Error: Call to a member function getParam() on null in /Applications/MAMP/htdocs/module/CavokGuestCollection/Module.php:23 Stack trace: #0 [internal function]: CavokGuestCollection\Module->setExceptionTemplate(Object(Zend\Mvc\MvcEvent)) #1 /Applications/MAMP/htdocs/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(444): call_user_func(Array, Object(Zend\Mvc\MvcEvent)) #2 /Applications/MAMP/htdocs/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(205): Zend\EventManager\EventManager->triggerListeners('dispatch.error', Object(Zend\Mvc\MvcEvent), Array) #3 /Applications/MAMP/htdocs/vendor/zendframework/zendframework/library/Zend/Mvc/RouteListener.php(49): Zend\EventManager\EventManager->trigger('dispatch.error', Object(Zend\Mvc\MvcEvent)) #4 [internal function]: Zend\Mvc\RouteListener->onRoute(Object(Zend\Mvc\MvcEvent)) #5 /Applications/MAMP/htdocs/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(444): call_user_func(Ar in /Applications/MAMP/htdocs/module/CavokGuestCollection/Module.php on line 23