Support » Plugin: Google Calendar List View » Invalid argument supplied for foreach()

  • Resolved j_folkes

    (@j_folkes)


    LOVE the plugin. It’s exactly what I need for a client site.

    Getting an error message
    Warning: Invalid argument supplied for foreach() in /home/aimsnetwork/public_html/wp-content/plugins/list-view-google-calendar/list-view-google-calendar.php on line 133

    Suggestions? I’ve changed to the 2019 theme and disabled all other plugins to rule out any conflicts.

    I currently have both date fields blank, but did try filling in dates as well.

    Running wordpress 5.2.1.

    Thanks,

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author kimipooh

    (@kimipooh)

    Thank you for your report.

    I released version 5.1 which was fixed some bugs, including your report.
    Please update new version!

    The error message was displayed when there are not any shortcode options in this plugin.
    The error message is the warning message, so even if the error message displayed, the plugin could run. Now, I improved the check function, so it won’t be displayed after you update to version 5.1.

    Thank you so much for the update. Unfortunately I noticed a few days ago that the plugin just stopped working. Absolutely nothing at all is displaying. I turned off all other plugins, changed the theme, deleted and reinstalled and did all the same again this morning with the new plugin. Nothing displays. I confirmed the calendar ID (even though it didn’t change) and generated a new API. Nothing.

    We have updated WordPress and are running 5.2.2

    https://aimsnetwork.org/test-2/

    Hi, just wanted to let you know we got this to work. There were some server updates and the PHP version had changed in the process. By updating that, we were able to get the plugin to work and no more error messages showing.

    It’s exactly what we needed. Thanks so much!

    Plugin Author kimipooh

    (@kimipooh)

    Thank you for your report.
    According to your report, the plugin cannot work in case of older PHP version.

    If you are possible, please let me know about the PHP version before you update it.

    The version was actually set at “native” before updating to 5.6 and 5.6 did the trick.

    Hope that helped,

    Plugin Author kimipooh

    (@kimipooh)

    Thank you for your report.
    I understood that the updated plugin didn’t work PHP 5.4 or prev version.
    Is it right?

    j_folkes

    (@j_folkes)

    I don’t know. The setting was “native” and it wasn’t working. I don’t know what version native refers to.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Invalid argument supplied for foreach()’ is closed to new replies.