• Resolved aspero

    (@aspero)


    If there are no events in the current month, I get PHP warning that array_combine() requires variable that is not empty. It’s just a warning, but a quick fix is to put in line 318 of /google-calendar-events/includes/calendars/views/default-calendar-grid.php
    if (!empty($higher_bound)) {
    and of course in line 331
    }

    https://ww.wp.xz.cn/plugins/google-calendar-events/

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

    (@nickyoung87)

    Hi what version of the plugin are you running? This should be fixed in the latest version, but if it is not please let me know.

    Thanks!

    Plugin Contributor Nick Young

    (@nickyoung87)

    Assuming this has been resolved since there has not been a reply here. Let us know if you have any other questions.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Small php warning fix for empty month in grid view’ is closed to new replies.