Create an option name (aka category) - Lets say we create "Color" since there can be hundreds of colors
Edit said option name to add in the different options, Add in all the colors of the spectrum but create 249 of them! (or just add in numbers 1 - 249 to make it easy).
Save
Go back into that same option name and add in one more option.
Save
Go look in your error log.
Code: Select all
2022-09-28 2:58:11 - PHP Warning: Undefined array key "option_value_description" in /home2/store/public_html/oc38/test/admin/controller/catalog/option.php on line 393
2022-09-28 2:58:11 - PHP Warning: foreach() argument must be of type array|object, null given in /home2/store/public_html/oc38/test/admin/controller/catalog/option.php on line 393
2022-09-28 2:58:11 - PHP Warning: Undefined array key "image" in /home2/store/public_html/oc38/test/admin/model/catalog/option.php on line 42
2022-09-28 2:58:11 - PHP Warning: Undefined array key "sort_order" in /home2/store/public_html/oc38/test/admin/model/catalog/option.php on line 42
2022-09-28 2:58:11 - PHP Warning: Undefined array key "option_value_description" in /home2/store/public_html/oc38/test/admin/model/catalog/option.php on line 49
2022-09-28 2:58:11 - PHP Warning: foreach() argument must be of type array|object, null given in /home2/store/public_html/oc38/test/admin/model/catalog/option.php on line 49
This was done with a fresh install of OC3.0.3.8 and on my live site of 2.3.0.2.
Granted I have one server I am able to use and I have not changed around my settings in .htaccess or php.ini to try and see if there are changes I can make but I do not see any errors anywhere reported except for opencart's logs.
Mike