I have some problem on my online store with Magento 2.2.2
After enable merge Js in Magento Backend: Store/Configuration/Advanced/Developer and save config, I can't click any menu button in backend. I think that Js is broken and I can't go to Merge Js config and disable it again. Does anyone know how to solve this problem?
Solved! Go to Solution.
Assuming you are still in developer mode.
You can resolve this issue by running below commands :
1) rm -rf generated
2) rm -rf pub/static
3) php bin/magento setup:static-content:deploy
4) php bin/magento setup:di:compile
5) php bin/magento cache:clean
6) php bin/magento cache:flush
if issue is still not resolved then run below query in your database :
insert core_config_data (config_id, scope, scope_id, path, value) values (null, 'default', 0, 'dev/static/sign', 0);
You go to database of M2 site, run this SQL command:
SELECT * FROM `core_config_data` WHERE `path` LIKE '%dev%'
Change 'dev/js/merge_files' to '0'
Then run deploy theme command with SSH to see if it works?
Otherwise, you could visit website BSSGeek to know the easiest & most optimal approach to this issue