User Attributes causing max_input_vars exceeded error

Permalink
Hi,

I have a C5.6.3.4 site that uses a "Select" type of User Attribute to add additional user information. Currently the number of selection options number 328 (yes, it's crazy high, but necessary for historical reasons), but we actually need to add more.

However, it seems that we've hit a PHP max_input_vars limit, because when we try to add the 329th user attribute selection option, the option is not added, and the Apache log displays:

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'


Deleting an option and adding the new option "works", but destroys some needed historical data.

I could just increase the max_input_vars as the error message suggests, but:

1. That only pushes the problem down the road: as we add more selectable attributes, we'll just hit the limit again.

2. Based on what I've been reading, increasing the max_input_vars is not recommended for security reasons.

Short of diving in to try to suss out what those 1000 variables could possibly be and figuring out how to reduce the number, I'm not sure what I can do?

Thanks in advance for any insight.

Ben