WordPress.org

Forums

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

  1. archleo
    Member
    Posted 1 year ago #

    Hi,

    As of today, my Google Analytics Dashboard gives the following error and routes to the debugging data for possible errors. I've cleared the cache and my settings shows the "Universal Analytics". Your help is highly appreciated.

    Error Msg:
    "Something went wrong. Please check the Debugging Data section for possible errors"

    Debugging Data Error Log:
    Last Error: exception 'Google_IOException' with message 'HTTP Error: (0) Could not resolve host: accounts.google.com' in /volume1/web/Gamze.com/wp-content/plugins/google-analytics-dashboard-for-wp/tools/src/io/Google_CurlIO.php:123
    Stack trace:
    #0 /volume1/web/Gamze.com/wp-content/plugins/google-analytics-dashboard-for-wp/tools/src/auth/Google_OAuth2.php(270): Google_CurlIO->makeRequest(Object(Google_HttpRequest))
    #1 /volume1/web/Gamze.com/wp-content/plugins/google-analytics-dashboard-for-wp/tools/src/auth/Google_OAuth2.php(248): Google_OAuth2->refreshTokenRequest(Array)
    #2 /volume1/web/Gamze.com/wp-content/plugins/google-analytics-dashboard-for-wp/tools/src/Google_Client.php(311): Google_OAuth2->refreshToken('1/VB4y7UXOidz_T...')
    #3 /volume1/web/Gamze.com/wp-content/plugins/google-analytics-dashboard-for-wp/tools/gapi.php(141): Google_Client->refreshToken('1/VB4y7UXOidz_T...')
    #4 /volume1/web/Gamze.com/wp-content/plugins/google-analytics-dashboard-for-wp/tools/gapi.php(47): GADASH_GAPI->ga_dash_refresh_token()
    #5 /volume1/web/Gamze.com/wp-content/plugins/google-analytics-dashboard-for-wp/tools/gapi.php(1089): GADASH_GAPI->__construct()
    #6 /volume1/web/Gamze.com/wp-content/plugins/google-analytics-dashboard-for-wp/admin/ga_dash_settings.php(620): include_once('/volume1/web/Ga...')
    #7 [internal function]: GADASH_Settings::general_settings('')
    #8 /volume1/web/Gamze.com/wp-includes/plugin.php(470): call_user_func_array(Array, Array)
    #9 /volume1/web/Gamze.com/wp-admin/admin.php(211): do_action('toplevel_page_g...')
    #10 {main}

    ************************************* End Log *************************************

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

  2. Alin Marcu
    Member
    Plugin Author

    Posted 1 year ago #

    That's a network connection error, ask your hosting provider to fix it.

    The error is: HTTP Error: (0) Could not resolve host: accounts.google.com

  3. archleo
    Member
    Posted 1 year ago #

    Yeap you are right...My website is hosted in my NAS and I don't understand how but IP address of default GW has changed thus NAS cannot connect to internet. Problem solved. Thank you for your support Mr. Marcu.

  4. edsky
    Member
    Posted 5 months ago #

    I seem to have some of the same problem. I am a bit new to this so I hope I am doing the request in a right way. Ihave just installed GA but with the Message in the Dashboard: No stats available. Please check the Debugging Data section for possible errors". Nut the content of the errors are different from Archleo's:

    Last Error: 2014-12-12 09:27:42: exception 'Google_Auth_Exception' with message 'The OAuth 2.0 access token has expired, and a refresh token is not available. Refresh tokens are not returned for responses that were auto-approved.' in /home/content/p3pnexwpnas03_data03/74/2336374/html/wp-content/plugins/google-analytics-dashboard-for-wp/tools/src/Google/Auth/OAuth2.php:228
    Stack trace:
    #0 /home/content/p3pnexwpnas03_data03/74/2336374/html/wp-content/plugins/google-analytics-dashboard-for-wp/tools/src/Google/Service/Resource.php(206): Google_Auth_OAuth2->sign(Object(Google_Http_Request))
    #1 /home/content/p3pnexwpnas03_data03/74/2336374/html/wp-content/plugins/google-analytics-dashboard-for-wp/tools/src/Google/Service/Analytics.php(1910): Google_Service_Resource->call('get', Array, 'Google_Service_...')
    #2 /home/content/p3pnexwpnas03_data03/74/2336374/html/wp-content/plugins/google-analytics-dashboard-for-wp/tools/gapi.php(253): Google_Service_Analytics_DataGa_Resource->get('ga:95036809', '30daysAgo', 'yesterday', 'ga:visits', Array)
    #3 /home/content/p3pnexwpnas03_data03/74/2336374/html/wp-content/plugins/google-analytics-dashboard-for-wp/admin/dashboard_widgets.php(446): GADASH_GAPI->ga_dash_main_charts('95036809', '30daysAgo', '30daysAgo', 'yesterday', 'visits')
    #4 [internal function]: GADASH_Widgets->gadash_dashboard_widgets('', Array)
    #5 /home/content/p3pnexwpnas03_data03/74/2336374/html/wp-admin/includes/template.php(1035): call_user_func(Array, '', Array)
    #6 /home/content/p3pnexwpnas03_data03/74/2336374/html/wp-admin/includes/dashboard.php(182): do_meta_boxes('dashboard', 'normal', '')
    #7 /home/content/p3pnexwpnas03_data03/74/2336374/html/wp-admin/index.php(125): wp_dashboard()
    #8 {main}

  5. Alin Marcu
    Member
    Plugin Author

    Posted 5 months ago #

    From Google Analytics -> General Settings clear the authorization and authorize again.

    Please read the forum rules and try to avoid interrupting other people threads with unrelated questions, it's considered rude!

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

Tags

No tags yet.