WordPress.org

Ready to get started?Download WordPress

Forums

Kickstarter Tracker Widget
Curl_errno warning (2 posts)

  1. graphicgeek
    Member
    Posted 8 months ago #

    The plugin was working great, then today suddenly I see this:

    Warning: curl_errno(): 207 is not a valid cURL handle resource in /home4/ggeek/public_html/notetogibbs.com/wp-content/plugins/kickstarter-tracker-widget/kickstarter-tracker-widget.php on line 48

    Warning: curl_error(): 207 is not a valid cURL handle resource in /home4/ggeek/public_html/notetogibbs.com/wp-content/plugins/kickstarter-tracker-widget/kickstarter-tracker-widget.php on line 49

    http://wordpress.org/plugins/kickstarter-tracker-widget/

  2. solpyro
    Member
    Posted 4 months ago #

    I found the same issue today.

    Don't know why it suddenly happened, but I know what causes the warnings.
    In kickstarter-tracker-widget.php the calls to curl_errno and curl_error are called after curl_close(), which means they try to connect to an invalid curl stream.

    My solution was to move curl_close($ch); from line 45 to line 52, just after the if (!$html) { } block.

    Hopefully this will get fixed in an update?

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.