php - New Quote id generate on every time of getQuote() in magento -


when try cart items using getquote() method like

mage::getmodel('checkout/cart')->getquote();

it generates new quote id on every time of line call. sales_flat_quote table growing rapidly & make looping! , show below error! plz check screenshot!

fatal error: maximum function nesting level of '6000' reached, aborting!

enter image description here

this issue occurs times , customers only. if check in system, showing fine! rectify automatically after times. can't understand why happening.

any advice or suggestions appreciated!

tl;dr: disabled xdebug , fine.

this error message comes xdebug extension. php not have function nesting limit. change the setting in php.ini:

xdebug.max_nesting_level = 10000 

or in php code:

ini_set('xdebug.max_nesting_level', 10000); 

as if need change (i.e.: if there's alternative solution recursive function), can't tell without code.


Comments

Popular posts from this blog

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -