Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Tagged: 8.38.1, jquery, theme conflict
- This topic has 3 replies, 2 voices, and was last updated 4 years, 8 months ago by
Steven Zahm.
-
AuthorPosts
-
04/01/2019 at 4:35 am #488522
Wolfram von Gagern
ParticipantHi,
Google Maps isn’t showing up on this (old) website: https://www.longuich.de/wirtschaft/name/alte-burg-longuich/
Do you have any idea what the problem might be?
Wolfram
04/01/2019 at 9:26 am #488545Steven Zahm
Keymaster@ Wolfram
Please load the page in Chrome, hit the F12 key and then click the Console tab.
You will find this error:
Uncaught ReferenceError: jQuery is not defined
from this file:
theme_scripts.js
This is breaking javascript on your site.
Looking at the code, it seems the theme is using its own version of jQuery instead of the version bundled with WP — this will break plugins, not just Connections. This is considered a very bad practice and should not be done by themes or plugins.
It also appears they are loading their theme script before their version of jQuery which is why the error is occuring. It needs to be loaded the other way around.
You’ll have to contact the theme’s support team in order to have their devs correct these issues.
Something you can try…
Connections includes an option to try fix loading the correct version of jQuery.
Navigate to the Connections : Settings admin page and click the Advanced tab. Scroll to the bottom an enable the jQuery Compatibility option and save the changes.
What this option does is it tries to force the use of the correct WordPress version of jQuery. By doing so, it just might also force things to load in the correct order. But, that will really depend on how the theme loads it’s scripts and its version of jQuery.
Hope this helps, let me know.
04/02/2019 at 3:12 am #488575Wolfram von Gagern
ParticipantHi Steven,
thank you for your kind explanations. The theme for this website was made with Artisteer 7 years ago, so I’ll rather suggest the use of a new theme to the owner. Because the old theme will certainly offer one or two more surprises. ;-)
04/02/2019 at 9:02 am #488610Steven Zahm
Keymaster@ Wolfram
Ahhh… an older theme. This issue does not come up that often anymore, but being an older theme makes sense. Around that time it was very common for theme’s to load their own version of jQuery instead of version that comes with WP. Which is what prompted me to add such an option. Theme and Plugin devs have gotten much better since those times :)
If you have a moment, I would truly appreciate a review as they really do make a difference.
https://wordpress.org/support/plugin/connections/reviews/
Thanks in advance for your time!
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.