Magento 2.3.4 use system value checkbox disabled not able to uncheck the box
-
11-04-2021 - |
Question
Can someone help me out from this issue? I have installed Magento 2.3.4 CE in my local system then I just want to enable the DHL shipping method but I am not able to do that because 'use system value' checkbox itself disabled If I change the store view also no luck.
Note : not only DHL, all system configurations checkbox disabled.
Solution
You can uncheck checkbox and change value in admin panel. Still, if you can't able to change from admin panel. Then, you can also change using below command :
php bin/magento config:set carriers/dhl/active 1
UPDATE :
open config.php file from app/etc/config.php location.
Now remove everything from this file except - modules array like below code :
return [
'modules' =>
[
'Magento_Store' => 1,
'Magento_AdminNotification' => 1,
...
...
...
],
];
then save this file !!
now after saving this file you need to run below command :
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:clean
php bin/magento cache:flush
Then logged in to your backend admin panel - and check now configuration are unlocked and able to editable.
Note : Before do this please take backup of your db and code