Support » Plugin: Smart Grid-Layout Design for Contact Form 7 » Uncaught TypeError: CodeMirror.overlayMode is not a function

  • Resolved brunopbarbosa

    (@brunopbarbosa)


    Hello,

    i’m currently experiencing an issue with cf7 grid where i cannot add new forms or edit existing forms – when i open the form edit page, there is the following error on the console:
    Uncaught TypeError: CodeMirror.overlayMode is not a function

    And when i try to publish or update a form:
    Uncaught Error: cannot call methods on tabs prior to initialization; attempted to call method ‘option’

    I have the latest version of cf7-grid (2.7.1) and the latest version of contact form 7 (5.1.1).

    Do you have any idea of what can be causing this?

    Best Regards,
    Bruno

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    Either you have a js library that is not being loaded, or as reported at the bottom of this thread, likely you are using another plugin that is also using Codemirror libraries and these are getting (wrongly) instantiated on the CF7 Smart Grid admin page.

    I checked and it was a version of the Swift Performance Lite Plugin that was also calling for the codemirror.js script.

    I’ve updated it and now everything works fine. Thanks for the info!

    Plugin Author Aurovrata Venet

    (@aurovrata)

    oh good 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.