Magento – Call to undefined method Mage_Customer_Helper_Data::getIsRequireAdminUserToChangeUserPassword()

errormagento-1.9

Call to undefined method
Mage_Customer_Helper_Data::getIsRequireAdminUserToChangeUserPassword()
in
/home/vithauix/public_html/app/code/core/Mage/Adminhtml/Block/Customer/Edit/Tab/Account.php on line

Best Answer

Mage_Customer_Helper_Data::getIsRequireAdminUserToChangeUserPassword() was introduced in Magento 1.9, so it sounds like your Mage_Customer_Helper_Data class is from an older version.

The most likely explanation is an override in app/code/local. Remove app/code/local/Mage/Customer/Helper/Data.php or replace it with app/code/core/Mage/Customer/Helper/Data.php and re-apply your modifications.

Note that code pool overrides in app/code/local/Mage are bad practice and avoidable in almost all cases. If you really need to change a method of this helper, use a custom module with a class rewrite instead. This way, you can extend the original class and only change selected methods, which is more update-safe.

Related Topic