WordPress.org

Support

Support » Plugins and Hacks » Google Analytics Dashboard for WP » [Resolved] Fatal Error after authentication

[Resolved] Fatal Error after authentication

  • Hi Guys,

    I am getting this error after I authenticate the plugin. Do you have any idea why?

    Thanks in advance.

    Graham 🙂

    Fatal error: Uncaught exception ‘Google_IOException’ with message ‘HTTP Error: (0) error setting certificate verify locations: CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none ‘ in /home/xxxx/public_html/wp-content/plugins/google-analytics-dashboard-for-wp/src/io/Google_CurlIO.php:128 Stack trace: #0 /home/xxxxx/public_html/wp-content/plugins/google-analytics-dashboard-for-wp/src/auth/Google_OAuth2.php(101): Google_CurlIO->makeRequest(Object(Google_HttpRequest)) #1 /home/xxxx/public_html/wp-content/plugins/google-analytics-dashboard-for-wp/src/Google_Client.php(131): Google_OAuth2->authenticate(Array, ‘4/eiflY1kJkftxU…’) #2 /home/xxxx/public_html/wp-content/plugins/google-analytics-dashboard-for-wp/ga_dash.php(322): Google_Client->authenticate(‘4/eiflY1kJkftxU…’) #3 [internal function]: ga_dash_content(”, Array) #4 /home/xxxx/public_html/wp-admin/includes/template.php(927): call_user_func(‘ga_dash_content’, ”, Array) #5 /home/xxxx/public_html/wp-admin/includes/dashboard.php(204): do_m in /home/fstudios/public_html/wp-content/plugins/google-analytics-dashboard-for-wp/src/io/Google_CurlIO.php on line 128

    http://wordpress.org/extend/plugins/google-analytics-dashboard-for-wp/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Im having the same issue

    Well I haven’t received any help from the support forum in ages but I was able to get my host to tweak the server somehow to allow for Google to get the appropriate requests through and now it is working again on all of my websites.

    Not sure if that is any help to anyone else, but perhaps try your host and see if they can assist. It will be a lot quicker than waiting for answers here 😉

    Plugin Author Alin Marcu

    @deconf

    Member

    @freedomstudios, my friend, the last thing i would do, is to give free lessons to low quality hosting providers on how to properly configure a Web Server.

    They don’t have to configure the servers to work with this plugin, the servers were misconfigured in the first place.

    As you can see, I usually answer within hours, when is an issue related to the plugin or its configuration, but I can’t offer support on something which is not respecting minimum standards and on which i don’t have access for further testing.

    Hi,
    I’ve found a possible solution on the file Google_CurlIO.php.

    The problem is that $respHeaderSize is not correct in some case. So the line 122 of this file can be replace from:

    $respHeaderSize = curl_getinfo($ch, CURLINFO_HEADER_SIZE);

    to:

    $respHeaderSize = strpos($respData, "{");

    I wish this solution can be good! 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Fatal Error after authentication’ is closed to new replies.
Skip to toolbar