ZF 2 :Catchable fatal error: Argument 1 passed to

2019-06-22 13:45发布

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条回答
放荡不羁爱自由
2楼-- · 2019-06-22 14:27

See the repo:

https://github.com/zendframework/zend-view/issues/43

It's a bug in constructor of HelperPluginManager

查看更多
登录 后发表回答