WP Social Stats
Call to undefined function (2 posts)

  1. atreliu
    Posted 3 years 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


  2. ancientIndian
    Posted 3 years 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

  • WP Social Stats
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic