You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The standard response is to edit the setting in the php.ini, e.g. to
max_input_vars = 2000
(up from the default 1000).
The culprit is the product edit form: it puts all its eggs into one basket, so to speak: it doesn't fire off (many) Ajax requests, it just submits the single form with all its goods. But when you've got a lot of assets, taxonomies, and options, you create a LOT of variables. Their numbers increase exponentially when new options are added. Each spot in the arrays counts as a variable against the max_input_vars setting. It's like trying to shove too many marbles into too small of a jar.
To refactor this, the first priority would be to refactor the "Options" tab because that's where the biggest use of input vars is. E.g. modal windows with separate post-submits for each option, but even that could run out of input_vars... sigh. No easy fix here.
Getting some errors in the PHP logs like this:
PHP 5.4.33
NGINX
Within the MODX controllers, the GET/POST/COOKIE data gets merged into $scriptProperties
The text was updated successfully, but these errors were encountered: