JS Error in Month View

Home Forums Calendar Products Events Calendar PRO JS Error in Month View

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1030194
    JGM Agency
    Participant

    We 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 1

    The Events Calendar PRO version 3.12.6
    The Events Calendar version 3.12.6
    WordPress version 4.3.1

    #1030196
    JGM Agency
    Participant

    The 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.

    #1030331
    Brian
    Member

    Hi,

    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

    #1030501
    JGM Agency
    Participant

    Hi 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

    #1030535
    Brian
    Member

    Hi,

    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

    #1030548
    JGM Agency
    Participant

    Thanks, jQuery was the issue.

    This plugin depends on jQuery version 1.11.3.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘JS Error in Month View’ is closed to new replies.