Support » Plugin: Asset CleanUp: Page Speed Booster » Somehow ALL of my scripts stopped loading

  • Resolved mukopu3a


    hi there, me again.

    something happened today – and just in one second all of my js stopped working – even though previously everything was set up in a way that things I needed were still loading.

    Now all of the sudden ALL js (installed in the theme and separate plugins) stopped working both on desktop and mobile.
    I’ve tried deactivating the plugin and cleaning up the cache but the issue still persists. Can use the search or menu, there’s no scroll up thing etc.
    Any idea what might have happened and most importantly how to fix it?

    the domain is

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter mukopu3a


    ok I went through my code line by line and found the mistake 🙂 sorry about the confusion! (that was scary!)

    • This reply was modified 2 years, 1 month ago by mukopu3a.
    Plugin Author Gabe Livan


    @mukopu3a I’ve noticed errors in your console (some of them related to the fact that you’re loading jQuery in the footer AFTER inline code that load jQuery code leading to “jQuery is undefined” errors.

    Also, based on this error: “minimer-scripts-v5.2.3-c9e98188959877b7a44c05290ba135fc42f4adbc.js:6 Uncaught TypeError: $(…).randomize(…).slick is not a function” it’s likely you’ve unloaded the Slick library for the slider and it can’t be found when called globally in /wp-content/themes/minimer/js/scripts.js – This shouldn’t affect the functionality though, as you do not need Slick, but the script is calling it without checking if the jQuery library is loaded or not. Later on, in Asset CleanUp, there will be implemented a way to hide these errors as they are irrelevant.

    I hope it helps and let me know if you have any questions about what I just mentioned!

    Thread Starter mukopu3a


    Thank you Gabe – I’ve prevented slick from loading intentionally – I don’t use this functionality.

    Wonder who’s that “undefined” jQuery though… need to comb through my footer…
    Anyways it’s all fixed now – i left a tiny piece of an old script somewhere. But I found it, delete it and now it’s all working again yay!
    thank you for taking your time and looking through all the things, appreciate the effort.

    I am seriously thinking of going premium – this load in the body functionality is very enticing 🙂
    So I hope I ll be a better customer for you soon!

    Plugin Author Gabe Livan


    @mukopu3a that undefined error could be prevented if you load jQuery before the inline script that has “jQuery” in it calling the library before it’s loaded. You might need some custom code there to arrange the order of the SCRIPT tags (e.g. call the inline code after the jQuery library is included).

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Somehow ALL of my scripts stopped loading’ is closed to new replies.