WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] Jetpack Google+ sharing button issue (6 posts)

  1. Virendra
    Member
    Posted 1 year ago #

    I recently discovered a bug/ an issue when you have Jetpack installed and the Sharing buttons enabled and have the Google+ button on your post. If you have all these enabled, and then go to a post and add "?share=google-plus-1" to the URL, you get a blank white page.

    Here is example page on my site:
    http://techtalk.virendrachandak.com/how-to-make-wordpress-menu-item-open-in-new-window-tab/?share=google-plus-1

    However, if I try a URL with any other sharing service name, it redirect to the correct sharing service.
    http://techtalk.virendrachandak.com/how-to-make-wordpress-menu-item-open-in-new-window-tab/?share=facebook
    http://techtalk.virendrachandak.com/how-to-make-wordpress-menu-item-open-in-new-window-tab/?share=twitter

    This issue is occurring on all posts when we add the "?share=google-plus-1" to the URL.

    When I tried to debug this, i disabled all plugin and enable each plugin 1 by 1. I found that when I have Jetpack + Sharing enabled and have Google+ button in sharing the issue occurs. If I even remove the Google+ button from sharing I no longer have the issue.

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

  2. Tim Moore
    Moderator
    Plugin Author

    Posted 1 year ago #

    Can you check your error logs and see if there is an error related to this when you visit that URL?

  3. Virendra
    Member
    Posted 1 year ago #

    Unfortunately, there are no errors in the error log. Earlier I had a plugin "WP-HTML-Compression" enabled which was giving 500 errors as below. But when I disabled the plugin I don't get any errors, I only get a blank white page.

    [02-Aug-2012 01:49:13] PHP Catchable fatal error:  Method WP_HTML_Compression::__toString() must return a string value in /wp-includes/functions.php on line 2494
    [02-Aug-2012 01:49:13] PHP Catchable fatal error:  Method WP_HTML_Compression::__toString() must return a string value in Unknown on line 0

    I also tried, enabling the default "Twenty Eleven" theme, and the problem was still there.

    Also, I tried installing a fresh WordPress and just adding jetpack to it and goolge+1 and facebook sharing buttons and tried to add the similar parameters to the URL and I still get a white page, without any error logs.

  4. Virendra
    Member
    Posted 1 year ago #

    I also tested it on few other blogs that use the social sharing buttons and see that even they have the same error.
    Example URL from Tim Moore's blog:
    http://dreaminginbetween.com/2012/07/25/germany/?share=google-plus-1

  5. Virendra
    Member
    Posted 1 year ago #

    I did a little debugging into the code and I think I may have found the problem. Let me know if I should post the problem here or I should email it to someone.

  6. Tim Moore
    Moderator
    Plugin Author

    Posted 1 year ago #

    The best idea is to submit the debugging at the following link and also send a link to this thread:

    http://en.support.wordpress.com/contact/?jetpack=needs-service

    Thanks :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic