More' "Can't Add Menu Items" weirdness
-
Greetings,
This one is odd, because I have fixed this very issue on a number of sites experiencing the “hard Menu Item limit”. Both times, a simple increase to the max_input_vars fixed it in the php.ini file using:
max_input_vars 5000
This time, I’m again working with one of the MMMenus I thought I had fixed.
I went in and bumped max_input_vars up a little more to 7000 from 5000 as shown above, but it continued to choke when adding a single “Custom Link” to the menu.
When I save the menu with the one additional “Custom Link”, it isn’t truncating the menu or dropping any items, but it does lose it’s defined location (the location checkboxes all become unchecked, and it won’t allow me to save it by simply re-checking the location and clicking Save.
If I remove the “Custom Link”, the menu page again allows me to check the box for it’s Menu Location (Main Navigation)
I have suhosin installed by the web host, so I also went in and added the snippet below to my.htaccess file in the root directory of the WP install.
<IfModule mod_php5.c> php_value max_input_vars 7000 php_value suhosin.post.max_vars 7000 php_value suhosin.request.max_vars 7000 </IfModule>
I’d be happy to paste a link privately, but I am stumped at the moment. Any advice would rock! Thanks.
- The topic ‘More' "Can't Add Menu Items" weirdness’ is closed to new replies.