Support » Plugin: WPGPlus » [Plugin: WPGPlus] Failing for German users

  • ResolvedPlugin Author John Eckman


    Received comments on Google+ that this is failing for German users.

    Warnings being thrown:

    Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: htmlParseEntityRef: expecting ';' in Entity, line: 60 in ..../wordpress/wp-content/plugins/wpgplus/gplus.php on line 72
    Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: htmlParseEntityRef: expecting ';' in Entity, line: 60 in ....wordpress/wp-content/plugins/wpgplus/gplus.php on line 72
    Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: htmlParseEntityRef: expecting ';' in Entity, line: 60 in ..../blog/wordpress/wp-content/plugins/wpgplus/gplus.php on line 72
    Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Input is not proper UTF-8, indicate encoding ! in Entity, line: 64 in ..../blog/wordpress/wp-content/plugins/wpgplus/gplus.php on line 72
    Warning: DOMDocument::loadXML() [domdocument.loadxml]: Input is not proper UTF-8, indicate encoding ! Bytes: 0xC4 0x6E 0x64 0x65 in Entity, line: 1 in ..../blog/wordpress/wp-content/plugins/wpgplus/gplus.php on line 139
    Warning: Cannot modify header information - headers already sent by (output started at ..../blog/wordpress/wp-content/plugins/wpgplus/gplus.php:55) in ..../blog/wordpress/wp-includes/pluggable.php on line 866

    Maybe an issue with how Google+ gets encoded in German? Some other characters in the stream which make the xml loading fail?

Viewing 15 replies - 1 through 15 (of 65 total)
  • Plugin Author John Eckman


    I’ve just checked in a change – relaxing from loadXML to loadingHTML for part of the process, and hopefully suppressing warnings.

    Can any non-english Google+ users test this by downloading the development version from the plugin “other downloads” page?

    I am using the German version of WP and the German of G+ too. I don’t get any error message. A new post isn’t written to G+.
    Do You please have a link to the “other downloads” page. I only found the version 0.6
    Thanks in advance

    On my german blog the development version seems to run correctly without warnings.

    Plugin Author John Eckman


    @herb37 to get the other downloads page click on “other versions” just below the ratings under “FYI” on the plugins page, or

    @draven666 meaning it successfully posts to Google+ or just throws no warnings?

    Hi John,

    the development version works without a warning and publishes to g+! Good job 😉

    best regards Matthias

    Hi John,
    Thanks for the link. I have installed the developer version on an other website haaving not so much other plugins). But nothing is seen on G+
    Looking to the debug.txt, I see:

    2012-02-16 07:02:05 : publish_to_gplus running, included wpgplus.php
    2012-02-16 07:02:05 : publish_to_gplus running, postID is 61
    2012-02-16 07:02:05 : wgplus_safe_post_google running, post_url
    2012-02-16 07:02:05 : wgplus_safe_post_google running, username is 108479808134314432774
    password is xxxxxxxx
    2012-02-16 07:02:06 : wgplus_safe_post_google running, past log in
    2012-02-16 07:02:11 : wgplus_safe_post_google running, past update
    2012-02-16 07:02:11 : publish_to_gplus done running

    I do not understand what is running so bad.

    Hi John,

    I noticed another issue with german language 😉

    I wrote something containing the Text “Home-Taste” in WordPress. This is then transmitted to G+ (so it works for me, hurray ;)). The text ends up as: ”Home-Taste”

    So the quote signs are treated wrong. I assume that &#8221 is UTF-8 for “?


    @herb37: I did nothing special (as you asked on twitter) but just installed the development version of the plugin. Perhaps we can chat via Twitter to solve your problem?

    PHP 5 and cURL library are enabled.
    My WP version is 3.3.1 German language
    I have tried both the G+ id and my google eMail adress

    nothing is published to G+, publishing to the blog is running without any problem. the content of the debug.txt please see above

    Before publishing a new post there is one custom field with the name wpgplus_publish and the value yes
    after publishing there are two custom fields with equal content too the first one.

    Under preferences I setup at WPGplus my google email adress and the password.

    What can I check or do You see any mistake.


    Plugin Author John Eckman


    @herb37 the “wpgplus_publish” thing (duplicating) is an annoyance but not a problem.

    Your Google username should be your email address you use to sign in to google plus on the web.

    It is odd the debug file doesn’t have a post url, but I can see in the code that’s my mistake (but it shouldn’t impact functionality, just incomplete debug file).

    Is PostID 61 a normal “post” type post? You’re not using custom post types or anything are you? Can you share what post that is, on your blog?

    I don’t see anything obvious – may need to push another development build with even more debugging on.

    Google username is my eMail address, ok.
    PostID 61 is on my blog.
    I am not using custom post types on this blog.

    On an other blog I am using custom post type. There I have the same problem. Nothing is published to G+

    Plugin Author John Eckman


    Custom post types will be a problem – if you look at line 113 of gplus.php you’ll see it checks to see if the current post is of type ‘post’ and if not stops trying to publish.

    Not sure what else may be going on here – sorry.

    If I do post another version with more debug in it I will post here.

    Plugin Author John Eckman


    @herb37 (and anyone else using the development version and not getting posts appearing on Google+) – is there a cookies.txt file in your wpgplus plugin directory?

    I’m wondering if it is perhaps failing to get the appropriate cookie set?

    I’m also having problems.

    1. Version 0.6 caused the same errors as reported for German users.
    2. I’m not German. I’m running WP 1.3.3 and the Thesis theme.
    3. I installed the development version. No errors but when publishing a post, it’s not shared to my G+ feed.

    After publication, there is a duplication of custom fields — — which doesn’t appear normal but maybe it is.

    The debug file is not showing errors. Everything ran.

    What is the red flag in the cookies file? What should it look like?

    I have a cookies.txt
    But I do not know, what the content is meaning.

    My debug.txt is shown above.
    Instaed of the G+ID I am using know my google-mail address.

    Within the custom field I do not have the wpgplus_message

Viewing 15 replies - 1 through 15 (of 65 total)
  • The topic ‘[Plugin: WPGPlus] Failing for German users’ is closed to new replies.