Page 1 of 1

Fatal error - Maximum function nesting level of '100' reache

PostPosted: Tue Apr 09, 2013 2:11 am
by shokinro
Code: Select all
( ! ) SCREAM: Error suppression ignored for
( ! ) Fatal error: Maximum function nesting level of '100' reached, aborting! in C:\wamp\www\ibuy\override\classes\Tools.php on line 10
Call Stack
#   Time   Memory   Function   Location
1   0.0007   253712   {main}( )   ..\index.php:0
2   0.1336   8066480   DispatcherCore->dispatch( )   ..\index.php:28
3   0.1635   11264928   ControllerCore->run( )   ..\Dispatcher.php:348
4   0.2179   16074568   AgileMultipleSellerSellerProductDetailModuleFrontControllerBase->initContent( )   ..\Controller.php:167
5   1.5224   27980136   AgileMultipleSellerSellerProductDetailModuleFrontControllerBase->initiContentForInformation( )   ..\sellerproductdetailbase.php:10
6   1.5242   28022424   Tools::getSortedFullnameCategory( )   ..\sellerproductdetailbase.php:10
7   1.5244   28029408   Tools::getPathFromName( )   ..\Tools.php:10
8   1.5244   28029936   Tools::getPathFromName( )   ..\Tools.php:10


Have you seen this error?
If you encounter this error, it usually means that you are using logic in your code that is causing an infinite loop. However, sometimes the actual cause is not the code logic, but instead is because of a contradiction in data.

One of my customers encountered this issue, and after investigating I found the issue was caused by the product category setting. It turned out there were two categories set to be parents of each other, and this was causing the infinite loop above.

If you see this error, always check first for the type of scenario my client had. Hope this helps...