I use wp 4.6 and don’t receive any error. Could you paste it here for further information?
I get this error: hesh.min.js?ver=1.7.2:2 Uncaught TypeError: Cannot read property ‘switchto’ of undefined
I get it when I switch from “Visual” to “Text”. When “Text” is open and I refresh it works. However when I switch, it breaks again.
More people having this problem?
What is your browser and browser version?
The newest chrome. I tested it on multiple pc’s.
I get the same error occurs in WP 4.6.1.
Chrome, IE11, FF is the same.
I hope to be soon resolved.
-
This reply was modified 8 years ago by imjusti.
I did some debugging. This is only happening when the Toolset Types plugin is enabled. Do you have the Types plugin enable too imjusti?
I’ll try to debug the collision some more, but I’m not if I’m skilled enough for that 😉
edit: I’ve made a dirty fix if(typeof(x) !=== “undefined”) and it works again.
Can you please install the Types plugin and add a fix for the next release? Thanks 🙂
-
This reply was modified 8 years ago by dries863.
I found the cause.
wp_enqueue_script ( ‘jquery-ui-datepicker’);
That function was being used globally, was the problem solved after deleting that sentence.
Many are included script using the ‘jquery-ui-datepicker’, I do not know exactly whether any part of this problem.
My fix didn’t work in the end…
I tried @imjusti’s solution. But where did you remove the “wp_enqueue_script ( ‘jquery-ui-datepicker’);”. I can’t find the jquery-ui-datepicker in the plugin code…
I was using a jquery-ui-datepicker in the plug-in made.
So, if you remove it, the problem has been resolved.
Perhaps it seems that conflicts between javascript.
I want you to look to find the cause one by one remove the javascript.
Sorry for the late response.
This might be fixed in Version 2.0 that will be released late May.
Until then, You can download the .zip of the Version 2.0 release and install it yourself.
Hope this helps.
should be fixed in v2.0
open up an issue here if you have any more problems
Thanks!