I am using Magento 2 and I created an attribute called hair_color
that is of a visual swatch input type. I have inputted 140 swatch options for this attribute, but on the 141 I keep getting this error:
Notice: Undefined index: option_141 in
/var/www/html/magento2/vendor/magento/module-swatches/Model/Plugin/EavAttribute.php
on line 177
I am having difficulties figuring out what is the issue since I am using the admin interface to do this.
Best Answer
Looks like problem in server settings.
Please try increase
max_input_vars
setting to 100000 and try reproduce problem.