Having trouble pinning down Uncaught TypeError cause…
-
Hello,
I use this excellent plug-in on most of my sites. Thanks for making it available.Normally I can figure out what plug-ins have issues with it, and how to resolve those issues. But I have a case right now that’s proving troublesome.
There’s a couple of things playing out:
1.0) If you load the example page, you should see two UncaughtTypeError: jQuery is not a functionerrors in the console. One relates to some JS that’s calling google analytics, and the other is related to a rev_slider (Revolution Slider). I don’t actually see (on the front end) what issues these two errors are causing.2.0) You’ll see on the example page there is a Author Info widget (created by a plug-in called StarBox) in the sidebar on the right. Generally (not always, it seems) I can’t click on the “Latest Posts” tab of that widget. If I disable Autoptimise on the page, it works. Although then something else plays out…
2.1) I guess this is a second thing related to #2…
When I disable Autoptimise the Author Info has CSS issues. Actually, it has issues out of the box, but I have some custom CSS I’ve used in the theme’s Custom CSS section, to correct those issues. Strangely, as far as I can tell, when I disable Autoptimise (like to test the Latest Posts tab) the custom CSS does not seem to load, and the widget renders poorly.Here’s some info on the Autoptimise configuration:
Following is active/ticked…
• Optimise HTML
• Optimize JavaScript Code
• JS Exclusions: seal.js, jquery.js, plugins/ks-giveaways/public/assets/js, js/jquery/jquery.js
• Add try-catch wrapping
• Optimize CSS Code
• CSS Exclusions: admin-bar.min.css, dashicons.min.css, responsive.css, base.css, jquery.selectBox.css, /layout.css, shortcodes.css, ks-giveaways/public/assets/css, /starbox/themes/fancy/css/frontend.cssAny suggestions you can make, including how you arrived at them (if possible, as I really want to know how to fix all such issues myself), would be greatly appreciated.
Thanks.
Jonathan
The page I need help with: [log in to see the link]
The topic ‘Having trouble pinning down Uncaught TypeError cause…’ is closed to new replies.