WordPress.org

Ready to get started?Download WordPress

Forums

limit on items in custom menus 3.0? (25 posts)

  1. mrwozney
    Member
    Posted 4 years ago #

    Hey all,
    I'm building a custom menu for a site I'm developing which has 8 main sections/categories, each with several child/grandchild options.

    I've got about three of them done without issue, but now when I add items it seems like WordPress won't let me change anymore- when I hit save menu the changes are gone and I'm stuck at the point where only those three sections are completed.

    Is there a setting I need to check, or has anyone else had an issue like this?

  2. mrwozney
    Member
    Posted 4 years ago #

    I have read the following support topics on this issue, and it appears that mine are unrelated.

    http://wordpress.org/support/topic/wordpress-menu-problem?replies=11

    I can get up to 34 items on my menu, and then it stops- I can add a ton more, but when I click save menu, it reverts to the top 34 items- it's almost as if the space you can drag and drop the menu components in is constrained in view or something....

    Help/ideas?

  3. mrwozney
    Member
    Posted 4 years ago #

    I am using a premium theme called Unisphere Corporate and wondered if because it was designed pre-Wordpress 3 if that might be interfering with things.

    I switched the theme to 2010 to see if that might help. The menu displays just as it's laid out in the editor, but I still can't get more than 32 (sorry about that 34 in the last post) items to go into the menu.

    Ideas?

  4. mrwozney
    Member
    Posted 4 years ago #

    I installed the pagemash plugin to set the page hierarchy of the parent/child pages, which I hadn't done previously. I wondered if having so many (over 30 pages) all on the same level was giving wordpress a headache with the custom menu.

    Pagemash helped me with organizing drop down menus on enabled themes before 3.0 came out with the custom menu functionality, so I thought it would help here.

    No dice again- even the with pages organized, I've got the same issue- I can only get 32 items in the custom menu to show up, and anything above and beyond gets ignored when I save changes.

    I'd love to hear from some people on this!

  5. haryadimas
    Member
    Posted 4 years ago #

    Hi Wozney, I think i have the same problem. I can only have 16 menu items. After that every page or category that I add becomes a Custom Menu. And the items after that is gone.

    I'm on 3.0.1.

    And I have tried re-installing WP.
    Uninstalling all plugins.

    Dimas

  6. zalaz
    Member
    Posted 3 years ago #

    Hey Guys,
    I have the same issue going on. Strangely it was working for a while I was able to ad like 30-35 menu items.
    I tried the same like haryadimas without succes.
    Using a different theme didn't helped either.

    zalaz

  7. zalaz
    Member
    Posted 3 years ago #

    Hey Guys,

    Check out this topic:
    http://wordpress.org/support/topic/the-menu-has-a-limit-of-49-links-of-pages-in-the-navbar?replies=6

    This gave me the solution.

    You have to ask your ISP to change these values or at least a higher value:
    suhosin.post.max_vars = 0
    suhosin.request.max_vars = 0

    So, I'm happy.

    zalaz

  8. zsero
    Member
    Posted 3 years ago #

    Luckily this is one of the top 3 pages of google search "wordpress menu limit", so I quickly found a solution. I wrote a letter to my ISP to set the limit to 5000 and now it's solved. I just asked them to set the following two values in PHP.

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

    But I think WordPress with it's millions of downloads should really think about a different structure for the menu data, as I think not all users go as far as this and really look after the problem. And something as popular as WordPress really shouldn't work in a "ask you ISP to set these values for you" way!

  9. redsalmon
    Member
    Posted 3 years ago #

    I have same/similar problem. Thanks to all for info above.

    I'm presently struggling through this with my ISP, it is proving extremely difficult to get them to make the changes or to tell whether changes they have made are having any effect. Custom menu still not working for me when too many items (approx 35 = timeout).

    Am, i right that with custom menu it's ok for children to have multiple parents?

    I agree with @zsero, this is a lot of hassle. I see in the bug report http://core.trac.wordpress.org/ticket/14134 that 'not too many people are complaining'. I'd like to complain loudly!

    Custom menu would be a great addition to wordpress but at present it is a nightmare for larger menus.

  10. heni1022
    Member
    Posted 3 years ago #

    I had a similar problem. I could only add so many menu items. I contacted my hosting provider and told them most of what I read on this forum. (They spent QUITE a WHILE with me! love, love, love Rackspace!)

    As it turns out, by process of elimination Google XML Sitemaps version3.2.4 seems to be the culprit. I deactivated it while configuring my menu, re-activated it right after and: VOILA!

    Worked for me, hope it helps someone else!

  11. zsero
    Member
    Posted 3 years ago #

    Was your problem with suhosin?

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

    Or it was totally independent?

  12. Stephanie_42
    Member
    Posted 3 years ago #

    I was having this issue and was able to fix it by having my host up the value from the default 200 to 500 (the highest they said they could go), the question I have is if 5000 is what i should really push for or if a setting of "0" is really "unlimited" as suggested in this post of similar topic - http://wordpress.org/support/topic/wordpress-menu-problem?replies=12

  13. zsero
    Member
    Posted 3 years ago #

    I think 0 is unsafe. 500 might work for you. It depends on the complexity of the menu. You have to try it in your setup.

    But this issue should have already been fixed! I can't believe WordPress with 100 million downloads and world famous everything still has this bug! No pre-release alpha version of any CMS has trivial bugs like this, but WordPress leaves it in a production ready, stable release.

  14. esmi
    Forum Moderator
    Posted 3 years ago #

    It's a server-specific issue - not a WP one. If you want to help reduce the number of problems like this, please try to get involved in the alpha/beta testing.

  15. zsero
    Member
    Posted 3 years ago #

    This way you can also say that for 90% of the bugs! Yes, it is server specific. But if a very high number of shared hosts have this value set such that no more than about 15 menu items are allowed than it shouldn't be allowed in a stable release! And don't forget that only a very small percentage of actual wordpress users go here, finds out what's the problem and report it here. When I help most of my friends with this bug, they have no idea about what is PHP or security settings and so. If wordpress wants to be a user friendly distribution, it shouldn't force its users to write detailed letters to their hosts asking them to loosen security settings so much that most hosts are not willing to do it, just because the user wants more than 15 menu items! Show me any CMS system, which has such a buggy menu implementation!

  16. esmi
    Forum Moderator
    Posted 3 years ago #

    If the number of shared hosts is that high, why wasn't this reported as an issue in the alpha stage? I'm not seeing this as a common problem at all.

  17. zsero
    Member
    Posted 3 years ago #

    Maybe not all users know
    - what is happening
    - how to reach this place or the bug tracker
    - how to report a bug
    - how to explain the problem in English

    And maybe there are more hosts using older configurations in the non-English speaking part of the world, with users never reaching as far as this forum, not even mentioning the bug tracer with it's strange interface and double registration.

  18. zalaz
    Member
    Posted 3 years ago #

    Sad to be back, but...

    Today I faced the problem again - now I'm still able to have 41 items in the menu not more - after switching to another theme based on the original (Graphene). Switched back to the theme wihtout luck.
    I have checked with my ISP, but the setting are 0, so it should work.
    They have setted the memory_limit variable from 50 to 280 MB. Didn't helped.

    Hmmmm

  19. zsero
    Member
    Posted 3 years ago #

    Try asking them to set it to 5000, instead of 0, maybe it defaults to an other value.

    And ask the set both values:

    suhosin.post.max_vars = 5000
    suhosin.request.max_vars = 5000
  20. redsalmon
    Member
    Posted 3 years ago #

    i gotta make 2 menus and hack the css so they look like one to get what we need ...

  21. heni1022
    Member
    Posted 3 years ago #

    Another possible solution: increasing the PHP memory seems to have worked as well.

  22. finleydesign
    Member
    Posted 3 years ago #

    Ok I have done every change possible, my host has increased the suhosin to 9000 increased the memory limit and nothing makes a difference, have also found added bits and pieces to add to the .htaccess, but all fail, still stuck anyone got any suggestions

  23. drokkon
    Member
    Posted 3 years ago #

    Shoot...changing suhosin via php.ini didn't work, changing suhosin via .htaccess didn't work, and upping my php memory limit to 256MB in PHP.ini and wp-config.php didn't work!

    I'm out of options and stuck at 52 menu items. :(

  24. drokkon
    Member
    Posted 3 years ago #

    Apologies. Double post.

  25. Kirk_S
    Member
    Posted 3 years ago #

    Same issue.

    I run several websites. I installed wordpress with the same theme to all of them, and modified them all exactly the same way. They are also on the same host. Only one of them is having this issue, it maxes out at 24 or so menu items... I don't know if this is a host issue then, or what...?

Topic Closed

This topic has been closed to new replies.

About this Topic