WordPress.org

Ready to get started?Download WordPress

Forums

Google Calendar Events
[resolved] jQuery qTip v1 breaking all things JS (3 posts)

  1. Brian Saycocie
    Member
    Posted 3 months ago #

    Hello,

    I recently added your plugin to my site I'm building locally. When I add the short code, [google-calendar-events], to my visual editor, the calendar displays but I get a JavaScript error on my console:

    Cannot read property 'msie' of undefined

    It appears to be breaking all JS on my site. I removed all JS to troubleshoot, and the error still shows. I read there is a newer version of qTip... might be time to upgrade?

    Thanks for your work, quality plugin!

    Brian

    https://wordpress.org/plugins/google-calendar-events/

  2. Ross Hanney
    Member
    Plugin Contributor

    Posted 3 months ago #

    Hello Brian,

    Yeah, qTip probably does need updating. However, if everything is loaded correctly, qTip v1 works fine with the current version of jQuery included with WordPress. It sounds like something (your theme or another plugin) is incorrectly loading its own version of jQuery, and not including the jQuery migrate script (which WordPress does by default).

    You could try installing this little plugin I made, which just attempts to load the jQuery migrate script.

  3. Brian Saycocie
    Member
    Posted 3 months ago #

    It was indeed the migrate script I was missing. Thanks Ross!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.