• Hi, I’ve updated to 4.9.1 version and Customizer is broken, I’ve already tried with the workarounds mentioned on this article, but none of them is helping

    https://www.mhthemes.com/support/theme-customizer-not-working/

    I really need some help with this thing, the customizer sidebar is only showing “Widget” option and no live preview is displayed, this is the error I’m having on console:

    Uncaught TypeError: CodeMirror.fromTextArea is not a function code.js?ver=4.9.1:30
    at f.ready (code.js?ver=4.9.1:30)
    at Object.<anonymous> (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mo…:91)
    at i (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mo…:2)
    at Object.add [as done] (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mo…:2)
    at f.initialize (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mo…:91)
    at f.e.Class (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mo…:87)
    at f [as constructor] (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mo…:87)
    at new f (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mo…:87)
    at Object.<anonymous> (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mo…:92)
    at Function.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mo…:2)

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator James Huff

    (@macmanx)

    Try deactivating all plugins. If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, try switching to the Twenty Seventeen theme to rule-out a theme-specific issue (theme functions can interfere like plugins).

    Thread Starter Tayde Sandoval

    (@taysr)

    Try deactivating all plugins. If that resolves the issue, reactivate each one individually until you find the cause.

    That was the first thing I did and nothing 🙁

    I’ll try switching theme

    Please also try adding define('SCRIPT_DEBUG', true) to your wp-config.php as this will improve the output of the JS error in the console.

    Was a solution ever found for this? I am currently having the same problem.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Customizer with CodeMirror error and not working’ is closed to new replies.