Title: Fatal Error after authentication
Last modified: August 21, 2016

---

# Fatal Error after authentication

 *  Resolved [freedomstudios](https://wordpress.org/support/users/freedomstudios/)
 * (@freedomstudios)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/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/](http://wordpress.org/extend/plugins/google-analytics-dashboard-for-wp/)

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

 *  [smartypants13](https://wordpress.org/support/users/smartypants13/)
 * (@smartypants13)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-after-authentication/#post-3941373)
 * Im having the same issue
 *  Thread Starter [freedomstudios](https://wordpress.org/support/users/freedomstudios/)
 * (@freedomstudios)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-after-authentication/#post-3941374)
 * 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 😉
 *  [Alin Marcu](https://wordpress.org/support/users/deconf/)
 * (@deconf)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-after-authentication/#post-3941375)
 * [@freedomstudios](https://wordpress.org/support/users/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.
 *  [klode](https://wordpress.org/support/users/klode/)
 * (@klode)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-after-authentication/#post-3941440)
 * 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 ‘Fatal Error after authentication’ is closed to new replies.

 * ![](https://ps.w.org/google-analytics-dashboard-for-wp/assets/icon.svg?rev=2243225)
 * [ExactMetrics - Google Analytics Dashboard for WordPress (Website Stats Plugin)](https://wordpress.org/plugins/google-analytics-dashboard-for-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-analytics-dashboard-for-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-analytics-dashboard-for-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/google-analytics-dashboard-for-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-analytics-dashboard-for-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-analytics-dashboard-for-wp/reviews/)

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)
 * [uncaught exception](https://wordpress.org/support/topic-tag/uncaught-exception/)

 * 4 replies
 * 4 participants
 * Last reply from: [klode](https://wordpress.org/support/users/klode/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-after-authentication/#post-3941440)
 * Status: resolved