Uncaught ReferenceError: jQuery is not defined Error – td-composer/mobile

Posted in: Newspaper
Post count: 19

Hi,

I see some of my posts are throwing the following error (I have the latest theme installed):

Uncaught ReferenceError: jQuery is not defined
https://mysite.com/wp-content/plugins/td-composer/mobile/js/tagdiv_theme.min.js?ver=9.7.2:1

I wonder if you can advise on this matter please?

Post count: 19

Just to add, the error is only throwing on the mobile version of the site.

Also, Google is saying the page is not mobile friendly.

This is what I have in the robots file:

User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php

Post count: 23312

Hi,

Ensure that you have correctly installed the theme via FTP way, remove all of the untested plugins, clear all the caches, purge CDN files and check the results. Check the PHP version to be 7.0 and check the results. We do not have any bad reports in this case until now, sorry! Check your theme installing and configuration and let us know how it goes!

Thank you!

Post count: 19

Hi Catalin,

After further investigation, when I run Chrome Inspect on my mobile version of the site it loads fine without issues and it also works fine on my smartphone.

I therefore think the issue lies with the Google Search Console. When I run “Test Live URL” it mentions the Page is not mobile friendly and it’s throwing a number of JavaScript error including the jQuery one.

Maybe Google Search Console is not loading the scripts in the right order, that’s the only thing I can think of.

Thanks for your help

Post count: 35449

Hi,

Please make sure that you do not have a plugin conflict, please deactivate all non theme plugins, also if you are using child theme or cache plugin, please deactivate them, clear all cache and try again.

Please try the steps for mobile friendly indicate in this similar topic : -> https://forum.tagdiv.com/topic/mobile-friendly-test-fail/

Thank you!

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.