简体   繁体   中英

Magento customer registration error

I installed a multi vendor module on magento and when you try to register you get this error;

Cannot save the customer.`Invalid method Mage_Customer_Model_Customer::cleanPasswordsValidationData(Array ( ) )`

help will be much appreciated

it was a form validation issue, you need to assign your magento version in accountcontroller.php of the module. Mine was 1.9.1.0 but the former value was 1.8.1. you search for this line of code and change the version

    if (version_compare(Mage::getVersion(),"1.9.1.0",">="))
{
    // Only from 1.9.1.0
    $customer->cleanPasswordsValidationData();
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM