For unknown reasons I am currently unable to modify a large proportion of settings, such as those for enabling template hints, although this was possible at some time in the last month, as evidenced by the fact that the default hint keyword "magento" was changed to "hints" by me.

More examples include all of the inventory-related options. See screenshots

Store is in developer mode. In all scopes - default, Main Website, or Default store view - the checkboxes in the Debug section of the developer panel are grayed/greyed out:

enter image description here

enter image description here

I have tried cleaning the cache, removing /var/view_preprocessed, & removing the /generated/code folder.

1 Answer 1


At some point when troubleshooting cron & message queue issues, I executed this command:

bin/magento app:config:dump

This command results in many configuration-related variables to be output to app/etc/config.php and app/etc/env.php, variables which normally are stored in the database and are normally configurable from within the admin panel. However, when these variables appear in these files - namely the large 'system'=>[ ] array which appears in config.php after executing that command - Magento will default to getting the configuration from this array rather than the settings in the database. Additionally it locks down the ability to make changes from within the admin panel.

To restore the ability to make changes from within the admin panel, resulting in the data that was previously stored in the database to be used once again, one needs simply to remove the 'system'=>[ ], followed by execution of the command:

bin/magento setup:upgrade

I confirmed that previously-stored data matches what is displayed in the admin panel after doing this (ie, the "hints" templatehint keyword displayed in the screenshot in the question still appears after removing system from config.php).

This is a good way to lock down specific settings to protect users - who might otherwise have the privileges - from mistakenly making changes. You can also import data from a previous file dump using:

bin/magento app:config:import

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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