Support » Plugin: Private Google Calendars » [object Object] Error

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

    (@michielve)

    Hi,

    You’re getting this error because there is no calendar selection (you can see this in the response of the admin-ajax.php call in the network tab of the browser console).

    I don’t know if you are displaying private or public calendars.

    For private calendars: first select the calendars you want to use in the settings, otherwise you get this error.

    For public calendars: specify the calendars in the shortcode, for example:

    [pgc public=”true” calendarids=”calendarid1, calendarid2″]

    The calendarid can be seen in the settings page of the Google calendar you want to show.

    Best wishes,
    Michiel

    Hi I had this same error but was not able to resolve using this method. Keep getting the error:

    pgc.js?ver=20200209:312 Error: [object Object]
        at XMLHttpRequest.xhr.onload

    using shortcode:
    [pgc public=”true” calendarids=”calendarid1, calendarid2″]

    I’m also using Elementor. And developing on a local http address. could these cause erros?
    Thanks!

    • This reply was modified 1 year, 6 months ago by underbutter.
    Plugin Author michielve

    (@michielve)

    Hi,

    Some things I can think of:
    – Maybe you set an IP or domain restriction on your API key in the Google console? If so, remove them or add your local URL to it.
    – Are the “calendarids” valid?

    Best wishes,
    Michiel

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[object Object] Error’ is closed to new replies.