jump to navigation

NOTE: The spam filter is being unusually aggressive. If you comment does not immediately appear, it has simply been placed in moderation and I will approve it as quickly as possible. Thank you for your patience.

"Murphy was an optimist!"

WordPress 3.4 limited to 90 menu items June 19, 2012 9:26 am

Posted by Doug McCaughan in : MySQL, PHP, Programming, Software, Technology, WordPress
, trackback

I’m working on a WordPress site. The site is to have roughly 106 pages all accessible via the WordPress menu system so that the enduser can add and remove pages from the menu as they like. Unfortunately, WordPress currently only allows 90 nodes (ie. 90 menu items) per menu. I have not figured out if this is a memory limitation, a hard coded limitation, or a setting yet. This must be overcome!


Possible solutions:

Comments after advertisement


1. st - September 1, 2012

Thank you so much. Helped to register in .htaccess “php_value max_input_vars 10000”!

2. john romero - October 23, 2012

Yes, the max_input_vars in the php.ini file changed to 2000 fixed the problem

3. Doug McCaughan - November 5, 2012

Glad to hear it helped!

4. jose - December 8, 2012

hello i am adding the code to the htaccess of my wordpress installation

if this ok?

thanks for your advise!

5. jose - December 8, 2012

in the php ini i changed the vars to 10000 http://prntscr.com/ln44h but still is not working when i add a new item in the menu

once i add a new item and press save , the item is not appearing in the menu section http://prntscr.com/ln46p

anyone can help please? thanks!

6. Doug McCaughan - December 8, 2012

Jose, I’ll take a look.

7. Doug McCaughan - December 8, 2012

Jose, in your php.ini try increasing the size of “suhosin.post.max_vars” and “suhosin.request.max_vars”. I have mine set at 60000. 10000 may not be enough.

8. jose - December 8, 2012

Hello bro i changed my max vars to 60000 but is still not working, do you have another suggestion? thanks!

9. Doug McCaughan - December 9, 2012

I recommend putting a file in your root directory with a single line that reads < ?php phpinfo(); ?> and browsing to that file. Name it something like serversettings.php and browse to http://mydomain.com/serversettings.php then search through the settings to see if your host accepted your change to 60000. It may be that your host doesn’t allow overrides or has a different procedure for overrides.

Good luck!

10. Doug McCaughan - December 9, 2012

btw, I eventually switched to Dreamhost using a virtual private server and had better luck with this.

11. joxxxe - December 19, 2012

Hello Doug,

sorry for my delay replying,

this is my file with the phpinfo

can you advise please?? i ca’t find the su.hosin velue so i am lost