An addition, trying save adding empty option rows. If i try three times save (even adding option or not) at last refresh, seems like here: http://prntscr.com/bzhgi0
Hi @rbostan! Sorry, I cannot understand that steps to reproduce.
If you update attributes on backend, please, clarify the sequence of forms you fill and controls used.
If you send REST requests, please clarify the address and payload(data) utilized. Please look at #5963, it seems similar to yours issue.
I'm adding via backend. For example, create a 'dimension' attribute and add some options (about 800 :)
After a time, if you try adding new options or changing storefront options (ex. Use in layered nav) it says 'saved' but actually not. Also it reset storefront properties to default values.
Managed to reproduce with 248 options :)
Created internal issue MAGETWO-58966. Thank you for reporting!
No needs to thanks. That's what i do ;)
@rbostan, thank you for your report.
We've created internal ticket(s) MAGETWO-58966 to track progress on the issue.
Magento 2.2.2
I am facing same situation Added Attribute brand
have anyone resolved this?
Thank you
We experienced same error in v2.1.5. and had fixed this problem after updating a value in PHP configuration as below.
; How many GET/POST/COOKIE input variables may be accepted
max_input_vars = 10000
I was having the same issue in v2.2.4, and the fix by @rogan-son fixed it for me.
This is more of a server configuration issue, but maybe Magento could present a warning to the admin. This is especially critical for those of us who are importing attribute option values from external data sources. If many values are configured, any administrator that goes in to update an attribute, could break the other options.
Getting issue in Magento 2.2.3
facing same situation Added Attribute Size with 1300 options
Not able to save attributes
Also tried @rogan-son's fix but its not working for me.
Cleaned, Flushed, forced permissions /var and /pub and ownership, also index them
Still No luck
have anyone resolved this?
Thank you
I had to use @rogan-son solution with a bigger number
PHP Warning: Unknown: Input variables exceeded 10000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0
Hi @rbostan
Fix for this issue is expected to be delivered with the patch 2.2.6. Meanwhile this commit may be sued as a reference: 3845d9d34636c3c2604887e103e2034d082bdc50
Thank you
Most helpful comment
We experienced same error in v2.1.5. and had fixed this problem after updating a value in PHP configuration as below.
https://magento.stackexchange.com/questions/215308/php-max-input-vars-prevents-attribute-options-saving-in-m2?rq=1