• Suddenly experiencing this Fatal Error at my site https://mymoneycounselor.com. Suggestions?

    Fatal error: Uncaught exception ‘Google_AuthException’ with message ‘Error refreshing the OAuth2 token, message: ‘{ “error” : “invalid_grant” }” in /home/content/77/3856777/html/wp-content/plugins/google-analyticator/google-api-php-client/src/auth/Google_OAuth2.php:288 Stack trace: #0 /home/content/77/3856777/html/wp-content/plugins/google-analyticator/google-api-php-client/src/auth/Google_OAuth2.php(248): Google_OAuth2->refreshTokenRequest(Array) #1 /home/content/77/3856777/html/wp-content/plugins/google-analyticator/google-api-php-client/src/auth/Google_OAuth2.php(225): Google_OAuth2->refreshToken(‘1/kmYPkLBW6yvA0…’) #2 /home/content/77/3856777/html/wp-content/plugins/google-analyticator/google-api-php-client/src/service/Google_ServiceResource.php(167): Google_OAuth2->sign(Object(Google_HttpRequest)) #3 /home/content/77/3856777/html/wp-content/plugins/google-analyticator/google-api-php-client/src/contrib/Google_AnalyticsService.php(1010): Google_ServiceResource->__call(‘list’, Array) #4 /home/content/77/3856777/htm in /home/content/77/3856777/html/wp-content/plugins/google-analyticator/google-api-php-client/src/auth/Google_OAuth2.php on line 288

Viewing 10 replies - 1 through 10 (of 10 total)
  • Same here.
    Here`s what I did, and resolved the issue.

    As my site is a little bit old, perhaps the analytics property was expired or not existant.

    So I went to the plugins tab, and clicked on the reset option (next to the deactivate option).

    Then I created a new property within google analytics.

    Once logged into analytics, I went back to the plugin settings where I could re integrate, and enable the plugin by clicking on “pop ups blocked” option, and inserting my google code.

    That’s it.

    Adrian

    (@adrian2k7)

    Same here,

    this is a serious issue, as customers can’t add/edit posts from one moment to the other.

    dccharron

    (@dccharron)

    Me too. I just want to clarify that this error pops up when I click on Appearance => Customize which makes it completely impossible for me to edit my Theme (“Customizr”). I also noticed that when I have Google Analyticator activated, it clashes with the plugin Custom Sidebars so that Appearance => Widgets only displays the available widget tools but does not display the list of sidebars on the right side – so this completely prevents editing or creating widgets. If I deactivate Google Analyticator, these problems disappear.

    @adrian2k7 I agree. Sad to see that the authors don’t seem to be taking this seriously since there has been no response from them for 4 weeks. What a shame since this has long been my favourite plugin to implement Analytics.

    I’m reluctant to use the solution suggested by @betomexicano since I’m concerned that I have to create a new property code which seems to imply that I would lose the continuity of my stats. Also I don’t understand what he mean by “re-integrate”. For now I will deactivate whenever I need to edit my theme and widgets. Hopefully some future version of this plugin will fix the problem. Fingers crossed.

    Adrian

    (@adrian2k7)

    @dccharron The “solution” from @betomexicano is quite simple, but still not solution, just a workaround and not very convenient for the typical non-techy customer:

    1. Go to the list of installed plugins
    2. At Google Analyticater -> “Reset”
    3. Configure the plugin again and connect to your Google Analytics account (no data will be lost)
    dccharron

    (@dccharron)

    Thanks @adrian2k7

    Just tried the “Reset” workaround and it has repaired the problem.

    I did not have to create a new property.

    I was already signed on to Google.

    After I clicked on the plugin’s Reset link I used the “here” link at the top of the settings page which opened a page on a new tab. On that page I was prompted to give permission for access to my personal Analytics account which I did. I then copied and pasted my personal GA code to the settings page. I also had to change:

    Google Analytics logging is: Enabled
    Analytics Account: selected the correct property

    I then clicked on Save Settings.

    Once I did this the Fatal Error problem vanished and Widgets were displayed correctly.

    Thanks again.

    Hi, I have the same problem but i have reset it several times and still get the same message

    When you “De-activate” this plugin (Google Analyticator), does the error go away?

    It continues to show the same error

    I understand that you’ve tried the “reset” solution (several times) and it has not worked and continues to show the same error. I don’t have any other solution to offer.

    Adrian (@adrian2k7) – Your solution worked. Thank you.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Fatal Error’ is closed to new replies.