Inline Javascript is giving me gtmetrix errors - help identify

So I’m utilizing the Hummingbird Pro plugin by WPMU DEV for the Asset Optimization of my website.

I am running a gtmetrix test for my website, ohiocannabis.com to get results.

I am getting a a couple of jquery javascript errors and one that is associated with the main URL/domain/website loading some Inline Javascript, apparently caused by some plugins.

Defer parsing of Javascript:

103.6KiB of JavaScript is parsed during initial page load. Defer parsing JavaScript to reduce blocking of page rendering.

* https://ohiocannabis.com/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp (86.8KiB)
* https://ohiocannabis.com/ (9.1KiB of inline JavaScript)
* https://ohiocannabis.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1 (7.7KiB)

How can I identify which scripts are causing errors and how can I clean them up from doing so?

Here is my latest test:

Hey John,

Our product support only covers our theme and bundled plugins. We do not cover website optimization and 3rd party plugin issues. Please consult with a developer for this case.

Thank you for understanding.

Isn’t the jquery part of the theme itself? Support for that should be covered right?

Also, some of these plugins are associated with the bundled theme such as RevSlider.

For instance, this Defer Parsing Javascript error is most certainly related to the Theme as it goes away when I switch themes:

https://hb.wpmucdn.com/ohiocannabis.com/5f2cba42-b329-446b-85e9-f6111a8bc76c.js

Any suggestions on what to do to clear them?

Also, there seems to issues with too many Requests by the Theme and affecting the Yslow speed:

"Make fewer HTTP requests" also related to theme itself, unfortunately no optimization from their end. What I checked in here https://ohiocannabis.com/pro/#/options

Hi John,

Let me clarify a few things, that our theme used the resources provided by the WordPress installation. jQuery is one of those resources which is been used from WordPress installation.
Our theme can’t modify the resources coming from WordPress.
To solve this issue, you can defer parsing of JavaScript, which allows the browser to load the full content without waiting for the scripts to load. By implementing this task, JavaScript parsing won’t negatively affect your website’s loading time.
You can get more information on it in this article: https://www.hostinger.in/tutorials/wordpress/how-to-defer-parsing-of-javascript-in-wordpress

I would like to suggest you to hire a developer for your further customization.
Please remember that we don’t offer support to any issues related to the custom codes or third party plugin.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.