CodeMirror.fromTextArea error breaks Admin area
-
I can’t edit the Max Mega Menu Theme because the tabs won’t switch. In fact none of the JS works on the settings page found at https://www.site.com/wp-admin/admin.php?page=maxmegamenu_theme_editor&theme=default
This is the error I get in the console. I see this same issue on both a Digital Ocean droplet running php 7.2 and on WPEngine running PHP 5.2
`
TypeError: CodeMirror.fromTextArea is not a function[Learn More] settings.js:34:26
<anonymous> https://www.site.com/wp-content/plugins/megamenu/js/settings.js:34:26
i https://www.site.com/wp-admin/load-scripts.php:2:27444
fireWith https://www.site.com/wp-admin/load-scripts.php:2:28213
ready https://www.site.com/wp-admin/load-scripts.php:2:30004
K https://www.site.com/wp-admin/load-scripts.php:2:30366
`
The topic ‘CodeMirror.fromTextArea error breaks Admin area’ is closed to new replies.