Bug: JavaScript undefined function (and consequences)
-
Hi !
I had a problem with Shortcode Ultimate Spoilers block which were inactive on some browsers including Chrome.
I discover that there was a Javascript Report error in the Chrome console :
Uncaught ReferenceError: Cookies is not defined(anonymous function) @ use_cookie_when_ready.js
Looking at the file :
jQuery( document ).ready(function() { var cookie = Cookies.getJSON('wp_user_stylesheet_switcher_js');
Other error were also indicated in the same block :
m.Callbacks.j @ jquery.js:2 m.Callbacks.k.fireWith @ jquery.js:2 m.extend.ready @ jquery.js:2 J @ jquery.js:2
So, I desactivate WP User Stylesheet Switcher, and the console indicates no error at all,and this resolves my Shortcote ultimate prblem, proving that a Javascript errors came from WP User Stylesheet Switcher.
Can you please solve this issue ?
It will be really helpful as your plugin is very useful for me !
Thanks for listening !
https://www.ads-software.com/plugins/wp-user-stylesheet-switcher/
- The topic ‘Bug: JavaScript undefined function (and consequences)’ is closed to new replies.