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

  1. mettemor
    Posted 5 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. James Huff
    Volunteer Moderator
    Posted 5 years ago #

  3. mettemor
    Posted 5 years ago #

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

  4. cembleton2
    Posted 5 years ago #

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

  5. mettemor
    Posted 5 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....

  6. mettemor
    Posted 5 years ago #

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

  7. zsero
    Posted 5 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!

  8. waveminded
    Posted 5 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?

  9. cabgfx
    Posted 5 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 :)

  10. _eddy
    Posted 4 years ago #

    U can turn it off,

    create .htaccess file in your domain directory

    <IfModule mod_php.c>
    php_value suhosin.simulation 1

    pastate it. save. upload.

    it works for me.

Topic Closed

This topic has been closed to new replies.

About this Topic