The error you see, is precisely the function that defines LoadCSS… an exact copy from https://github.com/filamentgroup/loadCSS so it’s not “undefined”.
I’m not sure how you are receiving that error, perhaps there is a conflict with one of the other javascript files you use.
loadCSS is merely an extra function that it’s there “if needed”, when you use some specific advanced settings to load some scripts async.
In your case, it’s not being in use by anything… it’s just there, in the footer.
http://prntscr.com/lycxtr
The next FVM version will stop loading this function if not in use, so wait for a couple of days.
Also, the mobile friendly tests failing is completely unrelated to that.
If you google about the tests failing, you will see a lot of complaints about it randomly failing the tests… it happens, because google doesn’t want to download too many resources in the page.
You can try testing some popular sites and see it fail… and it’s like that since at least 2015. Look at pagespeed insights test, because if there is something wrong and your site is not mobile friendly, it will let you know right away.
Thank you very much for your very quick response Raul. Your plugin and support is helping thousands of people… that’s not a small number 🙂
You are right in that the function is not doing anything in my setup, so to remove the call to it if it’s not being used is highly appreaciated.
You are also right about the randomly failing tests. I suppose every little byte counts now… even though the page is quite light it seems it’s really hard to lower the resources on a wordpress + woocommerce website without affecting user experience and functionality.
Plugins like yours make our work a lot more efficient since at least one part of the whole website management is taken care off with the help of such plugins.
Keep up the wonderful work.
P.S. Since you already mention pagespeed insights… If you test the above url with it, you will see that somehow FVM doesn seem to pick up the css from alidswoo plugin, so it’s not combined and minified with FVM.
-
This reply was modified 7 years, 5 months ago by
JohnS0N.
-
This reply was modified 7 years, 5 months ago by
JohnS0N.