Skip Navigation

[Resolved] Javascript error on wp-admin that prevents changing in the visual editor to html

This support ticket is created 5 years, 11 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
- 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 3 replies, has 2 voices.

Last updated by Shane 5 years, 11 months ago.

Assisted by: Shane.

Author
Posts
#1207087

I am trying to:

Edit a post that has a Toolset custom type.

Link to a page where the issue can be seen:

Inside private dashboard for site.

I expected to see:

Working javascript on the page.

Instead, I got:

Errors in the javascript console:
TypeError: $headers.imagesLoaded is not a function[Learn More] file-wp35.js:14:9
init hidden link i4jQuery
TypeError: i.theButtons is undefined[Learn More] quicktags.min.js:1:2787
getButton hidden link add_bootstrap_components_buttons hidden link init hidden link d hidden link j hidden link <anonymous> hidden link each jQuery
<anonymous> hidden link delay Underscore

And javascript does not function in the page - this means that I cannot switch between Visual & Text editors using the Classic Editor plugin. Also, other third party plugins that are on the page that require javascript do not function.

I do not see this error on: Page, Post, two Toolset custom types. I do see this error on one further Toolset custom type.

I notice that two other users have observed what seems like the same issue but have struggled to replicate:
https://toolset.com/forums/topic/cannot-toggle-between-text-and-visual-mode-in-classic-editor/
https://toolset.com/forums/topic/javascript-error-on-wp-admin-that-prevents-changing-in-the-visual-editor-to-html/

#1207131

Shane
Supporter

Languages: English (English )

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

Hi Angus,

Thank you for contacting our support forum.

Would you mind trying this quickly if you haven't already done so , temporarily disabling all the non-toolset plugins and trying to see if the issue still remains.

Thanks,
Shane

#1207142

Thanks, I've just tried disabling all non-Toolest plugins and I still observed the same issue.

#1207246

Shane
Supporter

Languages: English (English )

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

Hi Angus,

Thanks for doing this.

Would you mind allowing me to have admin access to the site so that I can take a copy to test here locally?

Thanks,
Shane