I Have got same issue some times ago and found a work around Here
You need to copy from:
/app/code/core/Mage/Customer/Helper/Data.php
To
/app/code/local/Mage/Customer/Helper/Data.php
Search function :
public function getPasswordTimestamp($customerId)
{
/** @var $customer Mage_Customer_Model_Customer */
$customer = Mage::getModel('customer/customer')
->setWebsiteId(Mage::app()->getStore()->getWebsiteId())
->load((int)$customerId);
$passwordCreatedAt = $customer->getPasswordCreatedAt();
return is_null($passwordCreatedAt) ? $customer->getCreatedAtTimestamp() : $passwordCreatedAt;
}
Replace it with:
public function getPasswordTimestamp($customerId)
{
$resource = Mage::getSingleton('core/resource'); $resource = Mage::getSingleton('core/resource');
$readConnection = $resource->getConnection('core_read');
$query = 'SELECT * FROM ' . $resource->getTableName('customer_entity').' WHERE `entity_id` = '.$customerId;
$results = $readConnection->fetchAll($query);
$result=$results[0]; $result=$results[0];
$date_created = Varien_Date::toTimestamp($result['created_at']);
return $date_created;
}
After that you need to recompile
and flush cache
:
Note: in Blog , They explain due to patch, customer load is failed and we manually need to get created_at
of current user.