Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Js broken in Backend Magento 2, Issue - Magento 2

views
     
TSlilypoter
post Feb 5 2018, 03:24 PM, updated 8y ago

New Member
*
Newbie
1 posts

Joined: Jan 2018
After enable merge Js in M2 Backend: Store/Configuration/Advanced/Developer and save config, I can't click any menu buttons 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?
petirbuas
post Feb 5 2018, 03:44 PM

( 。◕ ‿‿ ◕。)
*****
Senior Member
898 posts

Joined: Dec 2009
From: The Internet



You may use SQL query to disable it. Or simply use the Magerun on your Terminal

CODE
magerun config:set dev/js/merge_files 0
magerun config:set dev/js/enable_js_bundling 0
magerun config:set dev/js/minify_files 0
magerun config:set dev/css/merge_css_files 0
magerun config:set dev/css/minify_files 0


Don't forget the clear the respective cache files afterwards.

https://magento.stackexchange.com/questions...-css-js-setting


BTW this is wrong section for this. Try Codemasters section instead

This post has been edited by petirbuas: Feb 5 2018, 03:46 PM
bssgeek303
post Feb 5 2018, 03:58 PM

New Member
*
Newbie
1 posts

Joined: Jan 2018
QUOTE(lilypoter @ Feb 5 2018, 03:24 PM)
After enable merge Js in M2 Backend: Store/Configuration/Advanced/Developer and save config, I can't click any menu buttons 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?
*
You go to database of Magento 2 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?
Or you can click here for another solution.
Best regards.

 

Change to:
| Lo-Fi Version
0.0153sec    0.61    5 queries    GZIP Disabled
Time is now: 20th December 2025 - 02:57 PM