You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tested on this versions:
Module Version : 2.0.9
Magento Version : 2.4.5-p1
Steps to reproduce (*)
Uninstall the module. (php bin/magento module:uninstall Partner_Module).
It gives the error like as we can see in screenshot-1.
Screenshot -1
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
Expected result (*)
The php bin/magento module:uninstall -r Partner_Module, Should working properly and should drop the tables from the database as well.
Actual result (*)
The module:uninstall command is not working as expected.
The text was updated successfully, but these errors were encountered:
Preconditions (*)
Tested on this versions:
Module Version : 2.0.9
Magento Version : 2.4.5-p1
Steps to reproduce (*)
Screenshot -1
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
Expected result (*)
Actual result (*)
The text was updated successfully, but these errors were encountered: