PHP: Input variables exceeded 1000
-
While trying to edit a field group, I noticed that my changes were not being saved. When I looked at the web server logs I saw entries like this…
AH01071: Got error 'PHP message: PHP Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0\n'
So I enabled the developer tools on my web browser and examined the contents of the post. Sure enough, there was easily over 1000 variables being posted (it is a field group with a lot of stuff in it).
I suppose I could break them out into separate groups. But wouldn’t it be better if the settings for a group were posted as a single variable with JSON data in it?
- The topic ‘PHP: Input variables exceeded 1000’ is closed to new replies.