How to increase max_input_vars

Issue Summary

My app requires max_input_vars = 9000
Current limit is 4000

I am using nginx. With php.ini: max_input_vars = 9000

Warning: Unknown: Input variables exceeded 4000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0

Setting in wp-config.php - did not help

Troubleshooting Questions

  • Happens on the only site where I needed the increease

  • But the issue is generic

  • Are you able to create a new, plain WordPress site in Local and access it in a Browser? YES

Replication

  1. I am trying to export to a large excel file, over 300 columns.

System Details

  • Which version of Local is being used? - latest 5.9.8+5191

  • What Operating System (OS) and OS version is being used? - Windows 10 Pro

  • Attach the Local Log. See this Community Forum post for instructions on how to do so:

    • How do I retrieve Local’s Log?
      [21-Feb-2021 12:31:36 UTC] PHP Warning: Unknown: Input variables exceeded 4000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0
      [21-Feb-2021 12:36:28 UTC] PHP Warning: Unknown: Input variables exceeded 4000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0
      [21-Feb-2021 12:36:29 UTC] PHP Warning: Unknown: Input variables exceeded 4000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.