• Resolved greencircleprojects

    (@greencircleprojects)


    Hello
    When I attempt to create a calendar (following all the steps I used before, using the Google Calendar Events) I get this error after trying to view the calendar:

    Warning: array_combine(): Both parameters should have at least 1 element in /var/www/vhosts/trailspring.org/httpdocs/wp-content/plugins/google-calendar-events/includes/calendars/views/default-calendar-grid.php on line 318 Warning: array_intersect_key(): Argument #2 is not an array in /var/www/vhosts/trailspring.org/httpdocs/wp-content/plugins/google-calendar-events/includes/calendars/views/default-calendar-grid.php on line 318 Warning: Invalid argument supplied for foreach() in /var/www/vhosts/trailspring.org/httpdocs/wp-content/plugins/google-calendar-events/includes/calendars/views/default-calendar-grid.php on line 322

    I’m not savvy with code in the least, any help clearing this error would be greatly appreciated.

    https://www.ads-software.com/plugins/google-calendar-events/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Exact same problem.

    Thread Starter greencircleprojects

    (@greencircleprojects)

    Any help with this would be super appreciated. I haven’t updated any of our other sites to the new Simple Calendar for fear of this issue springing up there as well.

    I followed all the steps to create the calendar that I would’ve to previously create a Google Calendar Events calendar. I have the API key, the calendar is Public, etc.

    Using the basic settings as well, nothing custom. Grid view.

    Even tried to switch to List view to see if that were achievable, but no.

    Definitely not ruling out user error, but I’m not sure how to prove out causes as it looks to be a code issue.

    Plugin Contributor Nick Young

    (@nickyoung87)

    What version of the plugin are you running?

    Exact same problem, blugin version 3.0.8.

    All works fine with first calendar, but but when I add other, I get this error in Grid view, list view works normally. First one works still normally, problem is only second calendar.

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

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

    Warning: Invalid argument supplied for foreach() in /home/customers/s2cvk/public_html/wordpress/wp-content/plugins/google-calendar-events/includes/calendars/views/default-calendar-grid.php on line 322

    Thread Starter greencircleprojects

    (@greencircleprojects)

    I’m using the latest.

    I’ve deleted it and re-downloaded, re-uploaded, everything.

    Plugin Contributor Nick Young

    (@nickyoung87)

    Ok this is an issue I will look at fixing. Thanks for bringing it to our attention.

    Plugin Contributor Nick Young

    (@nickyoung87)

    Is this fixed for you in 3.0.9?

    Thread Starter greencircleprojects

    (@greencircleprojects)

    Yes! Looks like whatever you did worked. Thanks a ton.

    Plugin Contributor Nick Young

    (@nickyoung87)

    Awesome! Happy to help.

    If you have a second could you quickly rate our plugin if you haven’t already? It keeps us highly motivated to continue improving the plugin and helps spread the word so more folks find it.

    Click here to rate us

    Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Array Error’ is closed to new replies.