Skip Navigation

[Resolved] Security error and WYSWIG not working

This support ticket is created 5 years, 4 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.

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

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 5 years, 4 months ago.

Assisted by: Minesh.

Author
Posts
#1327049

I am trying to:

Make sure WYSWIG fields are working :
hidden link

solve the security issue defender pro is saying into toolset files :

hidden link

Thank you

#1327083

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

We are handling security issues differently so it will get priority. You can report the security issue with the following form:
=> https://toolset.com/report-security-vulnerability-issues/

Regarding eval() that you quote that there is security error, actually eval() is required by Toolset. Please check the following Toolset requirement Doc:
=> https://toolset.com/toolset-requirements/

However, I will share the file you shared with our Devs and get in touch with you regarding that.

Regarding WYSIWYG editor, I see you are using an outdated WordPress version. Can you please update WordPress to latest version 5.2.2.

In addition to that, I see the following Javascript errors on your browser's console:

Uncaught ReferenceError: wptValidationForms is not defined
    at (index):408
autoptimize_a4c489cb39986b5923f2b1e02b3023bf.js:1295 Uncaught SyntaxError: Invalid regular expression flags
(index):311 Uncaught TypeError: Cannot read property 'setDefaults' of undefined
    at HTMLDocument.<anonymous> ((index):311)
    at i (jquery.js:2)
    at Object.fireWith [as resolveWith] (jquery.js:2)
    at Function.ready (jquery.js:2)
    at HTMLDocument.K (jquery.js:2)
recaptcha__en.js:517 reCAPTCHA couldn't find user-provided function: onLoadRecaptcha
plugin.min.js?wp-mce-4800-20180716:1 Uncaught ReferenceError: getUserSetting is not defined
    at i.onPostRender (plugin.min.js?wp-mce-4800-20180716:1)
    at i.a (plugin.min.js?ver=4800-20180716:1)
    at jg.c.fire (tinymce.min.js?ver=4800-20180716:2)
    at i.fire (theme.min.js?wp-mce-4800-20180716:1)
    at i.postRender (theme.min.js?wp-mce-4800-20180716:1)
    at i.postRender (theme.min.js?wp-mce-4800-20180716:1)
    at i.postRender (tinymce.min.js?ver=4800-20180716:2)
    at i.<anonymous> (theme.min.js?wp-mce-4800-20180716:1)
    at Object.qt [as each] (tinymce.min.js?ver=4800-20180716:2)
    at i.each (theme.min.js?wp-mce-4800-20180716:1)
theme.min.js?wp-mce-4800-20180716:1 Uncaught TypeError: Cannot read property 'parents' of undefined
    at HTMLDivElement.u (theme.min.js?wp-mce-4800-20180716:1)
    at C (tinymce.min.js?ver=4800-20180716:2)
    at HTMLDivElement.d (tinymce.min.js?ver=4800-20180716:2)
theme.min.js?wp-mce-4800-20180716:1 Uncaught TypeError: Cannot read property 'parents' of undefined
    at HTMLDivElement.u (theme.min.js?wp-mce-4800-20180716:1)
    at C (tinymce.min.js?ver=4800-20180716:2)
    at HTMLDivElement.d (tinymce.min.js?ver=4800-20180716:2)

Can you please check from where those errors are coming, you should start to investigate by following basic debug steps:
Could you please try to resolve your issue by deactivating all third-party plugins as well as the default theme to check for any possible conflicts with any of the plugins or themes?