ZF 2: Fatal error allowed: argument 1 passed to Zend \ View \ HelperPluginManager

I run an application created using Zend Framework 2, I get this error:

Fatal error allowed: argument 1 passed to Zend \ View \ HelperPluginManager :: __ construct () should implement the Interop \ Container \ ContainerInterface interface, not specified, C: \ WAMP \ WWW \ blog \ provider \ ZendFramework \ Zend-MVC \ SRC \ Service \ AbstractPluginManagerFactory.php on line 32 and is defined in C: \ WAMP \ WWW \ blog \ vendor \ ZendFramework \ Send view \ SRC \ HelperPluginManager.php on line 241

how can i decide that

Thank you in advance

+5
source share
1 answer

See repo:

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

This is a bug in the HelperPluginManager constructor.

+6
source

Source: https://habr.com/ru/post/1243299/


All Articles