Am working on a custom module for managing admin users in a custom role. Just finished the grid section. I need to edit the listed users, also a add form.

I just tried by overriding the


but getting the following error.

Fatal error: Call to a member function setData() on boolean in C:\xampp56\htdocs\magento\app\code\core\Mage\Adminhtml\controllers\Permissions\UserController.php on line 94

Any help will be appreciated. Thanks in advance.

  • The error says that the object on which you call setData does not exist (most likely there is a function returning that variable and the return value is false). Whithout sharing the complete controller code it will be difficult to help you :-) – HelgeB Apr 9 at 9:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.