Fatal error: Uncaught Error: Call to a member function getDatetime() on null in /home/www-data/vollenweiderchocolatier.ch/ZF2/module/Application/src/Application/Controller/ShopController.php:1286
Stack trace:
#0 /home/www-data/vollenweiderchocolatier.ch/ZF2/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractActionController.php(83): Application\Controller\ShopController->eventDetailAction()
#1 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#2 /home/www-data/vollenweiderchocolatier.ch/ZF2/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#3 /home/www-data/vollenweiderchocolatier.ch/ZF2/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#4 /home/www-data/vollenweiderchocolatier.ch/ZF2/vendor/zendframework/zendframework/library/Zen in /home/www-data/vollenweiderchocolatier.ch/ZF2/module/Application/src/Application/Controller/ShopController.php on line 1286