Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Frank Goossens

    (@futtta)

    Hi fedeari7;
    You’ll need to configure Autoptimize, as described in the FAQ, esp. the part about troubleshooting.

    Hope this helps,
    frank

    Thread Starter fedeari7

    (@fedeari7)

    Hello,
    I have already checked the FAQ section, but my problem still remain.

    Plugin Author Frank Goossens

    (@futtta)

    OK, what did you try, configuration-wise? What happens when you disable CSS optimization for example?

    frank

    Thread Starter fedeari7

    (@fedeari7)

    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.

    Plugin Author Frank Goossens

    (@futtta)

    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

    Thread Starter fedeari7

    (@fedeari7)

    Even after adding the code, the result is the same!
    The pages remain broken.

    Plugin Author Frank Goossens

    (@futtta)

    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

    Thread Starter fedeari7

    (@fedeari7)

    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.

    Plugin Author Frank Goossens

    (@futtta)

    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.

    Thread Starter fedeari7

    (@fedeari7)

    Where should I look for the JS-errors report? I’m sorry but i’m not really sure about it.
    Thank you.

    Plugin Author Frank Goossens

    (@futtta)

    Depends on your browser, there’s a nice per-browser overview here.

    frank

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Site Broken’ is closed to new replies.