m2.SmartCategory icon indicating copy to clipboard operation
m2.SmartCategory copied to clipboard

Unique constraint violation found

Open reshadzazai opened this issue 3 years ago • 2 comments

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

Screenshot_1 Screenshot_2

reshadzazai avatar Feb 01 '21 07:02 reshadzazai

Sorry, this bug is not reproducible.

karliuka avatar Feb 03 '21 22:02 karliuka

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.

reshadzazai avatar Feb 04 '21 12:02 reshadzazai