• Hello,
    I’m working in a music news website (http://www.rocola.cl) with a theme called Lets Blog, from ThemeGoods. I’m trying to add a calendar synchronized with Google Calendar to my website, but when I activate this plugin called “Simple Calendar” (https://ww.wp.xz.cn/plugins/google-calendar-events/), it breaks the theme home page slider. The arrows to change from one month to another in the calendar neither works. When I inspect the source code of the slider zone with Google Chrome, it throws the following errors:

    waypoints.min.js:161 Uncaught TypeError: Cannot read property 'top' of undefined
    waypoints.min.js:161 Uncaught TypeError: Cannot read property 'top' of undefined(anonymous function) @ waypoints.min.js:161each @ jquery.js:2(anonymous function) @ waypoints.min.js:157each @ jquery.js:2t.refresh @ waypoints.min.js:156(anonymous function) @ waypoints.min.js:361each @ jquery.js:2refresh @ waypoints.min.js:360n.(anonymous function) @ waypoints.min.js:471t @ waypoints.min.js:75
    waypoints.min.js:161 Uncaught TypeError: Cannot read property 'top' of undefined

    The support team of the theme told me that was because of a conflict between the waypoints.min.js file of the theme and the plugin. The following are the lines 157-161 (where the problem is reporting in the error) of that file:

    return n.each(t, function(t, e) {
                        return n.each(i.waypoints[t], function(t, r) {
                            var i, o, l, s, f;
                            i = r.options.offset;
                            l = r.offset;
                            o = n.isWindow(r.element) ? 0 : r.$element.offset()[e.offsetProp];

    Another detail that maybe is important is that the slider works perfectly in the mobile version of the site. Also if I make the window very small, load the page and then I maximize the window, it works perfectly.
    I don’t know much about JavaScript, and this is a non lucrative project, so we can’t afford paying for a customized dev support. I will appreciate your help.
    Thanks in advice,
    Thomas

The topic ‘[Plugin: Simple Calendar] Google Calendar Plugin breaks theme slider’ is closed to new replies.