[Skip to main content](#vessel-content)

#   Fatal error: Maximum function nesting level v1.5.5

##

- **[geraint](/forum/user/5315-geraint "View geraint's Profile")**
- [![geraint's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5315-geraint "View geraint's Profile") Topic Author
- [ Offline](/forum/user/5315-geraint)

Less More

- Posts: 7
- Thank you received: 5
-
-

14 years 10 months ago [\#34172](#34172) by [geraint](/forum/user/5315-geraint "View geraint's Profile")  *[Fatal error: Maximum function nesting level v1.5.5](/forum/3-bug-report/34172-fatal-error-maximum-function-nesting-level-v1-5-5#34172 "I'm setting up HikaShop for the first time on my development server (Joomla 1.7.3 HikaShop v. 1.5.5) and am getting this error when viewing the category listing menu item type.  The problem is at line 82 of components/com&#95;hikashop/views/category/tmpl/listing.php and is caused by problems configuring the menu item. specifically this is returning a blank  when I edit the menu item and view the hikashop options I get this php message Notice: Undefined index: layout&#95;type in /xxx/administrator/components/com&#95;hikashop/views/menus/tmpl/form.php on line 83  I know this problem is caused by having php max error reporting enabled but there should be a trap for this I believe.  Geraint")* was created by *[geraint](/forum/user/5315-geraint "View geraint's Profile")*

I'm setting up HikaShop for the first time on my development server (Joomla 1.7.3 HikaShop v. 1.5.5) and am getting this error when viewing the category listing menu item type.

The problem is at line 82 of components/com_hikashop/views/category/tmpl/listing.php and is caused by problems configuring the menu item. specifically this is returning a blank Code:

$layout_type = $this-&gt;params-&gt;get('layout_type');

when I edit the menu item and view the hikashop options I get this php message
Notice: Undefined index: layout_type in /xxx/administrator/components/com_hikashop/views/menus/tmpl/form.php on line 83

I know this problem is caused by having php max error reporting enabled but there should be a trap for this I believe.

Geraint

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zNDE3Mi1mYXRhbC1lcnJvci1tYXhpbXVtLWZ1bmN0aW9uLW5lc3RpbmctbGV2ZWwtdjEtNS01P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

14 years 10 months ago [\#34185](#34185) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Fatal error: Maximum function nesting level v1.5.5](/forum/3-bug-report/34172-fatal-error-maximum-function-nesting-level-v1-5-5#34185 "I'm setting up HikaShop for the first time on my development server (Joomla 1.7.3 HikaShop v. 1.5.5) and am getting this error when viewing the category listing menu item type.  The problem is at line 82 of components/com&#95;hikashop/views/category/tmpl/listing.php and is caused by problems configuring the menu item. specifically this is returning a blank  when I edit the menu item and view the hikashop options I get this php message Notice: Undefined index: layout&#95;type in /xxx/administrator/components/com&#95;hikashop/views/menus/tmpl/form.php on line 83  I know this problem is caused by having php max error reporting enabled but there should be a trap for this I believe.  Geraint")*

I'm not sure how you were able to get that error. You can add the code:
if(!isset($element-&gt;hikashop_params)){
$element-&gt;hikashop_params = 'div';
}

in the file administrator/components/com_hikashop/views/menus/view.html.php before the line:
$this-&gt;assignRef('element',$element);

Then, go in your menu, save the options and your menu should work.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zNDE3Mi1mYXRhbC1lcnJvci1tYXhpbXVtLWZ1bmN0aW9uLW5lc3RpbmctbGV2ZWwtdjEtNS01P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.053 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
