Can't Create 50+ Menu Items? - by giohawk

This topic has 8 replies, 3 voices, and was last updated 8 years, 10 months ago ago by Jack Richardson

  • Avatar: giohawk
    giohawk
    Participant
    January 4, 2016 at 15:04

    Hi guys,

    We’re using your theme with our site and we’re finding that when we add more than around 60 items or so to the menu it’s failing to take effect.

    Either the menu items over 60 are deleted when the menu is saved or the theme unassigns the menu as the primary menu and we’re left with no menu at all. We’ve tried increasing wordpress memory and php.ini memory but it’s not helping. Switching to a default theme it works fine, it’s only Royal theme that is causing the issues.

    I’ve included site login details in private content (site is still being worked on) so please feel free to try adding additional menu items and see for yourself.

    Thank you!

    Please, contact administrator
    for this information.
    7 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    January 4, 2016 at 15:43

    Hello,

    Please contact your hosting provider and ask them to change PHP Max Input Vars value from 1000 to 5000. After that check the menu.

    Regards,
    Eva Kemp.

    Avatar: giohawk
    giohawk
    Participant
    January 4, 2016 at 15:46

    Hi,

    Thanks for response. As mentioned, we’ve already looked at the PHP.ini set up. The following has been set since we initially began trying to sort this issue;

    suhosin.post.max_vars = 5000
    suhosin.request.max_vars = 5000

    Any other suggestions please?

    Thank you

    Avatar: Eva
    Eva Kemp
    Support staff
    January 4, 2016 at 16:56

    Hello,

    Now we can’t access wp-admin panel as setup-config file is loading. Are you reinstalling WordPress?

    Regards,
    Eva Kemp.

    Avatar: giohawk
    giohawk
    Participant
    January 4, 2016 at 16:59

    Hi guys,

    Had to switch to another theme as we couldn’t wait any longer with the menu issue. We’re planning to use the theme for another part of our site instead within the next month or so – so although this isn’t any issue right now, could you tell me please if this is a known issue that has affected other customers of yours in the past please?

    Thank you

    Avatar: Eva
    Eva Kemp
    Support staff
    January 4, 2016 at 18:49

    Hello,

    The issue with menu was caused only by low value of PHP Max Input Vars. In Woocommerce System Status I saw you had it set to 1000, that’s why I suggested you to increase it to 5000.

    Regards,
    Eva Kemp.

    Avatar: giohawk
    giohawk
    Participant
    January 5, 2016 at 10:12

    Thanks Eva,

    We did initially change the php.ini file but you were right, it wasn’t actually taking effect – using the WooCommerce status screen helped us see if the php.ini changes were happening.

    For anyone else having this issue, this link is a good tutorial for beginners increasing the PHP allowance on your server.

    Theme is working like a dream now with a massive 80+ item menu, thanks so much 🙂

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 5, 2016 at 10:57

    Hello,

    You’re welcome.

    Best regards,
    Jack Richardson.

  • Viewing 8 results - 1 through 8 (of 8 total)

The issue related to '‘Can't Create 50+ Menu Items?’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.