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

  • 2
    This settings is removed from M2.2. – Sohel Rana Oct 14 '17 at 15:31
5

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

  • I am trying to disable review built-in extension but it's giving me error – Sohaib Khan Oct 14 '17 at 16:18
  • What is the reason for it? Magento need complex our life? I don't understand what is the reason to remove these type of features from Admin panel – I am the Most Stupid Person Mar 7 at 11:25
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

0

Edit app/etc/config.php and add:

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

Here is the official Magento tutorial.

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.