m2.SmartCategory
m2.SmartCategory copied to clipboard
Unique constraint violation found
I get this error (Unique constraint violation found) while saving the category after I have set the rules. Magento ver 2.3.6
Argument 1 passed to Magento\Catalog\Model\Category\FileInfo::removeStorePath() must be of the type string, array given, called in /var/www/html/vendor/magento/module-catalog/Model/Category/FileInfo.php on line 167
Sorry, this bug is not reproducible.
I use the Price Attribute and according to my Magento configurations, the scope of the Price Attribute is set to the website level. if you change the scope on the category page from default to another website and then set the rules you will encounter this issue.