Skip Navigation

[Resolved] Problem with Affiliate-Toolkit and Toolset

This support ticket is created 2 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 6.02 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 4 replies, has 3 voices.

Last updated by Shane 2 years, 2 months ago.

Assisted by: Shane.

Author
Posts
#2451433

Hello, there is a problem when the plugin Affiliate-Toolkit.com is installed. Then the creation of the contribution forms does not work.

I have also informed the developer of Affiliate-Toolkit.

Ciao
Thomas

The error message

load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,underscore,shortcode,utils,backbone,wp-util,moxiejs,plupload,jquery-ui-core,jquery-ui-mouse,jquery-ui&load%5Bchunk_1%5D=-sortable,regenerator-runtime,wp-polyfill,wp-dom-ready,wp-hooks&ver=6.0.2:5 JQMIGRATE: Migrate is installed, version 3.3.2
load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,underscore,shortcode,utils,backbone,wp-util,moxiejs,plupload,jquery-ui-core,jquery-ui-mouse,jquery-ui&load%5Bchunk_1%5D=-sortable,regenerator-runtime,wp-polyfill,wp-dom-ready,wp-hooks&ver=6.0.2:2 jQuery.Deferred exception: CodeMirror.overlayMode is not a function TypeError: CodeMirror.overlayMode is not a function
at codemirror_shortcodes_overlay (wp-content/plugins/cred-frontend-editor/library/toolset/cred/embedded/assets/third-party/codemirror_shortcodes.js?ver=2.6.13:202:23)
at getMode (wp-content/plugins/affiliate-toolkit/lib/codemirror/codemirror.js?ver=6.0.2:997:23)
at loadMode (wp-content/plugins/affiliate-toolkit/lib/codemirror/codemirror.js?ver=6.0.2:5981:23)
at attachDoc (wp-content/plugins/affiliate-toolkit/lib/codemirror/codemirror.js?ver=6.0.2:6105:9)
at new CodeMirror (wp-content/plugins/affiliate-toolkit/lib/codemirror/codemirror.js?ver=6.0.2:10197:9)
at CodeMirror (wp-content/plugins/affiliate-toolkit/lib/codemirror/codemirror.js?ver=6.0.2:10139:20)
at Function.fromTextArea (wp-content/plugins/affiliate-toolkit/lib/codemirror/codemirror.js?ver=6.0.2:12546:18)
at toggleCodeMirror (wp-content/plugins/types/vendor/toolset/toolset-common/visual-editor/res/js/icl_editor_addon_plugin.js?ver=4.1.10:1107:61)
at Object.codemirror (wp-content/plugins/types/vendor/toolset/toolset-common/visual-editor/res/js/icl_editor_addon_plugin.js?ver=4.1.10:1150:10)
at Toolset.CRED.EditorPagePrototype.initCodemirror (wp-content/plugins/cred-frontend-editor/public/js/editor.prototype.js?ver=2.6.13:188:62) undefined
S.Deferred.exceptionHook @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,underscore,shortcode,utils,backbone,wp-util,moxiejs,plupload,jquery-ui-core,jquery-ui-mouse,jquery-ui&load%5Bchunk_1%5D=-sortable,regenerator-runtime,wp-polyfill,wp-dom-ready,wp-hooks&ver=6.0.2:2
load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,underscore,shortcode,utils,backbone,wp-util,moxiejs,plupload,jquery-ui-core,jquery-ui-mouse,jquery-ui&load%5Bchunk_1%5D=-sortable,regenerator-runtime,wp-polyfill,wp-dom-ready,wp-hooks&ver=6.0.2:2 Uncaught TypeError: CodeMirror.overlayMode is not a function
at codemirror_shortcodes_overlay (codemirror_shortcodes.js?ver=2.6.13:202:23)
at getMode (codemirror.js?ver=6.0.2:997:23)
at loadMode (codemirror.js?ver=6.0.2:5981:23)
at attachDoc (codemirror.js?ver=6.0.2:6105:9)
at new CodeMirror (codemirror.js?ver=6.0.2:10197:9)
at CodeMirror (codemirror.js?ver=6.0.2:10139:20)
at Function.fromTextArea (codemirror.js?ver=6.0.2:12546:18)
at toggleCodeMirror (icl_editor_addon_plugin.js?ver=4.1.10:1107:61)
at Object.codemirror (icl_editor_addon_plugin.js?ver=4.1.10:1150:10)
at Toolset.CRED.EditorPagePrototype.initCodemirror (editor.prototype.js?ver=2.6.13:188:62)
utils.js?ver=2.6.13:74 Uncaught TypeError: textareaNext.CodeMirror.getTextArea is not a function
at isCodeMirror (utils.js?ver=2.6.13:74:51)
at Object.getContent (utils.js?ver=2.6.13:84:24)
at Object.getContents (post.js?ver=2.6.13:16:34)
at Object.serialize (wizard.js?ver=2.6.13:281:47)
at Object.nextStep (wizard.js?ver=2.6.13:252:36)
at HTMLInputElement.<anonymous> (wizard.js?ver=2.6.13:458:22)
at HTMLFormElement.dispatch (load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,underscore,shortcode,utils,backbone,wp-util,moxiejs,plupload,jquery-ui-core,jquery-ui-mouse,jquery-ui&load%5Bchunk_1%5D=-sortable,regenerator-runtime,wp-polyfill,wp-dom-ready,wp-hooks&ver=6.0.2:2:43064)
at v.handle (load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,underscore,shortcode,utils,backbone,wp-util,moxiejs,plupload,jquery-ui-core,jquery-ui-mouse,jquery-ui&load%5Bchunk_1%5D=-sortable,regenerator-runtime,wp-polyfill,wp-dom-ready,wp-hooks&ver=6.0.2:2:41048)

#2451639

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hello there

Could I invite you to set up a demonstration of the problem on this sandbox site so that we can investigate?

hidden link

It has Toolset plugins installed already, but you will need to add the 3rd party plugin and set it up as required.

We should then be able to see the problem when adding a new form? (When using the wizard? Or, also, if you disable the wizard?)

#2452059

Hello, thank you for your message.
I have installed the plugin. The basic version can also be found in the wordpress directory.
If you now want to create a new form, you will see that you can not click further.
If the affiliate toolkit is deactivated, it works. Also in the front the then created form seems to work. Only in the backend it does not.

Ciao
Thomas

#2452395

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Thomas,

I've confirmed on the sandbox site that Nigel provided that the issue is replicable and went ahead to escalate the problem.

We will provide an update on this as soon as we have any information.

Thanks,
Shane

#2453269

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Thomas,

Our 2nd tier team was able to identify the issue and provided a workaround.

You can go to our erratas page below to implement this fix.
https://toolset.com/errata/codemirror-errors-affecting-toolset-back-end-pages-when-using-affiliate-toolkit-plugin/

Please let me know if this helps.
Thanks,
Shane