Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

“Partner_Module” Module can’t be uninstalled. #4

Open
Varshal24 opened this issue May 26, 2023 · 0 comments · May be fixed by #5
Open

“Partner_Module” Module can’t be uninstalled. #4

Varshal24 opened this issue May 26, 2023 · 0 comments · May be fixed by #5

Comments

@Varshal24
Copy link

Preconditions (*)

Tested on this versions:
Module Version : 2.0.9
Magento Version : 2.4.5-p1

Steps to reproduce (*)

  1. Uninstall the module. (php bin/magento module:uninstall Partner_Module).
  2. It gives the error like as we can see in screenshot-1.

Screenshot -1

image

Description (*)

When we want to uninstall the module “partnerads/magento2”. It doesn’t uninstall.

When running the the command- “php bin/magento module:uninstall -r Partner_Module”. It gives the error like,Type Error occurred when creating object: Magento\Eav\Setup\EavSetup, Magento\Eav\Setup\EavSetup::__construct(): Argument #1 ($setup) must be of type Magento\Framework\Setup\ModuleDataSetupInterface, Magento\Setup\Module\Setup given, called in /var/www/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 121 Please disable maintenance mode after you resolved above issues (screenshot-1)

Uninstall script is written in the Partner_Module module, so it should be uninstall by using this module name as the uninstall command.
From the Sales_Order table the columns which are created by Partner_Module is also not deleted.(screenshot-2)

Screenshot -2

image

Expected result (*)

  1. The php bin/magento module:uninstall -r Partner_Module, Should working properly and should drop the tables from the database as well.

Actual result (*)

  1. The module:uninstall command is not working as expected.
@bhavyamodi29 bhavyamodi29 linked a pull request Oct 9, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant