I recently had to create a menu with a lot of menu items for the demo of my new theme. I started pulling my hair when I realized that I couldn’t save more than a certain amount of menu items.
After a quick search on google, a came across this thread.
Here is a fix that worked for me.
- Create a new file and name it php.ini (the name and the extension are very important).
- Open it with any text editor and paste the following lines
max_input_vars = 9000
- Finally, save the file and upload it to your
Tested on 1&1 and Bluehost.
If it doesn’t work, contact your hosting provider.