• Resolved richmiller86

    (@richmiller86)


    Hi,

    A few days ago, the real time info on my plugin just stopped working. I haven’t changed any settings for this to happen.

    When I debug I now get this error

    Last Error: 2016-11-06 11:45:33: exception ‘Google_Auth_Exception’ with message ‘Error refreshing the OAuth2 token, message: ‘{
    “error” : “invalid_grant”
    }” in /home/richardm/public_html/wp-content/plugins/google-analytics-dashboard-for-wp/tools/src/Google/Auth/OAuth2.php:331
    Stack trace:
    #0 /home/richardm/public_html/wp-content/plugins/google-analytics-dashboard-for-wp/tools/src/Google/Auth/OAuth2.php(264): Google_Auth_OAuth2->refreshTokenRequest(Array)
    #1 /home/richardm/public_html/wp-content/plugins/google-analytics-dashboard-for-wp/tools/src/Google/Auth/OAuth2.php(240): Google_Auth_OAuth2->refreshToken(‘1/ltY3R-3Bple7G…’)
    #2 /home/richardm/public_html/wp-content/plugins/google-analytics-dashboard-for-wp/tools/src/Google/Service/Resource.php(215): Google_Auth_OAuth2->sign(Object(Google_Http_Request))
    #3 /home/richardm/public_html/wp-content/plugins/google-analytics-dashboard-for-wp/tools/src/Google/Service/Analytics.php(2017): Google_Service_Resource->call(‘get’, Array, ‘Google_Service_…’)
    #4 /home/richardm/public_html/wp-content/plugins/google-analytics-dashboard-for-wp/tools/gapi.php(746): Google_Service_Analytics_DataRealtime_Resource->get(‘ga:82276861’, ‘rt:activeUsers’, Array)
    #5 /home/richardm/public_html/wp-content/plugins/google-analytics-dashboard-for-wp/tools/gapi.php(820): GADWP_GAPI_Controller->get_realtime(‘82276861’)
    #6 /home/richardm/public_html/wp-content/plugins/google-analytics-dashboard-for-wp/admin/ajax-actions.php(108): GADWP_GAPI_Controller->get(‘82276861’, ‘realtime’, ‘false’, ‘false’, false)
    #7 [internal function]: GADWP_Backend_Ajax->ajax_item_reports(”)
    #8 /home/richardm/public_html/wp-includes/plugin.php(524): call_user_func_array(Array, Array)
    #9 /home/richardm/public_html/wp-admin/admin-ajax.php(91): do_action(‘wp_ajax_gadwp_b…’)
    #10 {main}

    Does anyone have any idea as to what this might be?

    Thanks

    NOW RESOLVED – A FRESH INSTALL DID THE TRICK

    • This topic was modified 8 years, 4 months ago by richmiller86.
  • The topic ‘Real Time Info just stopped working’ is closed to new replies.