Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unique constraint violation found #58

Open
reshadzazai opened this issue Feb 1, 2021 · 2 comments
Open

Unique constraint violation found #58

reshadzazai opened this issue Feb 1, 2021 · 2 comments

Comments

@reshadzazai
Copy link

reshadzazai commented Feb 1, 2021

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

@karliuka
Copy link
Owner

karliuka commented Feb 3, 2021

Sorry, this bug is not reproducible.

@reshadzazai
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants