Not always loading stats + errors
-
Used to plugin for years without any issues and domain has been authorized successfully. Use the same plugin on two other websites using the same Google API login without any issues. Recently, however, it started behaving strangely. Stats are not always displayed, but are stuck on load. Also, I get a bunch of errors:
2020-12-26 21:49:16: Deconfin_Service_Exception: Error calling GET https:// www. googleapis.com/analytics/v3/data/ga?ids=ga%3A165928924&start-date=today&end-date=today&metrics=ga%3Asessions%2Cga%3Ausers%2Cga%3Apageviews%2Cga%3ABounceRate%2Cga%3AorganicSearches%2Cga%3ApageviewsPerSession%2Cga%3AavgTimeOnPage%2Cga%3AavgPageLoadTime%2Cga%3AavgSessionDuration"aUser=u1s1p165928924&samplingLevel=HIGHER_PRECISION: (401) Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https:// developers. google.com/identity/sign-in/web/devconsole-project. in /home/public_html/wp-content/plugins/ga-in/tools/src/Deconfin/Http/REST.php:110
Stack trace:
#0 /home/public_html/wp-content/plugins/ga-in/tools/src/Deconfin/Http/REST.php(62): Deconfin_Http_REST::decodeHttpResponse(Object(Deconfin_Http_Request), Object(Deconfin_Client))
#1 /home/public_html/wp-content/plugins/ga-in/tools/src/Deconfin/Task/Runner.php(174): Deconfin_Http_REST::doExecute(Object(Deconfin_Client), Object(Deconfin_Http_Request))
#2 /home/public_html/wp-content/plugins/ga-in/tools/src/Deconfin/Http/REST.php(46): Deconfin_Task_Runner->run()
#3 /home/public_html/wp-content/plugins/ga-in/tools/src/Deconfin/Client.php(611): Deconfin_Http_REST::execute(Object(Deconfin_Client), Object(Deconfin_Http_Request))
#4 /home/public_html/wp-content/plugins/ga-in/tools/src/Deconfin/Service/Resource.php(240): Deconfin_Client->execute(Object(Deconfin_Http_Request))
#5 /home/public_html/wp-content/plugins/ga-in/tools/src/Deconfin/Service/Analytics.php(2052): Deconfin_Service_Resource->call(‘get’, Array, ‘Deconfin_Servic…’)
#6 /home/public_html/wp-content/plugins/ga-in/tools/gapi.php(361): Deconfin_Service_Analytics_DataGa_Resource->get(‘ga:165928924’, ‘today’, ‘today’, ‘ga:sessions,ga:…’, Array)
#7 /home/public_html/wp-content/plugins/ga-in/tools/gapi.php(515): GAINWP_GAPI_Controller->handle_corereports(‘165928924’, ‘today’, ‘today’, ‘ga:sessions,ga:…’, Array, ‘qr3_702481147’)
#8 /home/public_html/wp-content/plugins/ga-in/tools/gapi.php(953): GAINWP_GAPI_Controller->get_bottomstats(‘165928924’, ‘today’, ‘today’, false)
#9 /home/public_html/wp-content/plugins/ga-in/admin/ajax-actions.php(116): GAINWP_GAPI_Controller->get(‘165928924’, ‘bottomstats’, ‘today’, ‘today’, false, ‘sessions’)
#10 /home/public_html/wp-includes/class-wp-hook.php(287): GAINWP_Backend_Ajax->ajax_item_reports(”)
#11 /home/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
#12 /home/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#13 /home/public_html/wp-admin/admin-ajax.php(184): do_action(‘wp_ajax_gainwp_…’)
#14 {main}
- The topic ‘Not always loading stats + errors’ is closed to new replies.