Hello @steveb11000
Thank you very much for using our plugin. The issue is caused by the “SiteGround Optimizer” plugin settings. Please, exclude jQuery for the optimizer settings and purge your website’s cache.
Best regards.
Hi, do you know how to do that? I took a look at SG optimizer, but cannot see any obvious way to do what you suggest
Hello @steveb11000,
Please, pay attention to the HTML Code on your website. The jQuery library is being loaded using “defer” attrbute:
<script defer src="https://www.batterychargersinfo.com/wp-includes/js/jquery/jquery.min.js" id="jquery-core-js"></script>
But the jQuery components are not:
<script type="text/javascript" src="https://www.batterychargersinfo.com/wp-includes/js/jquery/ui/core.min.js"></script>
<script type="text/javascript" src="https://www.batterychargersinfo.com/wp-includes/js/jquery/ui/datepicker.min.js"></script>
<script type="text/javascript" src="https://www.batterychargersinfo.com/wp-includes/js/jquery/ui/tooltip.min.js"></script>
<script type="text/javascript" src="https://www.batterychargersinfo.com/wp-includes/js/jquery/ui/mouse.min.js"></script>
<script type="text/javascript" src="https://www.batterychargersinfo.com/wp-includes/js/jquery/ui/slider.min.js"></script>
So, when your website loads the jQuery components, the jQuery.min.js file is not still loaded:

If you check the SiteGround Optimizer documentation, it offers the possibility of enabling/disabling the Defer options:
>> You can also Defer Render-blocking JavaScript for faster initial site load. You can also exclude specific scripts from the different types of optimizations.
Please, check the SiteGround Optimizer settings and make sure that the jQuery.min.js file is not deferred.
Best regards.