Home › Forums › Calendar Products › Events Calendar PRO › JS Error in Month View
- This topic has 5 replies, 2 voices, and was last updated 10 years, 5 months ago by
JGM Agency.
-
AuthorPosts
-
November 24, 2015 at 7:12 am #1030194
JGM Agency
ParticipantWe are currently seeing the same error as described on https://theeventscalendar.com/support/forums/topic/issue-with-month-view-2/
TypeError: u.bootstrapDatepicker is not a function
/wp-content/plugins/the-events-calendar/src/resources/js/tribe-events-ajax-calendar.min.js?ver=3.12.6
Line 1The Events Calendar PRO version 3.12.6
The Events Calendar version 3.12.6
WordPress version 4.3.1November 24, 2015 at 7:17 am #1030196JGM Agency
ParticipantThe error is not visible with the Twenty Fourteen theme.
What files from this theme does the plugin depend on? We are using a custom theme.November 24, 2015 at 11:27 am #1030331Brian
MemberHi,
Thanks for using our plugins. I can try to help out here, but I am not able to support 3rd party coding.
The plugin does not reply on any files from your theme, but if your theme is loading bootstrap date picker. I would recommend turning it off for the event pages.
We have these conditionals that you could use to turn that script off there:
https://gist.github.com/jesseeproductions/903f5ca75877b713c674
I can try to help out so more here, so let me know if you have some questions.
Thanks
November 25, 2015 at 1:04 am #1030501JGM Agency
ParticipantHi Brian,
I think you’ve got the issue confused.
The plugin does not rely on any files from our theme because with my theme it does not work.
The plugin appears to rely on files from the standard WordPress theme ‘Twenty Fourteen’ because it works with this theme.We are not loading any datepickers. Hvae you tested the plugin with a minimal skeleton theme?
Thanks
November 25, 2015 at 4:39 am #1030535Brian
MemberHi,
Plugins never rely on any files from a theme or they would not work. I usually test everything and Genesis and do not have this issue there.
Our plugin does rely on scripts in WordPress and sometimes a theme replaces those scripts and causes an issue. Does you theme change jQuery from the version shipped with WordPress?
Also, do you have a link I can see the issue?
Maybe I can see what the issue is by seeing the problem live.
Thanks
November 25, 2015 at 5:21 am #1030548JGM Agency
ParticipantThanks, jQuery was the issue.
This plugin depends on jQuery version 1.11.3.
-
AuthorPosts
- The topic ‘JS Error in Month View’ is closed to new replies.
