ZF-6585: Cant create actions in Index controller
Im trying to create a action in IndexController via zf.bat - but somehow it doesnt work. It works fine when I create actions in an another controller.
The project is created with d:\path\to\zf.bat create project . (from the directory where I want it to be created) Worked perfectly.
Then I copied zf.bat and zf.php to the directory (so I didnt have to type d:/path/to/zf.bat anymore. Now I created a new controller, and added some actions with zf.bat create controller User zf.bat create action login User zf.bat create action logout User (and some more)
Then I tried to create some new actions in indexController zf.bat create action send Index Then this error came
PHP Fatal error: Call to a member function search() on a non-object in ...\Zend\Tool\Project\Provider\Action.php on line 85 Fatal error: Call to a member function search() on a non-object in ...\Zend\Tool\Project\Provider\Action.php on line 85
Then I tried to create another action with a name which worked perfectly in my userController zf.bat create action login Index same error