Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Contributor Nick Young

    (@nickyoung87)

    What are the settings you have for the calendar causing this issue?

    I have not seen this before and will try to reproduce to test it, but any additional info you might have will be very helpful. Maybe a test page link that shows the issue?

    Thanks!

    Thread Starter maartenkuijpers

    (@maartenkuijpers)

    Hi Nick, thanks for coming back at this!
    The issue is currently visible on https://www.ruudhuijbregts.nl. I’ve not removed the calendar yet as it’s a low profile website.

    I’m using Twenty Twelve theme and put the Simple Calendar in the main widget area, one instance per language I’m using (NL & GB). Perhaps related to the Twenty Twelve theme, but the Simple Calendar widgets were moved to a differnt widget area. When moving them back to the main area, the events are now becoming visible underneath the error message.

    I cannot access the related gmail account as this is not my own. The calendar however is public and can be imported. Here are the plugin settings:
    – Public calendar ID = [email protected] (first upcoming event on 22 Nov)
    – Event Sources: google calendar API filled in (40 chars)
    – General: Attach Calendars is empty.
    – Advanced: all checkboxes unchecked.

    Please let me know if you need any specific setting!
    Thanks!

    Hi,

    I have the same problem after the update with several calendars, in fact the error message is even a bit longer (https://prntscr.com/928gqg).

    It seems that it has something to do with the calendars, because I can switch the error message on and off, only by changing the calendar ID.

    A calendar without problems is e.g. [email protected] and a calendar which shows the error-message is e.g. albert-schweitzer-stiftung.de_ajdbk2afree43sbrdppn569u5c@group.calendar.google.com

    Another thing I found out is that I can make the error message disappear by changing the Appearance Settings from 3 Months (error) to 3 Events (no error).
    Maybe that helps…

    It seems also that the error occurs only in calendars with no upcoming events to show and with the appearance settings set to months instead of events.

    Another thing I found by playing around, is that if I set Appearance to 7 Events a calendar with 2 upcoming events (Nov 29 and Dec 5) is only showing the first event. Both events are displayed again correctly if I change the Appperance Setting back to 3 Months…

    Even I am not sure about this, but for the last point I mentioned it seems, that events are only shown if they are still in November and not yet in December. But maybe it has nothing to to with the month but with days in the future.

    Same problem here – hope you guys can fix it, since it’s the best plugin.

    I have looked into the mentioned line 318, and it is definitely a problem related to the filtering option, that let you decide how many events in the past and future should be shown.

    I tried changing the amount of events as well as start/end dates, but I can’t get rid of the failure.

    Plugin Contributor Nick Young

    (@nickyoung87)

    Thanks for all the additional information guys. We will have to look into it and get back to you about it.

    I get a similar error when my calendar is set to list view and there are no upcoming events:

    Warning: array_combine() [function.array-combine]: Both parameters should have at least 1 element in /home/mrcoho2/public_html/wp-content/plugins/google-calendar-events/includes/calendars/views/default-calendar-list.php on line 285

    Warning: array_intersect_key() [function.array-intersect-key]: Argument #2 is not an array in /home/mrcoho2/public_html/wp-content/plugins/google-calendar-events/includes/calendars/views/default-calendar-list.php on line 285

    Warning: Invalid argument supplied for foreach() in /home/mrcoho2/public_html/wp-content/plugins/google-calendar-events/includes/calendars/views/default-calendar-list.php on line 286

    Plugin Contributor Nick Young

    (@nickyoung87)

    @imdtracy

    What are your settings for your calendar?

    Plugin Settings:

    • Event Sources Tab: Google API is set up and was working until latest update
    • Calendar Tab: No attached calendar
    • Advanced Tab: No boxes checked

    Calendar Settings:

    • Event Source: Google Calendar, Default, List View
    • Events Tab: Calendar start=today, Earliest event=1 month before start date, Latest event=2 months after start date
    • Appearance Tab: Span= 5 events, Theme=Light, no other boxes checked
    • Google Calendar Tab: Calendar [email protected], no search query, recurring events=show all, max events=2500
    • Advanced Tab: All settings default except refresh interval set to 2 hours
    Plugin Contributor Nick Young

    (@nickyoung87)

    Thank you. Will continue to look into it.

    Plugin Contributor Nick Young

    (@nickyoung87)

    This was resolved in one of the updates. If you are on 3.0.9 then you should not have this issue anymore.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Warning: array_combine() [function.array-combine]: Both parameters should have a’ is closed to new replies.