ZF-7854: cant create module controller with zf.bat tool

Description

When i want to create module controller with zf.bat i get error

PHP Fatal error: Call to a member function search() on a non-object in C:\wamp\www\ZendFramework-1.9.2\library\Zend\Tool\Project\Provider\Controller.php on line 104

Fatal error: Call to a member function search() on a non-object in C:\wamp\www\ZendFramework-1.9.2\library\Zend\Tool\Project\Provider\Controller.php on line 104

This happens when we want to create controller on a module which don't exist.

Comments

This happens when we want to create controller on a module which don't exist.