I am using Magento 2.4.2 community when I try to edit a configurable product I am getting the below in my store. How to fix it.

Notice: Undefined offset: 0 in /var/www/html/vendor/magento/module-configurable-product/Model/Product/Type/VariationMatrix.php on line 47

Exception in /var/www/html/vendor/magento/framework/App/ErrorHandler.php:61

1 Answer 1


Please check whether the associated product linked have the configurable attributes first. If by any chance it is removed from the attribute set it might be the cause.

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.