Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Occured with parser_simplepie and simplepie.inc 1.1
After having an installation with 2.2K feeds offline for half a day, I got
Fatal error: Maximum function nesting level of '100' reached, aborting!
errors on cron.
It seems that under certain circumstances, SimplePie->init() recurses forever (line 1565 in simplepie.inc 1.1).
I removed all files from the simple pie cache and things started to work again.
I guess this is a SimplePie error.
Alex
Comments
Comment #1
Aron NovakIt should be simplepie error, make it won't fix.
Comment #2
kehan CreditAttribution: kehan commentedI had a problem with the same error in my own code - it turns out it's because I have xdebug enabled - I found I could fix it by setting
xdebug.max_nesting_level=200
in my php.ini.http://www.php.net/manual/en/ini.list.php
Comment #3
kenorb CreditAttribution: kenorb commentedThanks.
xdebug.max_nesting_level worked.
If you don't using xdebug, try increasing max_input_nesting_level.
Comment #5
apadernomax_input_nesting_level
is for the super global variables like$_GET
, and$_POST
: It's the number of nested array you can have in those variables.