Title: SyntaxError: missing ) in button/sharethis.js
Last modified: August 26, 2019

---

# SyntaxError: missing ) in button/sharethis.js

 *  Resolved [jacobredhawk](https://wordpress.org/support/users/jacobredhawk/)
 * (@jacobredhawk)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/syntaxerror-missing-in-button-sharethis-js/)
 * I am trying to load [http://w.sharethis.com/button/sharethis.js](http://w.sharethis.com/button/sharethis.js)
   but I get this error:
    sharethis.js:2803 Uncaught SyntaxError: missing ) after
   argument list. So, the script doesn’t load. I looked at the code and there are
   a couple lines missing closing parentheses involving img.setAttribute. Can this
   be fixed?

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

 *  [Andres (ShareThis Support)](https://wordpress.org/support/users/andressharethis/)
 * (@andressharethis)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/syntaxerror-missing-in-button-sharethis-js/#post-11868513)
 * Hi there [@jacobredhawk](https://wordpress.org/support/users/jacobredhawk/),
 * Thanks for reaching out, we will be more than happy helping you out! 😀
 * Can you please provide me a little bit more of information about your issue as
   for example some specific URLs which are being affected for me to dig deeper 
   into your case and provide you with a solid solution?
 * Thank you,
    Andres
 *  Thread Starter [jacobredhawk](https://wordpress.org/support/users/jacobredhawk/)
 * (@jacobredhawk)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/syntaxerror-missing-in-button-sharethis-js/#post-11868740)
 * [@andressharethis](https://wordpress.org/support/users/andressharethis/),
 * The specific site is: [http://www.carbidepros.com/Blog/News/](http://www.carbidepros.com/Blog/News/)
   
   But I can just load up this raw HTML and get the same error:
 * <!DOCTYPE>
    <html> <head> <script type=”text/javascript” src=”[http://w.sharethis.com/button/sharethis.js”></script&gt](http://w.sharethis.com/button/sharethis.js”></script&gt);
   </head> <body> <h1>Hi</h1> </body> </html>
 * the exact error is this:
    sharethis.js:2803 Uncaught SyntaxError: missing ) after
   argument list
 *  [Andres (ShareThis Support)](https://wordpress.org/support/users/andressharethis/)
 * (@andressharethis)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/syntaxerror-missing-in-button-sharethis-js/#post-12186143)
 * Hi there,
 * Thank you for your reply!
 * Can you please verify for me if you are still experiencing this issue on your
   end?
 * Best regards,
 * Andres

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

The topic ‘SyntaxError: missing ) in button/sharethis.js’ is closed to new replies.

 * ![](https://ps.w.org/sharethis-share-buttons/assets/icon-256x256.gif?rev=2782088)
 * [ShareThis Share Buttons](https://wordpress.org/plugins/sharethis-share-buttons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sharethis-share-buttons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sharethis-share-buttons/)
 * [Active Topics](https://wordpress.org/support/plugin/sharethis-share-buttons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sharethis-share-buttons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sharethis-share-buttons/reviews/)

## Tags

 * [installment](https://wordpress.org/support/topic-tag/installment/)

 * 3 replies
 * 1 participant
 * Last reply from: [Andres (ShareThis Support)](https://wordpress.org/support/users/andressharethis/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/syntaxerror-missing-in-button-sharethis-js/#post-12186143)
 * Status: resolved