6

I am using Magento 2.2 I can't find a way to disable module. It was use to be under configuration > Admin but it's not there anymore..

Can someone please help me out.thanks

Sohaib Khan
  • 560
  • 2
  • 7
  • 21

6 Answers6

6

In Magento 2.2 disable module section has been removed,

The ability to disable module output has been removed from Admin. If you disabled module output from Admin in a previous release, you must manually configure these settings. See Disable module output for details.

enter image description here

For more Info visit this link

Keyur Shah
  • 18,046
  • 6
  • 66
  • 80
1

This has been removed from Magento 2.2

From the command line, you can use:

bin/magento module:status to list all active and inactive modules

Find your module name, and use this to disable it:

bin/magento module:disable Vendor_Module

Or use this to fully uninstall the module:

bin/magento module:uninstall Vendor_Module

Niels
  • 1,406
  • 13
  • 24
1

Edit app/etc/config.php and add:

'advanced' =>
 array (
  'modules_disable_output' =>
   array (
    'Magento_Review' => '1',
 ),
)

Here is the official Magento tutorial.

Konstantin Gerasimov
  • 4,273
  • 23
  • 37
0

I found out that although they removed this functionality from admin, old values still exists on core_config_data & they still has effect on the modules (Bug?).
Anyway, if you disabled modules from admin, you can use phpmyadmin or other methods to re-enable them on core_config_data:

SELECT * FROM core_config_data WHERE path LIKE '%modules_disable_output%'

*In the future, use Magento CLI to enable/disable modules:

bin/magento module:status
bin/magento module:enable Vendor_Module
bin/magento module:disable Vendor_Module

Pini
  • 917
  • 8
  • 26
0

There are two methods to disable the module in Magento 2:

Method 1:

You can do it via command line, go to the root directory of your store and run these commands:

php bin/magento module:disable Vendor_Module

Method 2:

You can also do it via config.php file, go to app/etc directory of your store and open the config.php file. Here you will see the list of all the installed extensions on your store. Just replace the code of your extension:

From 'Vendors_Module' => 1 to 'Vendors_Module' => 0

0

I am working in Magento 2.2.0 and I use to disable a module via Admin panel by doing below few steps. Go to Admin panel

  1. System > Web Setup Wizard
  2. Choose "Module Manager" taskenter image description here

  3. Select action Disable / Enable on relevant Moduleenter image description here