@orezzoli thanks for reporting this! An update was made for the same tag. Please re-download the plugin and try again.
That error would have triggered only if there is no CSS loaded via wp_enqueue_style() which is very unlikely for a WP site. Let me know if it works fine now!
One more thing: I have a suspicion that you’re using SG Optimizer and one of the Asset CleanUp functions was triggered very early (that was a compatibility fix weeks ago) when you got the error. Now it would be fine. Just make sure that you don’t use both Minify CSS/JS from SG Optimizer and Asset CleanUp. I guess it’s like an unwritten rule not to use two plugins for the same feature. You’re using extra resources and it’s harder to debug things in case you stumble upon errors etc.
-
This reply was modified 7 years, 1 month ago by
Gabe Livan.
@gabelivan thank you a lot for your help.
Once I re-installed and configured the plugin again, everything worked fine. I had to reset everything first, because the first time I tried without resetting everything [just re-uploading the plugin] for some reason they where things missing, like for example the settings panel under each page or post… etc.
But now everything works fine.
I found this error just 24 or 48 hours ago, and I wasn’t using SG Optimizer when I installed Asset Cleanup, I removed it just before of that. But just to be sure, I went to my Cpanel and also deactivate their cache settings for this site there, because that plugin cache settings are inside Cpanel [Static, Dynamic, Mem].
I am also not using Asset Cleanup to minify js or css. I am using cloudflare for that, to compress all css and JS, cache everything and serve it through their CDN.
I am testing Asset Cleanup to remove all unnecessary scrips sitewide, and from particular posts and pages.
So far, everything works fine.
Thank you again @gabelivan
@orezzoli I’m glad everything was sorted! If you’re happy with Asset CleanUp, it would be great if you can leave a review here: https://ww.wp.xz.cn/support/plugin/wp-asset-clean-up/reviews/#new-post – I’m also open to feature suggestions if you have any!