Closed (fixed)
Project:
Drupal For Firebug
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Sep 2008 at 11:54 UTC
Updated:
20 Jan 2011 at 17:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
miklI tried messing a bit around with it, and it happens on every page as long as the module is loaded.
Comment #2
alanburke commentedEncountered the same problem.
Perhaps it's an conflict issue with another module.
I'm trying to pinpoint it.
Alan
Comment #3
upupax commentedSame problem..
Comment #4
ksenzeeI get it on line 332. In my case it seems to be a conflict with the actions module; so far I've only seen it at admin/build/trigger/*.
Comment #5
ksenzeeOops, didn't mean to change the version.
Comment #6
ksenzeeAargh.
Comment #7
vmiliano commentedI get this same error, same line number, on pages that have views on them. If I comment out drupalforfirebug_views_pre_view(), the error goes away. Does drupalforfirebug_array_compare_code() recurse like crazy into the view for some reason? Can that be done without recursion?
Comment #8
populist commentedThe views 2 support is a little bit fragile at the moment and there is a good chance the data coming back from there (or the method that is collecting the data) is causing some breakage. Investigating as well.
Comment #9
populist commentedThere was a bit of refactoring to how the objects were being compared to be a little more efficient and to prevent a few recursive issues. I am not able to replicate the problem with Trigger module, but will keep investigating. Please try the latest module version and see if the errors are still there and what modules you might be enabling.
Comment #10
miklI tried it out with the latest 6.x-dev snapshot, but that gives the same error.
The modules I have enabled on that site:
admin_menu
advanced_help
diff
jquery_ui
logintoboggan
scheduler
switchtheme
token
transliteration
cck
fieldfield
imagefield
imageapi
imagecache
schema
date_api
date
date_popup
coder
devel
nodequeue
jquery_update
views
Plus a smattering of in-house-developed, client-specific modules.
Comment #11
populist commentedI added some generalized recursive code to the module and I hope that resolves this issue! Will issue a release soon and give that a whirl. Resolved the test problem I was able to recreate with recursive items in panels.
Comment #12
vidda commentedI just enabled stable version 6 1.1 and Fatal error: Nesting level too deep - recursive dependency again. Seems not corrected. Or shoud I use latest development snapshot?
I have many mdules installed, maybe that is the problem?
Comment #13
wim leersSubscribing.
Comment #14
arcane commentedSubscribing
Comment #15
comargo commentedfor version = "6.x-1.0":
I've got same bug.
Fast google gives me with first link:
http://www.bigroom.co.uk/blog/php-nesting-level-too-deep-recursive-depen...
Realy I havn't read it all and just tried the solution at the end of the article:
---
echo ( $a == $c ); // Fatal error:
Nesting level too deep - recursive dependency?
---[skipped]---
Once you know the problem, the solution is easy - use strict comparison.
echo ( $a === $c ); // false (and no error)
---
It helped me.
Patch file attached. (there are two places with same bug on the same function.)
Comment #16
kndr#15 works for me. Thanks!
Comment #17
comargo commentedkndr: Nice to hear it.
Small update (noticed that drupal recomends me to update the module to 1.1)
Same problem occurs. Attached patch for version 1.1 (patch for 1.0 was rejected on 1.1 :( )
Comment #18
matt v. commentedThe patch fixed the issue for me under 6.x-1.1.
Comment #19
populist commentedthank you for this patch. tested and committed. will roll out a new release soon.
Comment #21
jurgenhaasUnfortunately, this error returned in the D7 version. I've tried to find out what exactly is causing the problem but I couldn't. I just know that it is caused when a drupal_get_form() is called on a fairly complex form with vertical tabs.
Comment #22
jurgenhaasComment #23
ramya_yanamaddi commented"Fatal error: Nesting level too deep - recursive dependency?"
this problem is not fixed in drupal7 version module
Comment #24
moshe weitzman commentedFYI, switching to json_encode() instead of serialize() and var_export() fixed a similar problem for devel query log
Comment #25
MondayNgt commentedI just got this error on Drupal 7 alpha 7, Firebug for Drupal was the only module I had installed beside the core D7 system.
Comment #26
brightboldSame error, different line, here:
Fatal error: Nesting level too deep - recursive dependency? in C:\Web\BrightBold\sites\all\modules\drupalforfirebug\drupalforfirebug.module on line 421This is with Drupal 7.0-beta2, Drupal for Firebug 7.x-1.x-dev (2010-Jul-11)
Error occurred when I clicked "configure" Filtered HTML on the Text formats page (linked to /admin/config/content/formats/2)
Comment #27
lilou commentedSame problem with drupal 7 rc1 on node/add/*
Comment #28
populist commentedThe stable release of the module resolves this