WordPress.org

Ready to get started?Download WordPress

Forums

WP Social Stats
Call to undefined function (2 posts)

  1. atreliu
    Member
    Posted 1 year ago #

    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/

  2. ancientIndian
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic