You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.
Blank configuration DI need for automatically initialize Zend\ServiceManager\Di\DiAbstractServiceFactory and registrate it as an abstract factory of the main service manager.
After that, try to get an instance of the form from ServiceManager(or Di) ends with the bug.
Code posted to https://github.com/bvoronov/testapp (exteds from zendframework/ZendSkeletonApplication)
File: Zend\Di\Di.php:245
Message: Invalid instantiator of type "NULL" for "Zend\Form\FormInterface".
Stack trace:
0 Zend\Di\Di.php(174): Zend\Di\Di->newInstance('Zend\Form\FormI...', Array, true) 1 Zend\Di\Di.php(691): Zend\Di\Di->get('Zend\Form\FormI...', Array) 2 Zend\Di\Di.php(461): Zend\Di\Di->resolveMethodParameters('Application\Form\Test', 'prepareElement', Array, NULL, true) 3 Zend\Di\Di.php(312): Zend\Di\Di->resolveAndCallInjectionMethodForInstance(Object(Application\Form\Test), 'prepareElement', Array, NULL, true, 'Application\Form\Test') 4 Zend\Di\Di.php(256): Zend\Di\Di->handleInjectDependencies(Object(Application\Form\Test), Array, Array, 'Application\Form\Test', NULL, 'Application\Form\Test') 5 Zend\Di\Di.php(174): Zend\Di\Di->newInstance('Application\Form\Test', Array, true) 6 IndexController.php(33): Zend\Di\Di->get('Application\Form\Test')
Config contains empty 'di' array. ZF 2.1.1
The text was updated successfully, but these errors were encountered: