3+ Ways to Increase max_input_vars [Newest]

3+ Ways to Increase max_input_vars [Newest]

Is your WordPress suddenly throwing a max_input_vars error when you are busy tinkering with your website? This error is quite annoying because it can cause various problems, especially with the theme of your website. Oops!

However, you don’t need to worry! In this article, we will provide a complete guide to improving your WordPress max_input_vars. So, the error doesn’t appear again. Come on, watch it until it’s finished!

What is max_input_vars?

Input Vars are variable values ​​that the server needs to perform a function. Ideally, the input value of vars should be up to 3000. For one thing, WordPress themes now have quite a lot of built-in features.

So, if your Input Vars value is less than that, let’s say it’s only 1000 because of the hosting provider requirements, a max_input_vars error may appear. That means the server requires a larger Input Vars value to run properly.

If not resolved, the max_input_vars error will cause various problems, such as:

  • Unable to save new settings or changes on your website
  • The loss of various data on the theme of your websites such as built-in features, color combinations, and font types. The effect is, the appearance of your website will be messed up
  • Some of the widgets that are currently active on your website will disappear

Then, what needs to be done, huh?

3+ Ways to Increase max_input_vars

Fortunately, you can increase the Input Vars value in several ways. What are they?

1. Increase max_input_vars through .htaccess

The first way to increase max_input_vars is to edit the .htaccess file. Here’s how:

  1. Login to your cPanel at http://yourdomain.com/cpanel. Then, select the File Manager menu in the Files section
    1. langkah pertama mengatasi error 503 service unavailable melalui file manager cpanel
    2. Enter the public_html folder , then right-click the wp-config.php file and select EditIncrease max_input_vars Via second step wp-config.php
    3. Add this code at the very end of the line:@ini_set (‘max_input_vars’, 3000);

      Meningkatkan max input vars Melalui wp config.php langkah ketiga

    4. Save changes by clicking  Save Changes. If the error still appears, you can replace the number “3000” with another number

    3. Increase max_input_vars via php.ini

    Not all hosting providers give you access to the php.ini file. Unless you do have a VPS or a dedicated server. Whereas at Niagahoster itself, you can freely edit the php.ini file by:

    1. Login to your cPanel at http://yourdomain.com/cpanel. Then, scroll down and select Select PHP Version in the Software sectionIncrease max_input_vars Via php.ini the first step
    2. Click OptionsMeningkatkan max input vars Melalui php.ini langkah kedua
    3. Scroll down until you find max_input_vars and click the 1000 next to it. Then, select the number 3000 . Changes will be saved automatically.Meningkatkan max input vars Melalui php.ini langkah ketiga
    4. Try logging into your WordPress dashboard to check if the error has disappeared. If the error still appears, you can repeat the steps above and choose the number 5000.

    4. Contact Your Hosting Provider

    If you’ve tried all of the above and are still seeing the max_input_vars error, then it’s time to contact your hosting provider.

    You can ask your hosting provider for the default max_input_var number to set. Then, if it doesn’t suit your needs, you can request an adjustment at a higher number such as 3000 or 5000.

    For example, the default max_input_vars in Niagahoster is 1000. This setting is related to the default setting of cPanel. However, as a Niagahoster user, you can increase it up to a maximum of 5000 according to the method we have shown above.

    So, if you, as a user of the Niagahoster hosting service, still experience the max_input_vars WordPress error, you can also ask our 24-hour customer service for assistance. In fact, you can choose a live chat channel that is more practical and easier to help with the problems you face.

    Fix Your max_input_vars Error Now!

    The PHP max_input_vars error can indeed cause a panic because it can cause some losses. Starting from changing settings that can’t be saved, widgets that don’t work, to missing data on themes.
    However, by following the guidelines above, you can solve it quickly so that the website returns to normal again. You can also contact customer service if you have trouble handling it yourself.

    Hopefully this article useful for you. If you’re having trouble implementing the steps above, just leave a comment below, huh!

Print Friendly, PDF & Email

Leave a Reply

CommentLuv badge