• Resolved makibird

    (@makibird)


    Hi guys

    Since upgrading wordpress to 3.5.1 I’m getting these errors on my new post page:

    Warning: curl_setopt(): Invalid curl configuration option in wp-content/plugins/facebook-awd/inc/classes/facebook/base_facebook.php on line 965 Warning: curl_setopt_array(): Array keys must be CURLOPT constants or equivalent integer values in wp-content/plugins/facebook-awd/inc/classes/facebook/base_facebook.php on line 941

    It’s only showing them for the Facebook AWD plugin, no others. Any idea how I can fix it?

    Thanks!

    Vicky

    http://wordpress.org/extend/plugins/facebook-awd/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author AHWEBDEV

    (@ahwebdev)

    Hi, can you turn the mode debug on and verify the curl_options is present in your the options list at the bottom.

    the default options are stored in the AWD_facebook_options class

    At the bottom of the check config method.

    $this->options['curl_options'] = array(
    			CURLOPT_CONNECTTIMEOUT => 10,
    			CURLOPT_RETURNTRANSFER => true,
    			CURLOPT_TIMEOUT        => $this->options['timeout'],
    			CURLOPT_USERAGENT      => 'facebook-php-3.2',
    			CURLOPT_SSL_VERIFYPEER => 0
    		);

    As you can see Array keys are already CURLOPT constants.
    What is your version of php ? something < 5.3 ?

    Plugin Author AHWEBDEV

    (@ahwebdev)

    closed as no feedback

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘curl_setopt() error since upgrading WordPress’ is closed to new replies.