Home › Forums › Calendar Products › Events Calendar PRO › jQuery conflict (2.1.0)
- This topic has 6 replies, 5 voices, and was last updated 9 years, 3 months ago by
James.
-
AuthorPosts
-
December 13, 2016 at 1:56 am #1205097
James
ParticipantHi,
I’m using FoundationPress framework for my theme, which uses jQuery 2.1.0. This is causing an issue with Events Calendar which is designed to run on the WP bundled version of jQuery I believe.
In particular the error i’m getting is:
tribe_events_linked_posts is not definedBut i’m not convinced that I wouldn’t find more if I looked for them (there have been a few weird quirks on this site and I’m wondering if they’re all down to this).
If I revert jQuery back to the bundled version, things in my theme don’t work. But if I keep it the same events calendar doesn’t work. Is there a way to run Events Calendar in a noconflict version where it uses the older jQuery version?
The error happens on the add events page, which you only see when signed in.
Thanks,
JamesDecember 13, 2016 at 8:00 am #1205212George
ParticipantHi James,
We unfortunately don’t guarantee support for any version of jQuery that is not included in WordPress Core.
It is extremely well-known bad practice for developers to dequeue the WordPress version of jQuery and enqueue their own, which your theme framework seems to be doing. This is very, very bad practice that the WordPress community has condemned for years—please contact your theme support and urge them to use better code in their framework.
In the meantime, the specific error you cite may not actually be related to that—this error has come up other times for other reasons, so I’ll unfortunately need to take a closer look under-the-hood with your theme to try and identify the specific cause of that error. It may be solvable with a bit of custom code I can try to write for you.
To help me investigate this:
1. Please upload a copy of your theme and any child theme you’re using, so that I can download all of these files and test them out myself.2. Please confirm all of the places you find this error. You mention the “add events page” when you’re signed in, for example—do you mean the wp-admin “Add Event” page where you create one event? Or do you mean the front-end Community Events page where users submit events via the submission form? Or both? Be specific and let me know all locations where you see this error happening.
Thanks,
GeorgeDecember 19, 2016 at 8:37 am #1207727James
ParticipantThis reply is private.
December 20, 2016 at 10:28 am #1208411Brook
ParticipantThis reply is private.
December 20, 2016 at 4:42 pm #1208637George
ParticipantThis reply is private.
January 11, 2017 at 8:35 am #1216636Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘jQuery conflict (2.1.0)’ is closed to new replies.
