Title: PHP Notice:  Constant SCRIPT_DEBUG already defined in
Last modified: August 31, 2016

---

# PHP Notice: Constant SCRIPT_DEBUG already defined in

 *  [John Huebner](https://wordpress.org/support/users/hube2/)
 * (@hube2)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/php-notice-constant-script_debug-already-defined-in/)
 * PHP Notice: Constant SCRIPT_DEBUG already defined in …wp-content/plugins/share-
   this/sharethis.php on line 1282
 * Plugin Verizon 7.4
 * [https://wordpress.org/plugins/share-this/](https://wordpress.org/plugins/share-this/)

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

 *  [hansvdveen](https://wordpress.org/support/users/hansvdveen/)
 * (@hansvdveen)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/php-notice-constant-script_debug-already-defined-in/#post-7178556)
 * I have the same issue right after updating ShareThis.
    How can I fix this? Is
   it possible to go back to the previous version of Sharethis?
 *  Thread Starter [John Huebner](https://wordpress.org/support/users/hube2/)
 * (@hube2)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/php-notice-constant-script_debug-already-defined-in/#post-7178557)
 * Until the author corrects the problem, edit the field and comment out that line
   where the define statement is.
 *  [hansvdveen](https://wordpress.org/support/users/hansvdveen/)
 * (@hansvdveen)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/php-notice-constant-script_debug-already-defined-in/#post-7178559)
 * Thanks. I hope a notification will be made in this thread after the correction
   is made.
 *  [Mike Manger](https://wordpress.org/support/users/mikemanger/)
 * (@mikemanger)
 * [10 years ago](https://wordpress.org/support/topic/php-notice-constant-script_debug-already-defined-in/#post-7178696)
 * This really should be urgently fixed – if you don’t have it defined in your wp-
   config.php file it is forcing people to load un-minified scripts on all pages.
 *  Thread Starter [John Huebner](https://wordpress.org/support/users/hube2/)
 * (@hube2)
 * [10 years ago](https://wordpress.org/support/topic/php-notice-constant-script_debug-already-defined-in/#post-7178697)
 * And if you do have it defined in your wp-config.php, the way I do because there
   are many other plugins that use this constant that I must put it there for debugging,
   which is the proper place for it, it causes an error that prevents AJAX requests
   from completing. This is not a constant that should be defined in a plugin file,
   EVER!
 *  [Brandon (ShareThis Support)](https://wordpress.org/support/users/brandonsharethis/)
 * (@brandonsharethis)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/php-notice-constant-script_debug-already-defined-in/#post-7178699)
 * Hi there everyone!
 * Thank you for reporting on this issue.
    I have notified the engineering team 
   and we hope to remove the debug script soon.
 * If you have any other questions please feel free to reach out directly to our
   support line at [support@sharethis.com](https://wordpress.org/support/topic/php-notice-constant-script_debug-already-defined-in/support@sharethis.com?output_format=md).
 * Best,
    Brandon ShareThis Support
 *  [daymobrew](https://wordpress.org/support/users/daymobrew/)
 * (@daymobrew)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/php-notice-constant-script_debug-already-defined-in/#post-7178703)
 * SCRIPT_DEBUG is still set to true in ShareThis 7.6!!
 * This is so easy to fix I do not understand why the engineering team was unable
   to fix it for 7.6.
 *  [Mike Manger](https://wordpress.org/support/users/mikemanger/)
 * (@mikemanger)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/php-notice-constant-script_debug-already-defined-in/#post-7178711)
 * They seem to have fixed this now.
 *  [Brandon (ShareThis Support)](https://wordpress.org/support/users/brandonsharethis/)
 * (@brandonsharethis)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/php-notice-constant-script_debug-already-defined-in/#post-7178712)
 * Hi all,
 * Thank you everyone for reporting on this issue, the new release has included 
   removal of SCRIPT_DEBUG.
 * If you have any other questions please feel free to reach out directly to our
   support line at [support@sharethis.com](https://wordpress.org/support/topic/php-notice-constant-script_debug-already-defined-in/support@sharethis.com?output_format=md).

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

The topic ‘PHP Notice: Constant SCRIPT_DEBUG already defined in’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/share-this_b9babb.svg)
 * [ShareThis: Free Sharing Buttons and Tools](https://wordpress.org/plugins/share-this/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/share-this/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/share-this/)
 * [Active Topics](https://wordpress.org/support/plugin/share-this/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/share-this/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/share-this/reviews/)

 * 9 replies
 * 5 participants
 * Last reply from: [Brandon (ShareThis Support)](https://wordpress.org/support/users/brandonsharethis/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/php-notice-constant-script_debug-already-defined-in/#post-7178712)
 * Status: not resolved