问题
I run the app created with Zend Framework 2 i get this Error:
Catchable fatal error: Argument 1 passed to Zend\View\HelperPluginManager::__construct() must implement interface Interop\Container\ContainerInterface, none given, called in C:\wamp\www\blog\vendor\zendframework\zend-mvc\src\Service\AbstractPluginManagerFactory.php on line 32 and defined in C:\wamp\www\blog\vendor\zendframework\zend-view\src\HelperPluginManager.php on line 241
how can i resolved that
Thanks in advance
回答1:
See the repo:
https://github.com/zendframework/zend-view/issues/43
It's a bug in constructor of HelperPluginManager
来源:https://stackoverflow.com/questions/35477367/zf-2-catchable-fatal-error-argument-1-passed-to-zend-view-helperpluginmanager