Google Analytics Dashboard for WP
[resolved] Fatal Error after authentication (5 posts)

  1. freedomstudios
    Posted 2 years ago #

    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


  2. smartypants13
    Posted 2 years ago #

    Im having the same issue

  3. freedomstudios
    Posted 2 years ago #

    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 ;)

  4. Alin Marcu
    Plugin Author

    Posted 2 years ago #

    @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.

  5. klode
    Posted 2 years ago #

    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);


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

    I wish this solution can be good! :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Analytics Dashboard for WP
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic