Hi, I see the below JS issue in console:
Uncaught SyntaxError: Unexpected eval or arguments in strict mode (at autoptimize_8171c70dc74e3e6d383dfcf4f633b1d4.js:858:8349
And I’m using Avada theme.
And I’ve checked below options for autoptimize:
JS:
-Optimize JavaScript Code?
-Aggregate all linked JS-files to have them loaded non-render blocking?
CSS:
-Optimize CSS Code?
-Aggregate all linked CSS-files? If this option is off, the individual CSS-files will remain in place but will be minified.
-Check this option for Autoptimize to also aggregate CSS in the HTML.
Misc:
-By default files saved are static css/js, uncheck this option if your webserver doesn’t properly handle the compression and expiry.
-When aggregating JS or CSS, excluded files that are not minified (based on filename) are by default minified by Autoptimize despite being excluded. —Uncheck this option if anything breaks despite excluding.
-Sometimes Autoptimized JS/ CSS is referenced in cached HTML but is already removed, resulting in broken sites. With this option on, Autoptimize will try to redirect those not-found files to “fallback”-versions, keeping the page/ site somewhat intact. In some cases this will require extra web-server level configuration to ensure wp-content/autoptimize_404_handler.php is set to handle 404’s in wp-content/cache/autoptimize.
-Add a “metabox” to the post/ page edit screen allowing different optimizations to be turned off on a per post/ page level?
What is wrong here that my site breaks?
Thanks!
