[resolved] SEO Facebook Comment Fatal Error (3 posts)

  1. theivarnet
    Posted 3 years ago #

    I have been using SEO Facebook Comment for some time, but suddenly it gave me this error:

    Fatal error: Uncaught CurlException: 6: name lookup timed out thrown in /wp-content/plugins/seo-facebook-comments/facebook/base_facebook.php on line 825

    Does anyone know what the problem is?


  2. bcworkz
    Posted 3 years ago #

    It's because your server takes longer than expected to retrieve an internet resource, perhaps from the facebook server? If you look in the referenced file, somewhere above line 825, the code should define some curl settings. You will want to set CURLOPT_CONNECTTIMEOUT to something a fair bit longer than what's there.

    If it's not defined, you may have to add a line defining it. Check out php.net for full info on curl options.

  3. theivarnet
    Posted 3 years ago #

    Thank you so much!

Topic Closed

This topic has been closed to new replies.

About this Topic