After updating my ZF2 Libary to the newest Version my Application is throwing a Fatal Error. In the prev. Version 1.0.6 all works fine. I was looking for the source of the error, but i cant find it and i have no clue. Maybe something is wrong with my DI Injection Array in the Module.Config. Hope someone have a idea what is going on here 🙂
When i remove my hole DI settings in the Module Config … my Application wont work because the DI is not working but the fatal error disappears. :/
Fatal Error:
Fatal error: Uncaught exception ‘Zend\Di\Exception\MissingPropertyException’ with message ‘Missing instance/object for parameter route for Zend\Mvc\Router\Http\Segment::__construct’ in …\Zend\Di\Di.php:699
my DI Module Config:
'di' => array(
'definition' => array(
'class' => array(
'Application\View\Helper\LastActions' => array(
'setBenutzerMapper' => array(
'required' => true
),
),
[...]
)
)
),
thanks
same issue is occurring to me. Im using SmartyModule from https://github.com/Domi-cc/SmartyModule. Its using ‘di’ on module.config.php but Im not seeing router configuration with long name