PHP.INI - max_input_vars variable & woocommerce
I’m having issues with a WP 4 install, and Woocommerce. I’m trying to set up an ecommerce site to help some friends who run a photography/framing business.
Their products have a vast number of variables - frame size, depth etc and there are >200 permutations an image can be ordered in.
As a result, woo commerce needs to be set up with variable products for all these permutations, and as I add these, the values put into the fields are not saving in the product setup.
Searching WooCommerce support, the suggested resolution is to edit php.ini to change:
; How many GET/POST/COOKIE input variables may be accepted
; max_input_vars = 1000
Ive changed this variable to 6500, after the suggestion of other users. The server has been rebooted, and the apache2 service restarted.
They have also recommended installing the WP Max Submit Protect plugin, which is designed to help troubleshoot these issues.
However - on installing the plugin, it reports that the currently set value for maxinputvars is 1000 (the default) and not the 6500 I have changed this to.
Has anyone any experience with this or can suggest why the change doesn’t appear to have been implemented? I still have issues saving the products.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.