Support » Plugin: Speed Booster Pack ⚡ PageSpeed Optimization Suite » Minify causes “unexpected end of script”

  • Resolved mkummer

    (@mkummer)


    Hi there!

    I have noticed that activating “Minify HTML & JS” caused an “unexpected end of script” error. You can see the error here: http://staging.dynamic-word.flywheelsites.com. On the live page (michaelkummer.com) I have the option deactivated and you don’t see the error.

    Any idea what’s causing it and how to fix that?

    Thanks
    Michael

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi, this might be related to your theme. Have you tried testing one of WordPress default themes like Twenty Fifteen or Sixteen?

    Thread Starter mkummer

    (@mkummer)

    Is there anything in particular that leads you to believe it’s m theme? I haven’t tried switching themes because that’s not a realistic option for me.

    But if you have an indication of why it could be the theme, I can go back to Pagelines (theme) and ask them to fix it.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, I am not 100% sure that it is your theme. However carrying a theme test can prove whether I am right or not. You can test a theme in the backend without installing the theme.

    Let me know how you go.

    Regards

    Thread Starter mkummer

    (@mkummer)

    It looks like you were right, switching to the Twenty Seventeen theme does not show the error in the JS console. Any indication of what your plugin does that my theme may not like?

    Plugin Support mbrsolution

    (@mbrsolution)

    I think your best option is to speak the your theme developers about this issue.

    Thread Starter mkummer

    (@mkummer)

    The theme developer responded: From the console, it seems like that error is from wordpress emoji code: https://cl.ly/lzCl

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, then I think the problem is between your theme and WordPress emoji code. When you activate “Minify HTML & JS” it triggers this error.

    Kind regards

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Minify causes “unexpected end of script”’ is closed to new replies.