• Resolved xanty8

    (@xanty8)


    Hello,

    Today I realised that calendar shows a red error in top left corner and developer console throws the following:

    TypeError: Cannot read property ‘toLocaleTimeString’ of null
    at eventRender (pgc.js?ver=20200102:219)
    at e.publiclyTrigger (main.min.js?ver=20200102:6)
    at r.t.publiclyTrigger (main.min.js?ver=20200102:6)
    at main.min.js?ver=20200102:6
    at Array.filter (<anonymous>)
    at ft (main.min.js?ver=20200102:6)
    at r.e.renderSegEls (main.min.js?ver=20200102:6)
    at r.e.renderSegs (main.min.js?ver=20200102:6)
    at r.s [as renderFgEvents] (main.min.js?ver=20200102:6)
    at r.render (main.min.js?ver=20200102:6)

    I already revoked permission and uninstalled plugin and did all configuration again. Could you please help with this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author michielve

    (@michielve)

    Hi,

    It looks like the calendar wants to show a start and/or end time, but this is not present for the event. Can you verify this? I didn’t know this can happen (the Google documentation doesn’t mention this), but if this is true, I’ll update the code to handle this situation.

    Or maybe you can send me the link to the web page so I can have a look.

    Best wishes,
    Michiel

    Thread Starter xanty8

    (@xanty8)

    Hi,

    Thank you so much for your answer. You gave me the key. The problem was in a recurrent event (every month) where the start and the end date and time were the same. I used it just as a reminder. I fixed it by changing the end time. Because of being a monthly event I hadn’t this error when I configured the plugin for the first time. The event wasn’t on that week. Maybe you want to update the code to avoid this.

    Kind regards

    Plugin Author michielve

    (@michielve)

    Hi,
    Thanks for getting back and letting me know the cause. I’ve made a new release (20200116) where this bug has been fixed.
    Beste wishes,
    Michiel

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Red error message is shown in calendar’ is closed to new replies.