• Resolved hmarcbower

    (@hmarcbower)


    The plugin installs fine, I get my API code fine, but when I apply the code I then get these errors in the Dashboard block:

    Warning: http_build_query() expects at most 2 parameters, 3 given in d:\Websites\www.xxxxxx.xxx\wp-content\plugins\google-analytics-dashboard-for-wp\src\io\Google_CurlIO.php on line 253
    
    Fatal error: Call to undefined function curl_setopt_array() in d:\Websites\www.xxxxxx.xxx\wp-content\plugins\google-analytics-dashboard-for-wp\src\io\Google_CurlIO.php on line 95

    http://ww.wp.xz.cn/extend/plugins/google-analytics-dashboard-for-wp/

Viewing 4 replies - 1 through 4 (of 4 total)
  • You need to install cURL or to enable it from php.ini

    Thread Starter hmarcbower

    (@hmarcbower)

    CURL support is enabled in my php.ini file and displays the following with phpinfo():

    CURL Information libcurl/7.11.2 OpenSSL/0.9.7c zlib/1.1.4

    Which PHP version do you have, the error may also occur on PHP versions <= 5.1.2

    Thread Starter hmarcbower

    (@hmarcbower)

    5.04 – so that’s probably it.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Error after applying code – http_build_query()’ is closed to new replies.