Wordpress Menu Limit - Can't save all changes - max_input_vars - Website Design & Digital Marketing Company NY

logo

  • Contact
  • Services
    • Website Design
    • PPC Management
    • Facebook Ad Management
    • Online Reputation Management
    • Google My Business Optimization
    • Email Marketing
    • Social Media Marketing
    • Search Engine Optimization Services
  • Blog
  • πŸ“±(631) 406-9322
WordPress Menu Limit – Can’t save all changes – max_input_vars
Home / Blog / WordPress Menu Limit – Can’t save all changes – max_input_vars

WordPress Menu Limit – Can’t save all changes – max_input_vars

October 6, 2014 Blog by all-things-digital
WordPress Menu Limit – Can’t save all changes – max_input_vars

WordPress Menu Limit

This evening I have been working on an extensive build for a client. When I got to 47 menu items in my primary menu, I noticed any pages I added would not save. Even when I added the pages one at a time, or from different computers. This was very frustrating so I began doing my troubleshooting. The order of the menu items didn’t matter, but the number of items did. As soon as I noticed that it was 47 items, I assumed the menu.php page send the entire menu over in one process. It doesn’t add just a page or two, it adds the whole menu each and every time. This led me to believe there was a cap on how much data the page can send or the host can receive. This issue also causes problems for prestashop users as well, so listen up if this applies to you as well!

DO YOU NEED A NEW WEBSITE OR DOES YOUR WEBSITE JUST NEED AN UPDATE? USE OUR FREE WEBSITE OPTIMIZATION CHECKLIST TO FIND OUT!
πŸ‘‰ CLICK HERE TO GET IT NOW! πŸ‘ˆ

I began to poke around on the web and found some information about the max_input_vars variable in your web hosts php.ini file. This sets the amount of variables the server will allow you to send it in any process. Mine was set at 1000. I wanted to change this value, increase it.

Now, the current site I am working is on a godaddy account. On bluehost and other hosts you can access you php.ini files and make edits as you need. Godaddy however does not allow this. So you have to make your own php.ini file. Here are the steps to  fix this limit.

  1. Access your webroot via your file manager in godaddy
  2. create a new file and name it php5.ini
  3. copy and paste this single line of code into that file without the quotes “max_input_vars = 300o”
  4. save the changes to the file.
  5. go to Hosting>System Processes
  6. Select “End Web” Button
  7. Now try to save your additional menu items.

This is what worked for me. While this is a little intimidating to do at first as you may not be sure what exactly you are doing, if you delete the file your host should revert to their default php.ini. So the process is reversible and not all that scary!

website-design
« Prev Next »

About all-things-digital

All Things Digital is a digital marketing agency and web design company based in Long Island, New York. We are full service digital marketers offering online marketing, advertising and website design solutions for small businesses. We are website developers for: Contractors Restaurants Martial Arts Schools Pet Stores Restaurants Delis Healthcare We advertise using: Facebook Ads Google Adwords Yelp Affiliate Networks We supply content for: Marketing Campaigns Email Marketing Advertising Campaigns Business Brochures Event Flyers Business Card Designs We help businesses get: Google Reviews Facebook Reviews Yelp Reviews and more!

Recent Posts

  • Website Maintenance Tips Every Business Owner Should Know
  • Are You Wasting Money On Facebook Ads?
  • What Is Clubhouse
  • 7 Small Business Marketing Tips
  • Clubhouse Invite

Related posts

March 29, 2021

Website Maintenance Tips Every Business Owner Should Know

While website owners do not need to keep their own sites up and running, it’s still very important for them to know how...
Are You Wasting Money On Facebook Ads?
March 12, 2021

Are You Wasting Money On Facebook Ads?

Facebook ads are paid advertisements that businesses use to communicate with their target audiences among...
What Is Clubhouse
January 26, 2021

What Is Clubhouse

What is Clubhouse Clubhouse is a new IOS only social media platform app which is taking the social media world by storm...

Digital Agency Services

  • Email Marketing
  • Facebook Ad Management
  • GMB Optimization
  • Online Reputation Management
  • PPC Management
  • SEO Services
  • Social Media Marketing
  • Website Design

Free Strategy Session

Let's have a free one-on-one strategy call to discuss how your business can benefit from Digital Marketing. Contact us via our website and you'll also get 50% - 100% off select services (seriously).

Get Started

New York Website Design

Choosing a Local Web Designer
  • Privacy Policy
  • Sitemap
All Things Digital - New York Digital Marketing Company

Want a free website optimization checklist?

Whether you want a brand new site, or are looking to see if your old site is still up to par, our checklist will help! Get it today!

Get The Checklist

No Thanks!

Get Your Checklist Now!

You're almost there! Just enter your email below and get instant acces! 

By signing up you agree to our terms

75% complete

Where would you like us to send
the Website Optimization Checklist?

Don't worry. W hate spam too! Your info is safe with us!

x