WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] The menu has a limit of 49 links of pages in the navbar (10 posts)

  1. mettemor
    Member
    Posted 3 years ago #

    I really need help. I use this theme http://www.elegantthemes.com/preview/StudioBlue/ and my problem is that when I add links to the second menubar, using the wp menu maker, it seems to me that I only can add 49 pages/links all together. When I have reached 49, I cannot add more linkes. Please help me, it is very important to solve this for me. I cannot finnish my work before I have solved this.

  2. mettemor
    Member
    Posted 3 years ago #

    I can´t see the solution, can you tell me?

  3. cembleton2
    Member
    Posted 3 years ago #

    I'm very interested to learning the answer to this as well, because I will need roughly 75 links in my submenus.

  4. mettemor
    Member
    Posted 3 years ago #

    I have sent a mail to my serverhost, and asked them to set the parameters to 0

    suhosin.post.max_vars = 0
    suhosin.request.max_vars = 0

    We´ll see if it helps....

  5. mettemor
    Member
    Posted 3 years ago #

    The problem is solved! They put the parameters to 1200, and that solved it!
    MB

  6. 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!

  7. waveminded
    Member
    Posted 3 years ago #

    after much searching I came across this post. Experiencing the same issue with my custom menu maxing out at 16 items. I have my own server and suhosin is NOT even installed in the PHP compile. Anyone have any insight to that?

  8. Casper
    Member
    Posted 3 years ago #

    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 :)

  9. _eddy
    Member
    Posted 3 years ago #

    U can turn it off,

    create .htaccess file in your domain directory

    <IfModule mod_php.c>
    php_value suhosin.simulation 1
    </IfModule>

    pastate it. save. upload.

    it works for me.

Topic Closed

This topic has been closed to new replies.

About this Topic