WordPress.org

Forums

Google Analytics Dashboard for WP
[resolved] Authentication with Access Code (2 posts)

  1. martinlhm
    Member
    Posted 1 year ago #

    Hi there, I am getting an error when trying to authenticate using the access code:

    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/innisfre/public_html/wp-content/plugins/google-analytics-dashboard-for-wp/src/io/Google_CurlIO.php:128 Stack trace: #0 /home/innisfre/public_html/wp-content/plugins/google-analytics-dashboard-for-wp/src/auth/Google_OAuth2.php(101): Google_CurlIO->makeRequest(Object(Google_HttpRequest)) #1 /home/innisfre/public_html/wp-content/plugins/google-analytics-dashboard-for-wp/src/Google_Client.php(131): Google_OAuth2->authenticate(Array, '4/X7glcIVHD7vfK...') #2 /home/innisfre/public_html/wp-content/plugins/google-analytics-dashboard-for-wp/ga_dash.php(337): Google_Client->authenticate('4/X7glcIVHD7vfK...') #3 [internal function]: ga_dash_content('', Array) #4 /home/innisfre/public_html/wp-admin/includes/template.php(927): call_user_func('ga_dash_content', '', Array) #5 /home/innisfre/public_html/wp-admin/includes/dashboard.php(204): do_m in /home/innisfre/public_html/wp-content/plugins/google-analytics-dashboard-for-wp/src/io/Google_CurlIO.php on line 128

    Any suggestions?

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

  2. Alin Marcu
    Member
    Plugin Author

    Posted 1 year ago #

    Your web host is not properly configured, if you have root access use this command:

    curl http://curl.haxx.se/ca/cacert.pem > /etc/pki/tls//certs/ca-bundle.crt

    if you don't, ask your hosting provider to create the ca-bundle.crt file using the above command.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.