I have an extension that is giving me an endless loop, and I can't figure out the cause. I tried to follow this (Fundamentals for debugging a Magento store) but can't understand how to do it ? Can anyone help me ?


Your question is a little broad, but in general.

  1. Figure out which controller and action method corresponds to the URL that triggers an endless loop

  2. Look at the controller action and figure out how it is calling code in your extension

  3. Add a series of exit(__FILE__ . '::' . __LINE__); lines until you pinpoint the section of code that's an endless loop.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.