- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
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?
Thanks,
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Js broken in Backend Magento 2.2.2
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);
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Js broken in Backend Magento 2.2.2
It seems great but as advised, I had already asked for some help from those developers from BSSGeek, they gave me a simple instruction and had made some changes accordingly on the site. It works now! But thank you for great support @Manthan Dave @edward_charm
Best regards