Support » Plugin: Simple Google Calendar Widget » [Plugin: Simple Google Calendar Widget] Fatal error

Viewing 2 replies - 1 through 2 (of 2 total)
  • I ran into this too. wp_remote_get() returns a WP_Error if the HTTP request fails. (In my case, the server firewall was blocking the request, and it timed out.)

    I fixed it by changing line 74 of simple_gcal.php from this

    if(!$httpData)

    to this

    if(!$httpData || !is_array($httpData))

    (Make sure wp_remote_get() returns actual data, in an array)

    Plugin Author nboehr

    (@nboehr)

    Thank you guys for reporting. I fixed this problem in version 0.3.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Simple Google Calendar Widget] Fatal error’ is closed to new replies.