I’ve just upgraded from 1.4 to 1.5 and I’m seeing the following error everywhere…
Fatal error: Nesting level too deep - recursive dependency? in C:\inetpub\wwwroot\Piwik\core\ErrorHandler.php on line 36
It’s being displayed on the dashboard in almost every module and all over the place (instead of the data it should be showing) throughout the rest of the application. What the hell is going on?
[quote=matt]
Is there any other error displayed? or maybe, some errors in your webserver error log?[/quote]
No and it appears to only be happening when viewing my stats site from the server itself. If accessed from another machine on the network all is displayed correctly.
I’m having the same problem (using Centos 5.6 with PHP 5.1.6), except it occurs from wherever I access the server and won’t let me log in (unless I modify the code to skip verifyNonce.)
It seems tied to the new core/Session.php code that uses the database for sessions.
…it works again (using “files” as the session handler.)
The session table exists and is in proper format, but nothing gets written to it. Zend_Session::start() doesn’t throw an exception, either. I was going to upgrade to PHP 5.3 but I might look at this a little more out of curiosity.
I determined (under XDebug) that Zend_Session::writeClose() was being called from the destructor Zend_Session_SaveHandler_DbTable->__destruct(), and thought maybe the database handle wasn’t available at that point. After I made this change to the code I can log in normally, don’t see errors anywhere, and can observe the session records being added properly to the table.
p.s. the nesting problem is now fixed in trunk. The ErrorHandler no longer uses var_export() to dump the args. (Note: I opted to not use print_r() as a replacement because the output was just too ugly to reformat/clean-up.)
Same problem here. PHP is 5.3.6. Tried ferment´s solution, but with no effect
Only the widget with the SEO-ranks is displayed correctly. Hope Anthon´s fix will work for me.