JS error on page load (Modern Event Calendar?)

I have a site that is throwing the following error in the console on page loads. On pages that have a form (via Gravity Forms) it produces a dialog pop-up:

jquery.js?ver=1.12.4-wp:2 Uncaught TypeError: q.test is not a function
 at Function.ea (jquery.js?ver=1.12.4-wp:2)
 at Function.a.find (jquery-migrate.min.js?ver=1.4.1:2)
 at a.fn.init.find (jquery.js?ver=1.12.4-wp:2)
 at a.fn.init.a.fn.find (jquery-migrate.min.js?ver=1.4.1:2)
 at HTMLDocument.<anonymous> (frontend.js?ver=5.2.2:570)
 at HTMLDocument.dispatch (jquery.js?ver=1.12.4-wp:3)
 at HTMLDocument.r.handle (jquery.js?ver=1.12.4-wp:3)
 at jquery.js?ver=1.12.4-wp:2
 at ha (jquery.js?ver=1.12.4-wp:2)
 at ea.setDocument (jquery.js?ver=1.12.4-wp:2)

I’ve gone through and checked (a lot) of plugins and have it narrowed down to Modern Event Calendar. When that particular plugin is deactivated, these errors in the console go away and I don’t get the conflicting pop-up.

I believe someone else went in and purchased a license directly from the MEC developers and updated the plugin to their latest version, 4.4.7. From what I understand, X works off of a slightly lower version and I’m wondering if this is the issue.

My question:
How can I properly remove this plugin and re-install from the X repository? I’ve de-activated and deleted it, but when I try to install it from the “Validation” menu under X it puts the same version (4.4.7) that was previously installed.

Thanks!

Hi Tyler,

Thank you for writing in, the latest version of M.E.C. is 4.4.7, we can see that here. Do you have any caching features, please clear all your caching features (plugin, server-side, CDN, and browser’s cache) and if you have any custom JS scripts on Theme Options > JS or child theme, try removing those as well and see if that resolves the issue.

Cheers!

Thanks @friech, I’ll try those.

Are you able to confirm that 4.4.7 is the version that installs with X Theme? I was browsing the forums and saw some notes that the bundled version of MEC may not be the latest version that is directly offered from the developer.

Hey Tyler,

Yes. We have 4.4.7 bundled in our theme. If you can setup a test site with fresh WordPress install, Twenty Nineteen theme, Gravity Forms and MEC 4.4.7 and then replicate the issue there, we can report it Webnus, the Modern Events Calendar author.

Thanks.

Got it. Will do! Thanks @friech and @christian_y!

You’re welcome, Tyler.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.