Hi — I’ve been using Google Analyticator in a Multisite environment — site admins enable the plugin on their sites as needed. Not long after the WordPress 3.91 update, we started seeing errors related to OAuth2. I thought I’d try the new beta version on tyhe off chance it might fix this bug. Same issue unfortunately. I believe Analytics are still tracking BUT, this errors prevents the Appearance | Sidebar tool from functioning. Also, it truncates the Google Analyticator settings pages, so I can’t configure the plugin.
My next step is to manually remove current Analyticator settings from the db and try again. Has anyone had the same issue? If I find a solution, I’ll post it here.
Rod
[26-May-2014 16:58:23] PHP Fatal error: Uncaught exception ‘Google_AuthException’ with message ‘Error refreshing the OAuth2 token, message: ‘{
“error” : “invalid_grant”
}” in /…/www/wordpress-mu/wp-content/plugins/google-analyticator/google-api-php-client/src/auth/Google_OAuth2.php:288
Stack trace:
#0 /…/www/wordpress-mu/wp-content/plugins/google-analyticator/google-api-php-client/src/auth/Google_OAuth2.php(248): Google_OAuth2->refreshTokenRequest(Array)
#1 /…/www/wordpress-mu/wp-content/plugins/google-analyticator/google-api-php-client/src/auth/Google_OAuth2.php(225): Google_OAuth2->refreshToken(‘1/-SrstfiafL-BT…’)
#2 /…/www/wordpress-mu/wp-content/plugins/google-analyticator/google-api-php-client/src/service/Google_ServiceResource.php(167): Google_OAuth2->sign(Object(Google_HttpRequest))
#3 /…/www/wordpress-mu/wp-content/plugins/google-analyticator/google-api-php-client/src/contrib/Google_AnalyticsService.php(1010): Google_ServiceResource->__call(‘list’, Array)
#4 /www-new/blog/www/wordp in /…/www/wordpress-mu/wp-content/plugins/google-analyticator/google-api-php-client/src/auth/Google_OAuth2.php on line 288