I am using Magento2.2.6 and in admin side go to manage product and edit configurable product getting this error below

Notice: Undefined offset: 0 in /XXX/data/home/256705.XXXXX.com/XXXXX/public_html/vendor/magento/module-configurable-product/Model/Product/Type/VariationMatrix.php on line 43

If any one facing this issue and have you get any solutions reply me.

Thanks In advance.

1 Answer 1


The problem is, we had a configurable product set to use with two configurable attributes.

However, one or more of the simple products that were associated did not have a value for the configurable attribute.

Presumably, the products did have this value at one point but the values were removed after the product had been linked up.

The solution was to populate the simple product attribute values. This means you can then edit the configurable product and remove that configurable attribute from the product if required.

i hope its very helpful to you

  • please go through this i need this "magento.stackexchange.com/questions/284844/…"
    – Rv Singh
    Aug 8, 2019 at 12:28
  • for that issue, please do via jquery remember that ?? Aug 8, 2019 at 13:49
  • But how to possible it if you can hint code
    – Rv Singh
    Aug 8, 2019 at 13:51
  • do you understand my issue swatch option wise dropdown value showing and after add to cart
    – Rv Singh
    Aug 8, 2019 at 13:52
  • yes, i'm undestand. Aug 8, 2019 at 13:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.