Maximum function nesting level reached when creating category listing menu

  • Posts: 105
  • Thank you received: 2
5 years 9 months ago #294237

-- HikaShop version -- : 3.4.0
-- Joomla version -- : 3.8.6
-- PHP version -- : 7.1
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : Maximum function nesting level of '256' reached, aborting!

When I create a menu item of menu item type category listing, when I save I have the error :

An error has occurred.
0 Maximum function nesting level of '256' reached, aborting!


And this destroys completely my menu tables, I have to reload everything.
Please help.
Kind regards

Please Log in or Create an account to join the conversation.

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
5 years 9 months ago #294242

Hello,

You should activate temporally the Joomla debug mode in your Joomla global configuration to get the "call stack" and understand where your loop is.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 105
  • Thank you received: 2
5 years 9 months ago #294277

Hi, please find enclosed the call stack log.
Any idea?

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
5 years 9 months ago #294278

Hello,

I'm afraid that your issue is not related to HikaShop directly since the loop is within the Joomla core :

245	Joomla\CMS\Table\Nested->rebuild()	JROOT\libraries\src\Table\Nested.php:1340
246	Joomla\CMS\Table\Nested->rebuild()	JROOT\libraries\src\Table\Nested.php:1340
247	Joomla\CMS\Table\Nested->rebuild()	JROOT\libraries\src\Table\Menu.php:294
248	Joomla\CMS\Table\Menu->store()	JROOT\administrator\components\com_menus\models\item.php:1430

I suppose that you will have the same problem if you create a menu different than an HikaShop one.
You should have something wrong in your database for your menus and it generates an infinite loop within the "rebuild" function of the Joomla core.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 105
  • Thank you received: 2
5 years 9 months ago #294290

I tried another menu. You are damn Right!!
Thanks for your help, I will have a look; sorry to have bothered you.
Regards

Please Log in or Create an account to join the conversation.

Time to create page: 0.068 seconds
Powered by Kunena Forum