Closed igor-krupa closed 7 years ago
Which version of zf2 and zf2-twb-bundle are you using ?
ZF 2.4.9 and TwBundle 2.6.0
Please can you post the entire stacktrace of the error to understand this issue
Well, only this in 1st post.
Hum, If you're using ZF2 the last trace should be index.php. I can't help you to debug if I can't have a look at the full stack trace.
Same issue was reported (#146) but it was closed without solution.
Uncaught exception 'Zend\ServiceManager\Exception\ServiceNotCreatedException' with message 'While attempting to create formelement(alias: form_element) an invalid factory was registered for this instance type.' in /zend/library/Zend/ServiceManager/AbstractPluginManager.php:209 Stack trace: #0 /zend/library/Zend/ServiceManager/ServiceManager.php(612): Zend\ServiceManager\AbstractPluginManager->createFromFactory('formelement', 'form_element') #1 /zend/library/Zend/ServiceManager/ServiceManager.php(572): Zend\ServiceManager\ServiceManager->doCreate('form_element', 'formelement') #2 /zend/library/Zend/ServiceManager/ServiceManager.php(504): Zend\ServiceManager\ServiceManager->create(Array) #3 /zend/library/Zend/ServiceManager/AbstractPluginManager.php(103): Zend\ServiceManager\ServiceManager->get('form_element', true) #4 /zend/library/Zend/View/Renderer/PhpRenderer.php(37 in /zend/library/Zend/ServiceManager/AbstractPluginManager.php on line 209