• Resolved Bzy39

    (@bzy39)


    is there a way to increase wp_nav_menu limit, because in my site it show only 15 menu, and i can’t add more menu.

    thank

Viewing 11 replies - 1 through 11 (of 11 total)
  • Sounds like it is a server issue, speak to your webhost about max_vars.

    I have my own server and WP installation and I cannot exceed 15 items total (main or sub) either in my menu. What gives?

    Having the same problem and cannot find a fix. max_vars (suhosin) and all other var limits set to 9999999 from 200, confirmed in phpinfo and still no joy. No matter what I do I cannot get any more than 15 menu items, yet I can post an array of 1000 arrays with 1000 vars in each without problems.

    No errors anywhere, of any kind thrown – looking at the print_r of post shows 15 menu items only to the truncation is happening on post.

    Weird twist – if you post more than 15 menu items, all menu items after 15 are dropped and the last visible (#15) menu item is switched to custom.

    This is the one item preventing a site going live… Suggestions?

    also having the same issue, any ideas?

    Also having the same problem…

    Am I to assume that max_vars is not the fix? anything else is this a limitation of WP3.0.1??

    Had a similar issue with a website, and it appears to be the following settings (see below). The default values were 200 on this server. The host raised both values to 500, and we were back in business.

    Just thought I’d share!
    Ed

    suhosin.posts.max_vars
    suhosin.requests.max_vars

    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!

    craigedmonds

    (@craigedmonds)

    I have added this to my php.ini file in the root of my site and does not seem to work.

    :o(

    Asking host to add them to server side php.ini file.

    I’ve ran into the same issue, max. 16 menu items.
    I pulled up a phpinfo() and my host (shared) had the default suhosin.post.max_vars set to 200.

    Put this in your .htacces file, and you’ll hopefully be good to go:

    php_value suhosin.post.max_vars 2048
    php_value suhosin.request.max_vars 2048

    This obviously requires your host to allow changing the values in your .htaccess, and the value of 2048 might not be enough for you.

    It worked for me, so I’m posting it here in hopes of helping others get unstuck and closer to launching ??

    Hi,

    My hosts tell me I have these values set to 1024000, yet it is still happening.

    Oddly, I can add new menu items…

    See them in the backend saved successfully
    See them in the front end
    Few hours later, they have gone????

    Site is https://www.trancefamily.net, issue is still ongoing and preventing me from developing site further.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘WP 3.0 Menu limit’ is closed to new replies.