Unable to apply data patch for module Magento_Theme In Gd2.php line 72

In PatchApplier.php line 170: Unable to apply data patch Magento\Theme\Setup\Patch\Data\RegisterThemes for module Magento_Theme. Original exception message: Wrong file In Gd2.php line 72

Just add && !file_exists($filename)

Related Answers