Open lumnn opened 1 year ago
Can you share some information about which attributes were removed / caused the problem?
Looking at the code in https://github.com/magento-hackathon/module-eavcleaner-m2/blob/447e799f627a37fadcee23e9f7b6783e46078785/Console/Command/RemoveUnusedAttributesCommand.php, we currently check for attributes, which either have no value assigned in any product or which are not assigned to any attribute set. If you say your attribute was used in a configurable product, then some (simple) product would have a value assigned for that attribute...?
I've run
bin/magento eav:attributes:remove-unused
.It appears that it removed some attributes that were used as configurable attributes (in
catalog_product_super_attribute
table I believe), which then caused that product pages was displaying error as well as accessing the product from admin was impossible.The error message then said:
The fix was to restore removed data from following tables:
eav_attribute
catalog_eav_attribute
eav_attribute_option
eav_attribute_option_value