0

We are facing this error during setup upgrade command while installing this extension.

Unable to apply data patch Amasty\Mostviewed\Setup\Patch\Data\CreateGroupExamples for module Amasty_Mostviewed. Original exception message: amasty_mostviewed_rule_product indexer does not exist.

Magento 2.4.7-p3

1 Answer 1

0
  1. Open the database and navigate to the patch_list table. Delete the entry related to Amasty\Mostviewed.
  2. Run the upgrade command : php bin/magento s:up
  3. The patch has been successfully applied.
1
  • The actual problem is that the indexer is not generated. That's why the patch is failing. Do you have any idea why this indexer creation is skipping. Commented Mar 11 at 19:58

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.