royalwholesalecandy / core

A custom module for royalwholesalecandy.com (Magento 2)
https://upwork.com/fl/mage2pro
0 stars 0 forks source link

`bin/magento regenerate:category:url`: «Duplicated url for store» #96

Closed dmitrii-fediuk closed 4 years ago

dmitrii-fediuk commented 4 years ago

Fixed by:

DELETE FROM catalog_category_entity_varchar WHERE 125 = attribute_id;
dmitrii-fediuk commented 4 years ago

The right fix is:

DELETE FROM catalog_category_entity_varchar WHERE 125 = attribute_id AND entity_id IN (6, 8);