Yes there is a conflict with woo and wp-rocket, if you have the “remove unused CSS feature” in wp-rocket checked. You will get the error you have noted. Uncheck the “remove unused CSS” in wp-rocket and the problem goes away.
-
This reply was modified 2 years, 9 months ago by
balert.
@balert
Thank you! I’ll disable the remove unused CSS and waiting WPRocket and WooCommerce update to new version.
Hi @nguyentrongtiep ,
Thanks for reaching out!
It seems like @balert has provided some insight on how to get ride of the error you are seeing.
@balert – thanks for sharing what has resolved the issue for you, this may be very helpful for others that may be experiencing this same issue 🙂
Thank you! I’ll disable the remove unused CSS and waiting WPRocket and WooCommerce update to new version.
That sounds like a plan! Please do let us know how this goes.
Cheers!
Hi @beautyofcode,
I still want WooCommerce and WPRocket to fix that issues as soon as possible. Because when disable “remove unused CSS” the website have some issue when clear cache.
Thanks!
Hi @nguyentrongtiep
We understand your concern about the conflict between WooCommerce and WP Rocket.
However, please note that “remove unused CSS” is something WP Rocket is responsible for. So, I’d suggest getting in touch with WP Rocket for further help. As the developers, they’ve probably encountered this problem before and likely have a solution for it. I am sure they will have no problem supporting you there.
Alternatively, you might want to explore other methods to optimize your site’s CSS.
Meanwhile, I will be marking this thread as resolved. Should you have further inquiries, kindly create a new topic here.
Thanks!