• Resolved bielweb

    (@bielweb)


    Hello, today I tried to edit an existing form but when I hit “Update” it did nothing. I tried to create a new one, same thing happened. I realised that in the chrome Console appeared an error just entering the “Edit” page:

     cf7-grid-codemirror.js?ver=3.1.0:56 Uncaught TypeError: CodeMirror is not a function
        at HTMLTextAreaElement.<anonymous> (cf7-grid-codemirror.js?ver=3.1.0:56)
        at HTMLTextAreaElement.dispatch (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,underscore,wp-util&ver=5.3.2:3)
        at HTMLTextAreaElement.r.handle (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,underscore,wp-util&ver=5.3.2:3)
        at Object.trigger (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,underscore,wp-util&ver=5.3.2:3)
        at Object.a.event.trigger (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,underscore,wp-util&ver=5.3.2:8)
        at HTMLTextAreaElement.<anonymous> (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,underscore,wp-util&ver=5.3.2:3)
        at Function.each (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,underscore,wp-util&ver=5.3.2:2)
        at a.fn.init.each (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,underscore,wp-util&ver=5.3.2:2)
        at a.fn.init.trigger (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,underscore,wp-util&ver=5.3.2:3)
        at HTMLDocument.<anonymous> (cf7-grid-layout-admin.js?ver=3.1.0:651)

    Any idea what could be happening? I have been editing and publishing new forms without any problem since today.

    NOTE: I also have the Polylang CF7 extension plugin
    Wordpress version: 5.3.2
    PHP Version: 7.3.11
    CF7: 5.1.6
    CF7 Grid Extension: 3.1.0
    CF7 Polylang Extension: 2.3.2
    Wordpress Theme: Avada; Version 6.2 -> https://themeforest.net/item/avada-responsive-multipurpose-theme/2833226?irgwc=1&clickid=xgWW%3AOzXkxyOR7DwUx0Mo3EUUknQNoSZFT2Awo0&iradid=275988&irpid=1292887&iradtype=ONLINE_TRACKING_LINK&irmptype=mediapartner&mp_value1=&utm_campaign=af_impact_radius_1292887&utm_medium=affiliate&utm_source=impact_radius

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

    (@aurovrata)

    it looks likes you have another plugin that may be using/loading an older version of CodeMirror javascript library.

    The SmartGrid uses CodeMirror2 library and this error occurs when another plugin is poorly targetting admin pages and loading an older version of CodeMirror.

    Any idea which plugin might be the culprit?

    One way to check is to look at the Network tab in your debug console and filter out javascript files to see where the codemirror library is being loaded from.

    Thread Starter bielweb

    (@bielweb)

    No idea which plugin could be culprit.

    Sorry to ask, but I’m not aware of having a debug console, neither a Network tab in it… How do I access that?

    Thanks!

    Plugin Author Aurovrata Venet

    (@aurovrata)

    Sorry to ask, but I’m not aware of having a debug console, neither a Network tab in it… How do I access that?

    watch this video.

    So I have just released v3.1.2 with a fix for this type of conflict. Upgrade and let me know if it fixes your issue.

    Thread Starter bielweb

    (@bielweb)

    Hello again,

    Thanks for your support, with the new version I don’t encounter the error anymore.
    Also thanks for the video, I’ll make use of that in the future.

    All solved, thank you very much!

    Plugin Author Aurovrata Venet

    (@aurovrata)

    All solved, thank you very much!

    great, do leave a review when you have a minuste to spare.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘“Uncaught TypeError: CodeMirror is not a function”’ is closed to new replies.