Title: Plugin only works regularly with Debugging Enabled
Last modified: August 21, 2016

---

# Plugin only works regularly with Debugging Enabled

 *  Resolved [MadeByCaliper](https://wordpress.org/support/users/caliperdesign/)
 * (@caliperdesign)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/plugin-only-works-regularly-with-debugging-enabled/)
 * Hi,
 * Great plugin, first of all. thanks for your hard work!
 * I’ve been having trouble getting the plugin to work regularly without enabling
   debugging. I read the suggestion to turn it on somewhere on one of your support
   threads and that seems to do something to make it more stable.
 * Without debugging enabled, however, I routinely get the following JS error in
   the console when I load the page:
 *     ```
       Uncaught TypeError: Cannot read property '0' of undefined main.js:20
       Uncaught Error: Load timeout for modules: cs!csmain_unnormalized2
       http://requirejs.org/docs/errors.html#timeout require.js:8
       ```
   
 * I’m using the latest build of Chrome (not canary) and I’m running a bunch of 
   plugins along side of yours, though I’m not in a position where I can turn them
   on and off because it’s a production environment.
 * Any advice would be helpful. Thanks.
 * [http://wordpress.org/extend/plugins/post-thumbnail-editor/](http://wordpress.org/extend/plugins/post-thumbnail-editor/)

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

 *  Plugin Author [sewpafly](https://wordpress.org/support/users/sewpafly/)
 * (@sewpafly)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/plugin-only-works-regularly-with-debugging-enabled/#post-3816856)
 * I believe that this problem has been fixed for 2.2.0, could you give it a try
   by installing it from here: [https://github.com/sewpafly/post-thumbnail-editor/archive/master.zip](https://github.com/sewpafly/post-thumbnail-editor/archive/master.zip)
 * Thanks!
 *  Thread Starter [MadeByCaliper](https://wordpress.org/support/users/caliperdesign/)
 * (@caliperdesign)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/plugin-only-works-regularly-with-debugging-enabled/#post-3817012)
 * Looks like it’s working consistently now, thanks! I guess I’ll just update when
   you release a stable build of 2.2.0?
 * Thanks again for your work on this.
 *  Plugin Author [sewpafly](https://wordpress.org/support/users/sewpafly/)
 * (@sewpafly)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/plugin-only-works-regularly-with-debugging-enabled/#post-3817017)
 * I’m going to try to get it out tonight, but we’ll see. Thanks for updating!

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

The topic ‘Plugin only works regularly with Debugging Enabled’ is closed to new 
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/post-thumbnail-editor_afafac.svg)
 * [Post Thumbnail Editor](https://wordpress.org/plugins/post-thumbnail-editor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-thumbnail-editor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-thumbnail-editor/)
 * [Active Topics](https://wordpress.org/support/plugin/post-thumbnail-editor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-thumbnail-editor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-thumbnail-editor/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [sewpafly](https://wordpress.org/support/users/sewpafly/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/plugin-only-works-regularly-with-debugging-enabled/#post-3817017)
 * Status: resolved