Magento News

 

Magento infinite loop on some logins

I have an unfortunate and serious issue with my Magento install. This started happening very recently. I am running Magento 1.5.1.0. Some customers are unable to login and either the login action never completes or a memory limit error is thrown: Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 523800 bytes) in /var/rooja/app/Mage.php on line 139

We’ve logged this issue and it appears to be stemming from:

Mage::dispatchEvent('customer_login', array('customer'=>$customer));

This is on line 193 of /Customer/Model/Session.php

Some customers can login fine while others are thrown into this infinite loop. Any ideas on how to solve this clearly serious issue?

This problem started happening when I changed 2 fields in my eav_attribute table in my database. I changed region and region_id from is_required 0 to 1. I believe most of the customers who are having this issue have a state in one of their address fields.

Any help would be much appreciated!

Thanks in advance!

Magento infinite loop on some logins

Possibly Related Posts:


 

Leave a Reply