cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 1.9.3.1 - Error 500 on products in cart if updated in admin

Magento 1.9.3.1 - Error 500 on products in cart if updated in admin

Hello,

 

I'm running Magento 1.9.3.1 and I'm having a very weird issue I never encountered having multiple Magento websites.

If I add a product to cart then update it in back office, I have an error 500 on frontend on all pages. I have to delete browser history to get the pages back.

 

Any idea on what could be causing this ? Could it be a Magento bug ?

 

Logs are giving :

 

mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 130968 bytes) in /var/www/vhosts/domain.com/httpdocs/app/code/core/Mage/Sales/Model/Resource/Quote/Item/Option/Collection.php on line 101 on home page

 

mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 2245 bytes) in /var/www/vhosts/domain.com/httpdocs/app/code/local/Mage/Eav/Model/Entity/Collection/Abstract.php on line 1138 on category page

 

mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 98 bytes) in /var/www/vhosts/domain.com/httpdocs/lib/Zend/Db/Statement/Pdo.php on line 291 on product page

 

mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 256 bytes) in /var/www/vhosts/lescabinesblanches.com/httpdocs/lib/Varien/Simplexml/Element.php on line 195 on cart page

 

I'm on a dedicated server running multiple Magento stores OK.

 

I tried to follow https://techjam.gr/2012/magento/solve-magento-500-internal-server-errors/ and everything seems OK.

 

I also tried to switch off added extensions and turn default theme on.

 

Hoping for answers,

Best regards,

David

2 REPLIES 2

Re: Magento 1.9.3.1 - Error 500 on products in cart if updated in admin

With some help on Stack Exchange I tried to disable 3rd Party extensions in app/etc/modules folder.

 

It seems like J2T Design reward points is causing this issue.

 

I will post when issue gets fixed.

Re: Magento 1.9.3.1 - Error 500 on products in cart if updated in admin

256MB memory limit is kind of rock bottom -- Magento works, but just barely and once you start adding extensions the probability that it will run out of memory will increase. Magento officially recommends to use 512MB memory limit.

Tanel Raja