• Resolved joelsburg

    (@joelsburg)


    I’m building a WordPress site with a large custom menu structure (around 100 items). I had about 100 items in the menu over the weekend, but when I tried to move one item around yesterday, WP suddenly started cutting the menu off at 90 items exactly, and now I can’t add any new items.

    It also changes the final menu item from “page” to “custom” and places it as a parent item, instead of a child/grandchild, as intended. Upon saving, I get no error messages or any indication that something went wrong.

    After searching around, I’ve discovered a number of discussion threads that suggest this could be a web host issue, having to do with the host’s “suhosin” or “max_vars” settings in the site’s php.ini file, or that certain settings in the .htaccess file could solve the problem.

    See:

    http://wordpress.org/support/topic/limit-on-items-in-custom-menus-30
    http://core.trac.wordpress.org/ticket/14134
    http://wordpress.org/support/topic/the-menu-has-a-limit-of-49-links-of-pages-in-the-navbar

    I’ve tried any/all suggestions from these threads, and no luck. I noticed that a number of other people in these threads also seem to have hit a wall.

    Any thoughts on how to proceed? Any help appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter joelsburg

    (@joelsburg)

    Never mind. My host (NFSN) suggested I add the following code to my .htaccess file:

    php_value max_input_vars 2000

    And it worked! Hopefully this can help others with the same issue.

    Thank @joelsburg!

    I Added

    php_value max_input_vars 2000

    to the top line in my .htaccess file and I also had to disable the Google XML Sitemap plugin for it to work for me.

    Recently moved a wordpress site from one server to another server. Once I went to edit the menu navigation it would not let me add more than 90 pages/subpages/childpages/etc. in total. Searched the web and found several solutions to fixing the problem including the Suhosin. Unfortunately getting a hold of my server company and having them change it was not a viable option at the time.

    @joelsburg you rock man, did the same and it worked for me.

    Thanks a LOT !

    I’m building a WordPress site with a large menu structure (above 100 items). I had about 100 items in the menu over the weekend, but when I tried to move one item around yesterday, WP suddenly started cutting the menu off at 75 items exactly, and now I can’t add any new items in Word Press 3.4.2

    I have change the suhosin.post.max_vars value from 1000 to 2048 , suhosin.request.max_vars value from 1000 to 2048 and suhosin.memory_limit 256M But not working around 100 menu items.

    Any thoughts on how to proceed? Any help appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Custom Menu] custom menu limits?’ is closed to new replies.