Hi fedeari7;
You’ll need to configure Autoptimize, as described in the FAQ, esp. the part about troubleshooting.
Hope this helps,
frank
Hello,
I have already checked the FAQ section, but my problem still remain.
OK, what did you try, configuration-wise? What happens when you disable CSS optimization for example?
frank
When I disable CSS optimization the website is back again, but all the javascript are broken, if i disable javascript as well everything back to normal, but jquery still doesn’t work.
When I disable even HTML optimization everything back to normal.
But at this point the plugin have no use. π
Let me know if I can do anything.
Thank you in advance.
Well, you should take it one step at a time.
Let’s start with CSS. Based on what I saw you might benefit from using the legacy minifiers. You can do that by opening your WordPress wp-config.php and adding this line;
define("AUTOPTIMIZE_LEGACY_MINIFIERS","true");
Can you that and then enable CSS optimization and report back?
frank
Even after adding the code, the result is the same!
The pages remain broken.
In that you’ll have to go over the list of CSS (inline or files referred) and try to exclude them one by one, as one of those is causing the minimizers (both the default and legacy one) to fail. Once you find the correct CSS to exclude, everything but that will be optimized.
Regarding JS optimization, as stated in the FAQ, given your site’s reliance on jQuery the first thing to try is setting “look only in head” and “force in head” options, can you try those?
frank
I will try the first point soon, regarding the second point….the result is the same even with “look only in head” and “force in head” options activated.
OK, so what JS-errors do you see in the browser console? Based on those you should be able to figure out what to exclude from JS optimization.
Where should I look for the JS-errors report? I’m sorry but i’m not really sure about it.
Thank you.