Title: Optimize Javascript errors with WP4.5
Last modified: August 31, 2016

---

# Optimize Javascript errors with WP4.5

 *  [lencw](https://wordpress.org/support/users/lencw/)
 * (@lencw)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/optimize-javascript-errors-with-wp45/)
 * With Optimize Javascript set on and on a Woocommerce WordPress site, after a 
   time login with wp-admin on IE, iPad, Android comes up with a white screen with
   one long line of continuous characters. This does not appear to be happening 
   on non-woocommerce wordpress websites.
 * If I clear the cache it allows the login screen to be displayed for some time
   then reverts to the white screen. I cleared the cache last night, yet this morning
   it was locked out again. This does not appear to happen With Google Chrome on
   W7, thats how I can get back in a fix it.
 * When it appears to be working, the website is slower, on inspection with Google
   Chrome Inspect page there are javascript errors
 * For now I have unchecked Optimize Javascript Code. Using the advanced options
   makes no difference.
 * [https://wordpress.org/plugins/autoptimize/](https://wordpress.org/plugins/autoptimize/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/optimize-javascript-errors-with-wp45/#post-7315912)
 * > With Optimize Javascript set on and on a Woocommerce WordPress site, after 
   > a time login with wp-admin on IE, iPad, Android comes up with a white screen
   > with one long line of continuous characters. This does not appear to be happening
   > on non-woocommerce wordpress websites.
   > If I clear the cache it allows the login screen to be displayed for some time
   > then reverts to the white screen. I cleared the cache last night, yet this 
   > morning it was locked out again. This does not appear to happen With Google
   > Chrome on W7, thats how I can get back in a fix it.
 * this looks like a problem with the AO cache size eating your disk-space, causing
   more issues with your site. check cache size and if this is confirmed, [have a look at the FAQ](https://wordpress.org/plugins/autoptimize/faq/)
   on how to fix issues with cache size.
 * > When it appears to be working, the website is slower, on inspection with Google
   > Chrome Inspect page there are javascript errors
 * some questions (you know I love those);
    * are you aggregating inline JS (also
   related with cache size, actually)? * do you have a page caching plugin (you 
   should) * javascript errors are a blessing in disguise; they allow you to pinpoint
   what to do next. and they don’t, copy/ paste them here and maybe I’ll be able
   to point you in the right direction 🙂
 * > Using the advanced options makes no difference.
 * pretty sure you’ve only scratched the surface there lencw; using the js error
   on the console you should be able to determine what JS is broken due to optimization
   and excluding that (with some trial and error, obviously) is 99,6793% certain
   to fix your problems 🙂
 * hope this clarifies,
    frank

Viewing 1 replies (of 1 total)

The topic ‘Optimize Javascript errors with WP4.5’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/optimize-javascript-errors-with-wp45/#post-7315912)
 * Status: not resolved