php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5489 Nesting level too deep
Submitted: 2000-07-10 04:05 UTC Modified: 2000-07-25 07:26 UTC
From: jelmer at nl dot linux dot org Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.1 OS: Debian Linux 2.1
Private report: No CVE-ID: None
 [2000-07-10 04:05 UTC] jelmer at nl dot linux dot org
I sometimes get a error like this:

Warning: Nesting level too deep - recursive dependency? in Unknown on line 0

Fatal error: Cannot redeclare glossaryitems() in layout.php on line 7

I doesn't come up always, only about 1 of 5 requests give this output. There is no recursive dependency anywhere. 

Pressing reload usually solves the problem - for a moment.

My include file is more as 32 Kb, could that be the problem?

When the file is first read, the end of the file is not reached(a 'echo' at the end wasn't executed)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-25 07:26 UTC] andi@php.net
I am pretty sure Zeev has fixed this in the latest CVS.
Please grab it or get the latest snapshot from snaps.php.net. If you still have a problem then please repost this bug.
Thanks.
 [2003-01-09 01:25 UTC] christopher_sagx at yahoo dot com
I'm getting the same error

Nesting level too deep - recursive dependency? in Unknown 

after Inhave installed php 4.3 the latest version !

what may be the cause..

btw Im running ensim..

Chris
Director
http://www.chrisranjana.com
 [2003-03-24 19:23 UTC] mark at hot-mail dot com
I just played around with apache2 from my distro maker, 
and then I uninstalled the RPMS for everything - apache, 
apche2, php, apache2-mod_php, mod_php - rebooted, and now 
i'm getting this recursion error on everything I have 
installed (including phpMyAdmin)
 [2003-04-01 14:44 UTC] sniyogi at bungeecode dot com
I experienced the same problem as Chris:  I have an Ensim box 
and upgraded to PHP 4.3.1 and started getting this error.. 
 
Can somebody comment on this? 
 
-Roj
 [2003-05-21 14:38 UTC] jca at casinosur dot com
Well, I have just installed OpenBSD 3.3, but the apache-php doesnt support POST multipart/form-data, so i actualized to php 4.3.1 and I get:
Fatal error: Nesting level too deep - recursive dependency? in Unknown on line 0
Can you help me please???
 [2003-06-18 17:22 UTC] nestor at rtn dot uson dot mx
I compiled php-4.3.2 as a module for apache 1.3.26 which already comes with Mandrake kernel 2.4.19-16.

I got the same message as on other reports:

Fatal error: Nesting level too deep - recursive dependency? in Unknown on line 0

even if only run 
<?php
  phpinfo()
  ?>

Is there any idea for this?

Greetings.

--Nestor
 [2003-06-27 04:57 UTC] lea at fluidenterprises dot co dot uk
Yup, same problem on Red Hat 7.2/php 4.3.2/apache 1.3.27
 [2003-06-27 06:09 UTC] lea at fluidenterprises dot co dot uk
OK, I found the solution: 
 
Make sure that the modules in your extension_dir variable 
are the latest compiled ones. You will get this error if 
you try to use old modules with new versions of php. 
 
See http://bugs.php.net/bug.php?id=21333 for more 
information. 
 
Hope this is helpful
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Nov 22 14:01:30 2024 UTC