Title: SCRIPT_DEBUG constant defined in plugin file, causing warnings
Last modified: January 24, 2019

---

# SCRIPT_DEBUG constant defined in plugin file, causing warnings

 *  Resolved [mmecho](https://wordpress.org/support/users/mmecho/)
 * (@mmecho)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/script_debug-constant-defined-in-plugin-file-causing-warnings/)
 * This is a no-brainer and should never happen. At very least, check if the constant
   is defined before you define it yourself.
 * You can find the issue in sharethis.php line 1287
 * Please update ASAP

Viewing 1 replies (of 1 total)

 *  [Andres (ShareThis Support)](https://wordpress.org/support/users/andressharethis/)
 * (@andressharethis)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/script_debug-constant-defined-in-plugin-file-causing-warnings/#post-11144621)
 * Hi there [@mmecho](https://wordpress.org/support/users/mmecho/),
 * Thanks for reaching out, I’d be happy to help here! 😀
 * Can you please provide me a little bit more of information about your issue as
   for example some specific URLs which are being affected by this and if you don’t
   mind some screenshots and screen recordings displaying what the issue looks like
   on your side for me to dig deeper into your case and provide you with a solid
   solution?
      Thank you, Andres

Viewing 1 replies (of 1 total)

The topic ‘SCRIPT_DEBUG constant defined in plugin file, causing warnings’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Andres (ShareThis Support)](https://wordpress.org/support/users/andressharethis/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/script_debug-constant-defined-in-plugin-file-causing-warnings/#post-11144621)
 * Status: resolved