ok I went through my code line by line and found the mistake 🙂 sorry about the confusion! (that was scary!)
-
This reply was modified 1 year, 3 months ago by
mukopu3a.
@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!
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!
@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).