ZF 2 :Catchable fatal error: Argument 1 passed to Zend\View\HelperPluginManager

一笑奈何 提交于 2019-12-10 13:52:01

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!