• This may be the same issue that was posted by someone else yesterday:

    https://www.ads-software.com/support/topic/event-links-on-calendar-for-future-events-not-working/

    Viewing the URL on that thread I can tell they rolled back to 5.9 so I cannot confirm they had the same issue.

    For my calendar, the current month (July 2022) display fine, but if you click the next or previous links, the Loader icon spins indefinitely.

    I’m getting this error in the console:

    Uncaught TypeError: Cannot read properties of undefined (reading 'replace')
        at HTMLAnchorElement.<anonymous> (events-manager.js?ver=6.0.1.1:2229:43)
        at HTMLTableElement.dispatch (jquery.min.js?ver=3.6.0:2:43064)
        at v.handle (jquery.min.js?ver=3.6.0:2:41048)
    (anonymous) @ events-manager.js?ver=6.0.1.1:2229
    dispatch @ jquery.min.js?ver=3.6.0:2
    v.handle @ jquery.min.js?ver=3.6.0:2

    I don’t want to leave the calendar in this state for long, but will leave it this way temporarily to give you a live example to view. If I can provide further information please let me know. Thank you.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • For us this worked: I reverted the installation. I’ll await new updates and see what happens here at the forum. Looks like there needs work to be done on this update 6.

    Thread Starter Matt Scheidler

    (@matt6303)

    I gave it 12 days, but just now reverted back to 5.12.1 in order to restore the previous/next buttons for my calendar. Looking forward to a 6.x update.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    You can try the latest EM version 6.1 (with EM Dev version 6.1.0.1)

    Quick hack to get this working again:

    Change line 2234 in events-manager/includes/js/events-manager.js

    From: const calendar_id = calendar.attr(‘id’).replace(’em-calendar-‘, ”);
    To: const calendar_id = calendar.closest(“div”).attr(‘id’).replace(’em-view-‘, ”);

    This can be done nicer with a check if attr(id) is undefined, but the change above fixes the problem.

    Keep in mind this is a quick fix, that will be overwritten by the next update. I assume they want to push their new full size calendar layout.

    Thread Starter Matt Scheidler

    (@matt6303)

    performo, thank you.

    I just upgraded from 5.12.1 to 6.1.1 and everything was just as you’d described. I made the change on line 2234 and that did restore the prev/next functionality.

    If anyone else needs to do the same thing, here’s a copy/paste ready version of the code.

    const calendar_id = calendar.closest('div').attr('id').replace('em-view-','');

    Looking forward to this being resolved in the plugin itself.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Full Calendar: Unable to view past/next months’ is closed to new replies.