• My events calendar here, https://esisurvivalguide.com/events/, was working until recently, and now clicking on any event does nothing and I get these errors (see image + pasted below)
    https://esisurvivalguide.s3.amazonaws.com/2021/03/errors.jpg

    I am using php 7.3, Root Sage theme 8.6 (www.roots.io), Bootstrap 4, and I’ve tried with all plugins disabled. It worked before I upgraded to php 7.3 as well.

    I saw one related post that it was boostrap conflicting, but I can’t disable bootstrap, as it’s the site’s framework. Any ideas?

    jQuery.Deferred exception: jQuery(...).select2 is not a function TypeError: jQuery(...).select2 is not a function
        at HTMLDocument.<anonymous> (https://esisurvivalguide.com/app/plugins/modern-events-calendar-lite/assets/js/frontend.js?ver=5.17.2:257:97)
        at e (https://esisurvivalguide.com/wp/wp-includes/js/jquery/jquery.min.js?ver=3.5.1:2:30005)
        at t (https://esisurvivalguide.com/wp/wp-includes/js/jquery/jquery.min.js?ver=3.5.1:2:30307) undefined
    S.Deferred.exceptionHook @ jquery.min.js?ver=3.5.1:2
    jquery.js:4050 jQuery.Deferred exception: jQuery(...).mecMonthlyView is not a function TypeError: jQuery(...).mecMonthlyView is not a function
        at HTMLDocument.<anonymous> (https://esisurvivalguide.com/events/:367:50)
        at f (https://esisurvivalguide.com/app/themes/sage/dist/scripts/main.js:4:31073)
        at d (https://esisurvivalguide.com/app/themes/sage/dist/scripts/main.js:4:31376) undefined
    we.Deferred.exceptionHook @ jquery.js:4050
    jquery.min.js?ver=3.5.1:2 Uncaught TypeError: jQuery(...).select2 is not a function
        at HTMLDocument.<anonymous> (frontend.js?ver=5.17.2:257)
        at e (jquery.min.js?ver=3.5.1:2)
        at t (jquery.min.js?ver=3.5.1:2)
    jquery.js:4059 Uncaught TypeError: jQuery(...).mecMonthlyView is not a function
        at HTMLDocument.<anonymous> ((index):367)
        at f (jquery.js:3766)
        at d (jquery.js:3834)
    • This topic was modified 3 years, 8 months ago by James Huff.
    • This topic was modified 3 years, 8 months ago by michaellawrence.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor webnus

    (@webnus)

    Hello @michaellawrence,

    This is forwarded to the developer team and it will be fixed for the next updates.

    Note: for now, you can use this plugin to restrict selec2 on the frontend or the backend page.

    Best Regards

    Thread Starter michaellawrence

    (@michaellawrence)

    @webnus thanks, good to know it will be in the next update. For now, I have tried your suggestion and to no avail, the error still persists. I’ll await an update, unless you have another suggestion

    Plugin Contributor webnus

    (@webnus)

    Hi @michaellawrence,

    This issue has been forwarded to the developer team and it will be fixed for the next updates.

    We will let you know when this topic is resolved.

    Best Regards

    Not sure if this will help anyone else – but our team was seeing a similar issue where the error popping up mentioned jquery/select2 is not a function.

    We found that going to the Dashboard -> Settings -> General and changing the timezone fixed the issue for us. For some reason the previous dropdown setting UTC+0 was causing a fatal PHP error.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Getting multiple jQuery errors, including select2 is not a function TypeError:’ is closed to new replies.