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!
Reference:
Possible solutions:
- Use add descendants as submenu items plugin
- Check error logs and make sure max post vars was not exceeded. If so, increase in either .htaccess or php.ini
- See if suhosin.post.max_vars and suhosin.request.max_vars are used with Dreamhost
Thank you so much. Helped to register in .htaccess “php_value max_input_vars 10000”!
Yes, the max_input_vars in the php.ini file changed to 2000 fixed the problem
Glad to hear it helped!
hello i am adding the code to the htaccess of my wordpress installation
http://prntscr.com/ln334
if this ok?
thanks for your advise!
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!
Jose, I’ll take a look.
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.
Hello bro i changed my max vars to 60000 but is still not working, do you have another suggestion? thanks!
I recommend putting a file in your root directory with a single line that reads 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!
btw, I eventually switched to Dreamhost using a virtual private server and had better luck with this.
Hello Doug,
sorry for my delay replying,
this is my file with the phpinfo
http://destinosa1.com/iinfo.php
can you advise please?? i ca’t find the su.hosin velue so i am lost
thanks!