I am not able to update or delete the product attribute options in admin-end.
When I am clicking "save" or "save or continue" after updating or deleting the attribute option, Magento shows me the success message that the atrribute has been saved successfully but I can still the see the deleted option in the list and also the option that I have changed is also not modified.
However, I am able to add new attributes without any issue.
The same functionality is working absolutely fine on my staging environment but creating issues on live.
What can be the probable cause of the issue and how can I fix it?
-
I tried working with said solution above but it didn't work for me. I using magento 2.1.7 version. Kindly help. Thank you– Shane NacpilJul 31, 2018 at 13:27
-
@ShaneNacpil first check with infinite value and see if you are still getting the issue.– Anshu MishraAug 1, 2018 at 4:52
1 Answer
The issue was server related.
I have checked the server log and found below message in there.
PHP Warning: Unknown: Input variables exceeded 1000.
So I went ahead and doubled the limit to 12000.
I tried few other values in between as well but they were not working, but 12000 work. So I have kept max_input_vars
to 12000.
So, in my case the solution was to increase the value for variable max_input_vars
.
-
After update max_input_vars to 24400000 still getting the same error. How can I solve the error?– zusNov 16, 2017 at 13:21
-
@zus first check with infinite value and see if you are still getting the issue. Aug 1, 2018 at 4:51