• Resolved Anonymous User 18300002

    (@anonymized-18300002)


    Hi there,
    your plugin is wonderful, it does exactly what i need. However, this error message appears sometimes, but the calendar is shown properly.

    Warning: curl_setopt() expects parameter 1 to be resource, null given in /[...]/wordpress/wp-content/plugins/ics-calendar/functions.php on line 397
    
    Warning: curl_setopt() expects parameter 1 to be resource, null given in /[...]/wordpress/wp-content/plugins/ics-calendar/functions.php on line 399

    I deleted some path. After a reload of the site the error disappeared. The feed is from Office 365.

    Thanks for your help,

    Patrick

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • I have the identical problem, verbatim, here. I noticed it yesterday, maybe with the 9/23 update?

    My website is https://stevegibonsmusic.com

    The calendar, which is wonderful, still works, just has this error message prepended to it:

    
    Warning: curl_setopt() expects parameter 1 to be resource, null given in /home/sgibonsc/stevegibonsmusic.com/wp-content/plugins/ics-calendar/functions.php on line 397
    
    Warning: curl_setopt() expects parameter 1 to be resource, null given in /home/sgibonsc/stevegibonsmusic.com/wp-content/plugins/ics-calendar/functions.php on line 399
    • This reply was modified 4 years, 6 months ago by steve606.
    • This reply was modified 4 years, 6 months ago by steve606.
    Plugin Author room34

    (@room34)

    Thanks for bringing this to my attention. This week’s update did involve some changes to curl_setopt() calls, so I’ll go in and add some error handling. Watch for an update later today.

    You are the best. Thanks for the rapid fix! Error message is gone.

    • This reply was modified 4 years, 5 months ago by steve606.
    Plugin Author room34

    (@room34)

    I appreciate having this brought to my attention as it was a really stupid little bug I had introduced!

    ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘curl_setopt() warning’ is closed to new replies.