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

In this board, we will periodically list various tips and tricks we find that may help in your use of PrestaShop. This will also include tips on the use of Agile modules. If you have a great tip, fix, or workaround for a PrestaShop feature, feel free to post it here...

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

Postby shokinro » Tue Apr 09, 2013 2:11 am

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...
Follow us at Twitter Like us on Facebook Watch our Tutorial Videos on YouTube
shokinro
Site Admin
 
Posts: 3091
Joined: Sat Jun 25, 2011 3:08 pm

Return to Tips and Tricks for PrestaShop and Agile Modules

Who is online

Users browsing this forum: No registered users and 2 guests