Title: Why is a debug script loading by default?
Last modified: June 21, 2024

---

# Why is a debug script loading by default?

 *  [Derek Wilcox](https://wordpress.org/support/users/themassapothecary/)
 * (@themassapothecary)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/why-is-a-debug-script-loading-by-default/)
 * I keep seeing console errors on our site, massapothecary.com. they are related
   to the elex usps shipping plugin and an ajax call from the debug notice. Why 
   is this script loading on ALL pages of the site –
 * /wp-content/plugins/elex-usps-shipping-method/resources/debug_notice.js?ver=2.0.0
 * /wp-content/plugins/elex-usps-shipping-method/resources/debug_notice.js?ver=2.0.0
 *     ```wp-block-code
       Uncaught (in promise) Object { readyState: 4, getResponseHeader: getResponseHeader(e), getAllResponseHeaders: getAllResponseHeaders(), setRequestHeader: setRequestHeader(e, t), overrideMimeType: overrideMimeType(e), statusCode: statusCode(e), abort: abort(e), state: state(), always: always(), catch: catch(e), … }​abort: function abort(e)​always: function always()​catch: function catch(e)​done: function add()​fail: function add()​getAllResponseHeaders: function getAllResponseHeaders()​getResponseHeader: function getResponseHeader(e)​overrideMimeType: function overrideMimeType(e)​pipe: function pipe()​progress: function add()​promise: function promise(e)​readyState: 4​responseJSON: 0​responseText: "0"​setRequestHeader: function setRequestHeader(e, t)​state: function state()​status: 400​statusCode: function statusCode(e)​statusText: "error"​then: function then(t, n, r)​<prototype>: Object { … }
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwhy-is-a-debug-script-loading-by-default%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [ELEXtensions](https://wordpress.org/support/users/elextensions/)
 * (@elextensions)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/why-is-a-debug-script-loading-by-default/#post-17846402)
 * Hello [@themassapothecary](https://wordpress.org/support/users/themassapothecary/),
 * Thanks for contacting us. Could you please deactivate our plugin and check if
   the console errors still occur on your website? Also please share the screenshot
   of the plugin settings and the HPOS settings under WooCommerce > Advanced > Features.
   This will help us reproduce and address the issue on our end.
 * Looking forward to your response.
 *  Thread Starter [Derek Wilcox](https://wordpress.org/support/users/themassapothecary/)
 * (@themassapothecary)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/why-is-a-debug-script-loading-by-default/#post-17847764)
 * Yes, the consoler error stops if the Elex Plugin is disabled. Like I said, the
   script is coming from the plugin itself. It is also loading it on all pages, 
   not just checkout.
 * > [View post on imgur.com](https://imgur.com/a/NMaDiBt)
 *  Plugin Author [ELEXtensions](https://wordpress.org/support/users/elextensions/)
 * (@elextensions)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/why-is-a-debug-script-loading-by-default/#post-17848848)
 * Hello [@themassapothecary](https://wordpress.org/support/users/themassapothecary/),
 * Thank you for sharing the screenshots. We are not encountering the same console
   errors with the same setup on our end. This suggests a potential compatibility
   conflict with a third-party plugin. Could you run a compatibility test on your
   site? Additionally, we suggest connecting with us through the commercial plugin
   support so we can gather more information and investigate the issue further.
 * Looking forward to hearing from you.
 *  Thread Starter [Derek Wilcox](https://wordpress.org/support/users/themassapothecary/)
 * (@themassapothecary)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/why-is-a-debug-script-loading-by-default/#post-17852828)
 * I disabled all other plugins and the script still loads and triggers a console
   error.
 * How do I connect with you through the commercial support exactly?
 *  Plugin Author [ELEXtensions](https://wordpress.org/support/users/elextensions/)
 * (@elextensions)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/why-is-a-debug-script-loading-by-default/#post-17853667)
 * Hello [@themassapothecary](https://wordpress.org/support/users/themassapothecary/),
 * To raise a ticket, navigate to the plugin page and click the support link in 
   the commercial plugin section.
 * [https://prnt.sc/7Wh65IuNsIyb](https://prnt.sc/7Wh65IuNsIyb)
 * Looking forward to hearing from you.

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

The topic ‘Why is a debug script loading by default?’ is closed to new replies.

 * ![](https://ps.w.org/elex-usps-shipping-method/assets/icon-256x256.png?rev=2802384)
 * [ELEX WooCommerce USPS Shipping Method](https://wordpress.org/plugins/elex-usps-shipping-method/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/elex-usps-shipping-method/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/elex-usps-shipping-method/)
 * [Active Topics](https://wordpress.org/support/plugin/elex-usps-shipping-method/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/elex-usps-shipping-method/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/elex-usps-shipping-method/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [ELEXtensions](https://wordpress.org/support/users/elextensions/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/why-is-a-debug-script-loading-by-default/#post-17853667)
 * Status: not resolved