How did I fix «Unable to apply data patch Magento\CatalogUrlRewrite\Setup\Patch\Data\UpdateUrlKeyForProducts» while upgrading Magento to 2.4.0?

Replace the line


with the following one:

['entity_id', 'attribute_id', 'store_id', 'value_id', 'value']

github.com/magento/magento2/issues/29365#issuecomment-670501957

1 Like

Seel also: How do I install Magento 2.4 to Windows?

It has been fixed since Magento 2.4.3 by the following commits:

1 Like