Title: [Plugin: WordPress plugin &#8211; Google  1 Button] Bug in script &#8211; Resolution &#8211; please fix in source
Last modified: August 20, 2016

---

# [Plugin: WordPress plugin – Google 1 Button] Bug in script – Resolution – please fix in source

 *  Resolved [Phil Marx](https://wordpress.org/support/users/ilikewordpress/)
 * (@ilikewordpress)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-wordpress-plugin-google-1-button-bug-in-script-resolution-please-fix-in-source/)
 * Hi,
 * there is a bug in your script, causing several errors. In my case, the whole 
   site gets white in Internet Explorer, so the content can’t be seen.
 * In googleplusone.php in lines 331, 349, 353, 384 and 401 you’re working with 
   the variable $count.
    But you’re using it as a boolean value ($count=true) instead
   of a string ($count=”true”), so when echoing the plusone-button (lines 360 and
   405), the value of the plusone-attribute “count” is empty, which seems to be 
   the worst thing, Googles +1-JavaScript could ever happen.
 * Defining the $count-values as a string, everything is fine.
 * I would appreciate, if you gonna fix the plugin.
 * Thanks a lot
 * Phil
 * [http://wordpress.org/extend/plugins/google-plus-one-google1/](http://wordpress.org/extend/plugins/google-plus-one-google1/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Phil Marx](https://wordpress.org/support/users/ilikewordpress/)
 * (@ilikewordpress)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-wordpress-plugin-google-1-button-bug-in-script-resolution-please-fix-in-source/#post-2209760)
 * Additionally, I would suggest to recreate the initialization of the plusone-button
   according to this site: [http://www.gabsoftware.com/tips/load-google-plus-one-button-asynchronously/](http://www.gabsoftware.com/tips/load-google-plus-one-button-asynchronously/)
 * Implementing this code, I had no white pages anymore on any site.
    Now everything
   is working like a charme.
 * Phil
 *  [beggers](https://wordpress.org/support/users/beggers/)
 * (@beggers)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpress-plugin-google-1-button-bug-in-script-resolution-please-fix-in-source/#post-2210010)
 * Have these changes been implemented?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: WordPress plugin – Google 1 Button] Bug in script – Resolution–
please fix in source’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/google-plus-one-google1.svg)
 * [Wordpress plugin - Google +1 Button](https://wordpress.org/plugins/google-plus-one-google1/)
 * [Support Threads](https://wordpress.org/support/plugin/google-plus-one-google1/)
 * [Active Topics](https://wordpress.org/support/plugin/google-plus-one-google1/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-plus-one-google1/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-plus-one-google1/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [beggers](https://wordpress.org/support/users/beggers/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpress-plugin-google-1-button-bug-in-script-resolution-please-fix-in-source/#post-2210010)
 * Status: resolved