马真托客户注册错误


Magento customer registration error

我在magento上安装了一个多供应商模块,当您尝试注册时,您会收到此错误;

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

帮助将不胜感激

这是一个

表单验证问题,您需要在模块的AccountController.php中分配Magento版本。我的是 1.9.1.0,但以前的值是 1.8.1。搜索此行代码并更改版本

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