Support » Plugin: Social Media Stats » [Plugin: WP Social Stats] Call to undefined function

  • Resolved atreliu

    (@atreliu)


    After the install of Wpsocialstats 1.0 on my wordpress
    I found this error:

    Call to undefined function curl_init() in wpsocialstats\classes\social_stats_dashboard.php on line 306

    On that page at that line there’s a call to a function and a declaration of a variable:

    function google_plus_counter( $url ){		
    
    		$ch = curl_init(); # LINE 306!!!

    Thanks for support

    http://wordpress.org/extend/plugins/wpsocialstats/

Viewing 1 replies (of 1 total)
  • Hello. You need to enable cURL extention in PHP. For Apache:
    Open php.ini file and find this line:

    ;extension=php_curl.dll (just delete “;”)

    in apache\bin\php.ini (or contact support if you use hosting service), and then restart the Apache service.

    We want to refuse from any aditional php extensions in the next update of the plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP Social Stats] Call to undefined function’ is closed to new replies.