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
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
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.
For more Info visit this link
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
Edit app/etc/config.php
and add:
'advanced' =>
array (
'modules_disable_output' =>
array (
'Magento_Review' => '1',
),
)
Here is the official Magento tutorial.
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
WHEREpath
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
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