LemonStand Forum: Fatal Error in Shop Categories list when nested 3+ levels down - LemonStand Forum

Jump to content

Severity 0 - None Assigned Status Resolved
Version - Fixed in -

Page 1 of 1
  • Cannot start a new Issue
  • Closed Issue This issue is locked

Report ID #34: Fatal Error in Shop Categories list when nested 3+ levels down

#1 User is offline  
bendog 

  • LemonEvangelist
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 100
  • Joined: 14-April 11

Posted 09 August 2011 - 11:15 PM

Hi,

I'm trying to add some categories & sub categories to a test shop and it's coming up with a fatal error as soon as I nest a 3 level down.

E.g. I've added:
Clothing
-> Women
-> Pants

As soon as I create the Pants category as above, it goes back to the main list with a major fatal error:

Fatal error: Maximum function nesting level of '100' reached, aborting! in /Users/benl/Sites/sevencanaries/public/phproad/modules/phpr/classes/phpr_extensible.php on line 79

I've attached a screen grab of the xdebug trace of the error.

Version is fairly new, less than a week old. The report Module version for the shop is 1.5.90

Attached thumbnail(s)

  • Attached Image: _1312960395005.png



Page 1 of 1  
  • Cannot start a new Issue
  • Closed Issue This issue is locked

Replies (1 - 5)

#2 User is offline  
Hexarobi 

  • LemonEvangelist
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 103
  • Joined: 10-August 11

Posted 10 August 2011 - 07:13 PM

I'm also experiencing this issue.

I also have X-Debug installed, I wonder if this error is related.

#3 User is offline  
Eric Muyser 

  • Web Developer
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,317
  • Joined: 04-August 10
  • LocationVancouver, Canada

Posted 10 August 2011 - 08:23 PM

Updating status to: Unconfirmed

Hi Ben,

It's Xdebug causing the error, not LemonStand. As you can see, Xdebug has a limitation of 100 nested function calls. That's no where near enough to cause a stack overflow, so you can try increasing the limitation in the Xdebug settings, or disabling it entirely.

Let us know if you have any issue without Xdebug.

Thanks

#4 User is offline  
bendog 

  • LemonEvangelist
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 100
  • Joined: 14-April 11

Posted 10 August 2011 - 08:30 PM

Hi Eric,

Yeah you're right, it's totally xdebug doing that.

So it's not a bug then :)

#5 User is offline  
Eric Muyser 

  • Web Developer
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,317
  • Joined: 04-August 10
  • LocationVancouver, Canada

Posted 10 August 2011 - 08:35 PM

Updating status to: Resolved

True. :)

#6 User is offline  
Hexarobi 

  • LemonEvangelist
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 103
  • Joined: 10-August 11

Posted 11 August 2011 - 07:20 AM

Fixed this by adding the following to the XDebug section in my php.ini (or xdebug.ini)

xdebug.max_nesting_level = 150


Page 1 of 1
  • Cannot start a new Issue
  • Closed Issue This issue is locked

0 User(s) are reading this issue
0 Guests and 0 Anonymous Users