You might see a popup message in Beaver Builder that the PHP Max Input Vars setting is lower than the number of settings being saved.
The PHP max_input_vars setting limits how many input variables can be accepted. This is a security feature for DDoS attacks, but in some cases, the limit might need to be increased to accommodate the number of post variables that Beaver Builder is saving.
You can show the value of
max_input_vars by enabling Debug mode in Beaver Builder.
- Go to Settings > Beaver Builder > Tools.
- Scroll to the Debug mode section and click Enable debug mode.
- Go to the unique link provided in the Debug mode section.
- On that page, search for
PHP Max Input Vars.
The value is listed there.
- Return to Settings > Beaver Builder > Tools and click Disable debug mode.
Most shared hosts won’t grant you full access to modify this value but your hosting provider can easily change the value for you. We recommnend that you ask them to increase
If you're able to set it yourself, we recommend the first method for standard users and the second method for advanced users.
This method may not work in your hosting situation. In that case, contact your hosting provider for help.
Make sure to back up your .htaccess file before editing.
- Locate your .htaccess file, which is usually in the root folder of your WordPress installation.
- Open the file in a text editor and add the following line of code:
php_value max_input_vars 5000
- Save the file and refresh your website.
Use this method only if you have direct access to your php.ini file or if you’re on localhost.
- Locate your php.ini file in the root folder of your WordPress installation and open it in a text editor.
- Locate the following line of code, where
nnrepresents a number:
max_input_vars = nn;
- Save your changes and reboot your local host or server.