Hello @murshid07
I am sorry about the issue you are experiencing and I am happy to help!
Can you please re-enable W3TC and disable minify in Perfirmance>General settings, save all settings and purge the cache and see if the issue persists?
If the issue is gone, re-enable minify, and disable the settings in Performance>minify one by one (HTML minify, JS minify, CSS minify) and see which one might be causing the issue.
Make sure to save all settings and purge the cache after each option is disabled.
Thanks!
@murshid07 We have released a patch in version 2.1.8. We do apologize for any inconvenience. Please update and do let us know if there are any issues. We will be happy to assist you. Thank you.
Update: I’ve updated the plugin and tried the ways suggested by @vmarko it worked. After disabling minify option, the errors are gone.
But after enabling HTML or CSS minify or both, there error is being reappeared. What’s the next step?
-
This reply was modified 4 years, 8 months ago by
murshid07.
Hello @murshid07
Can you please share the screenshot of what you are seeing in the console when HTML minify is enabled?
Thanks!
Hello @murshid07
Can you please add:
/wp-content/plugins/w3-total-cache/pub/js/lazyload.min.js
to Performance>Minify>Advanced>Never Minify following JS files, save all settings and purge the cache and see if the issue persists?
Thanks!
Hello @vmarko
Yes, I added this line and now the pages are showing mobile-friendly in GSC.
I hope the issue has been fully solved, and if not, I’ll have to ping again.
Thank you!