WARNING: The “PHP Max Input Vars” parameter is set to 1000 which is not enough for our Theme Settings. You need to increase it to 2000 or higher in your PHP configuration. Contact your hosting provider for help on this matter. Otherwise, you will not be able to save Theme Settings
Understanding the Error:
This error message indicates that your WordPress website is trying to process more data than your server’s PHP configuration allows. Specifically, the “PHP Max Input Vars” setting is limiting the number of variables that can be processed in a single request. When you try to save your theme settings, the system is likely attempting to process more variables than the limit allows, resulting in this error.
Increasing PHP Max Input Vars:
There are two primary methods to increase this limit:
1. Contact Your Hosting Provider:
The most straightforward approach is to reach out to your web hosting provider. They have access to your server’s configuration and can adjust the “PHP Max Input Vars” setting for you. Provide them with the error message you’re receiving for clear communication.
2. Modify the php.ini File (If You Have Access):
If you have direct access to your server’s configuration files, you can manually edit the php.ini file to increase the “max_input_vars” setting. However, this requires technical knowledge and should only be attempted if you’re comfortable with server configuration.
Steps:
- Access the
php.iniFile:- FTP: Use an FTP client to connect to your server and navigate to the directory containing the
php.inifile. This is typically located in the root directory of your WordPress installation or in a specific PHP configuration directory. - cPanel: If you use cPanel, you can usually find the
php.inieditor under the “PHP” section.
- FTP: Use an FTP client to connect to your server and navigate to the directory containing the
- Locate the
max_input_varsSetting:- Search for the line that says
max_input_vars = 1000.
- Search for the line that says
- Increase the Value:
- Change the value to
2000or a higher number that you believe is sufficient for your theme settings. For example:max_input_vars = 2000
- Change the value to
- Save and Restart:
- Save the
php.inifile and restart your web server (Apache or Nginx) for the changes to take effect. The exact method for restarting the server depends on your hosting environment.
- Save the
Important Considerations:
- Server Resources: Increasing the “max_input_vars” setting can consume more server resources. If you’re not sure about the appropriate value, consult with your hosting provider.
- Security: Be cautious when modifying server configuration files. Incorrect changes can lead to security vulnerabilities.
- Alternative Approaches: If increasing the “max_input_vars” setting is not feasible, consider optimizing your theme settings or using a caching plugin to reduce the number of variables processed in each request.
By following these steps, you should be able to resolve the “PHP Max Input Vars” error and successfully save your theme settings.


