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

Could not validate a connection to Elasticsearch. No alive nodes found in your cluster

In SearchConfig.php line 81: Could not validate a connection to Elasticsearch. No alive nodes found in your cluster, just disable some module related with Elasticsearch.

Run following command and Disable Elasticsearch

Just disable some module related with Elasticsearch using above command and reinstall Magento.

Related Answers