This support ticket is created vor 6 Jahren, 4 Monaten. 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.
Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.
I am trying to: Click "Text" mode in content editor instead of "Visual", but "text" mode doesn't switch on.
Link to a page where the issue can be seen: versteckter Link
I expected to see: "Text" mode of editor is not enabling. If I disable "Toolset Maps" plugin, I get expected behaviour - "Text" mode of editor enables.
Instead, I got: Javascript errors, see screenshot.
Interestingly editor works as expected (possible to switch between "Visual" and "Text" mode) in WPML Translation Editor even with Layouts Maps enabled. However, switching to WordPress editor doesn't allow switching between "Visual" and "Text" mode throwing following errors:
jquery-migrate.min.js?ver=1.4.1:2 JQMIGRATE: Migrate is installed, version 1.4.1
wpv_addon_maps.js?ver=1.5.1:13 Uncaught ReferenceError: google is not defined
at new WPViews.ViewAddonMaps (wpv_addon_maps.js?ver=1.5.1:13)
at HTMLDocument.<anonymous> (wpv_addon_maps.js?ver=1.5.1:1312)
at i (jquery.js?ver=1.12.4:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
at Function.ready (jquery.js?ver=1.12.4:2)
at HTMLDocument.K (jquery.js?ver=1.12.4:2)
WPViews.ViewAddonMaps @ wpv_addon_maps.js?ver=1.5.1:13
(anonymous) @ wpv_addon_maps.js?ver=1.5.1:1312
i @ jquery.js?ver=1.12.4:2
fireWith @ jquery.js?ver=1.12.4:2
ready @ jquery.js?ver=1.12.4:2
K @ jquery.js?ver=1.12.4:2
quicktags.min.js?ver=4.9.7:1 Uncaught TypeError: Cannot read property 'bs_component_show_hide_button' of undefined
at QTags.i.getButton (quicktags.min.js?ver=4.9.7:1)
at ToolsetCommon.BootstrapCssComponentsQuickTags.self.add_bootstrap_components_buttons (toolset-bs-component-buttons.js?ver=4.9.7:122)
at toolset-bs-component-buttons.js?ver=4.9.7:21
at d (toolset-event-manager.min.js?ver=1.0:1)
at Object.j [as doAction] (toolset-event-manager.min.js?ver=1.0:1)
at HTMLDivElement.<anonymous> (toolset-bs-component-events.js?ver=1:213)
at Function.each (jquery.js?ver=1.12.4:2)
at toolset-bs-component-events.js?ver=1:209
at underscore.min.js?ver=1.8.3:5
QTags.i.getButton @ quicktags.min.js?ver=4.9.7:1
self.add_bootstrap_components_buttons @ toolset-bs-component-buttons.js?ver=4.9.7:122
(anonymous) @ toolset-bs-component-buttons.js?ver=4.9.7:21
d @ toolset-event-manager.min.js?ver=1.0:1
j @ toolset-event-manager.min.js?ver=1.0:1
(anonymous) @ toolset-bs-component-events.js?ver=1:213
each @ jquery.js?ver=1.12.4:2
(anonymous) @ toolset-bs-component-events.js?ver=1:209
(anonymous) @ underscore.min.js?ver=1.8.3:5
setTimeout (async)
m.delay @ underscore.min.js?ver=1.8.3:5
E @ underscore.min.js?ver=1.8.3:5
r @ underscore.min.js?ver=1.8.3:5
(anonymous) @ toolset-bs-component-events.js?ver=1:205
i @ jquery.js?ver=1.12.4:2
fireWith @ jquery.js?ver=1.12.4:2
ready @ jquery.js?ver=1.12.4:2
K @ jquery.js?ver=1.12.4:2
plugin.min.js?ver=4711-20180425-tadv-4.7.11:1 Deprecated TinyMCE API call: <target>.onBeforeSetContent.add(..)
At the moment I have disabled Maps plugin and the issue is solved. I will try to clone site to development environment where I could give access to investigate.