WordPress menu items not being saved

I’m having problem with WP, I’ve developed theme on my localhost (MAMP), and everything looked good in Appearance > Menus, I have something like 8 top level menu items, and each had 5-10 subitems. When I uploaded theme onto server, and wanted to add menu items and click save – new items weren’t saved. In total, now I have ˜18 menu items (top and sub level), and can’t add any new ones.

Does it have something to do with max_vars in PHP config? I’ve tried to increase POST max_vars size to 4096, but isn’t working. Anyone have a clue?

Related posts

Leave a Reply

1 comment

  1. I just finished resolving the same issue. I had 90 menu items and couldn’t add any more. I found the answer on this WordPress support ticket:

    http://core.trac.wordpress.org/ticket/14134

    The problem was that the apache configuration was limiting the number of POST items. Each menu item counts as a POST item, so the solution was as simple as increasing the Maximum Post Limit. Since my site is hosted on a shared server, this was as easy as adding php_value max_input_vars 10000 to my .htaccess file. I’m sure you could also change this in your php.ini file. Hope this helps!