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

Aron Novak’s picture

Component: Code » Code parser_simplepie
Status: Active » Closed (won't fix)

It should be simplepie error, make it won't fix.

kehan’s picture

I 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

kenorb’s picture

Status: Closed (won't fix) » Fixed

Thanks.
xdebug.max_nesting_level worked.

If you don't using xdebug, try increasing max_input_nesting_level.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

apaderno’s picture

max_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.