WordPress.org

Ready to get started?Download WordPress

Forums

Eli's WordCents adSense Widget with Analytics
[resolved] Wordcents seems to blockJetpack (4 posts)

  1. Peter
    Member
    Posted 1 year ago #

    I had problems with Jetpack and deactivated Jetpack.
    Then I reactive Jetpack and authorize, but was not possible.

    The error message comes from Wordcents:

    Fatal error: Uncaught exception 'apiAuthException' with message 'Error fetching OAuth2 access token, message: 'invalid_grant'' in /home/geoorgge/public_html/wp-content/plugins/wordcents/src/auth/apiOAuth2.php:105 Stack trace: #0 /home/geoorgge/public_html/wp-content/plugins/wordcents/src/apiClient.php(132): apiOAuth2->authenticate(Array) #1 /home/geoorgge/public_html/wp-content/plugins/wordcents/AdSenseAuth.php(42): apiClient->authenticate() #2 /home/geoorgge/public_html/wp-content/plugins/wordcents/index.php(217): AdSenseAuth->authenticate(4) #3 /home/geoorgge/public_html/wp-includes/plugin.php(403): WordCents_admin_init('') #4 /home/geoorgge/public_html/wp-admin/admin.php(111): do_action('WordCents_admin...', Array) #5 {main} thrown in /home/geoorgge/public_html/wp-content/plugins/wordcents/src/auth/apiOAuth2.php on line 105

    http://wordpress.org/extend/plugins/wordcents/

  2. Peter
    Member
    Posted 1 year ago #

    I needed to deactivate Wordcents, then I could authorize at Jetpack again.
    After that I reactivated Wordcents and it worked. So there is a work-around.

    The message above comes when I want to authorize to Jetpack

  3. Eli
    Member
    Plugin Author

    Posted 1 year ago #

    Peter,
    Thanks for reporting this bug. I am the author of WordCents.

    It looks like Jetpack is using the same OAuth2 method as I am in my plugin and the two plugins are both trying to handle the new token (mine in error). I will release a new version today that fixes this bug.

    Thanks again for reporting it and providing enough information for me to find and fix the error.

    Aloha, Eli

  4. Eli
    Member
    Plugin Author

    Posted 1 year ago #

    I released an update to fix this issue. Please download the new version and give it a try.

    Thanks again for letting me know about this problem.

    Aloha, Eli

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic