• lencw

    (@lencw)


    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://ww.wp.xz.cn/plugins/autoptimize/

Viewing 1 replies (of 1 total)
  • Plugin Author Frank Goossens

    (@futtta)

    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 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.