• Plugin Author Frank Goossens

    (@futtta)


    • If you are running into problems with Autoptimize, I’d recommend you go through the FAQ and specifically the “troubleshooting”-part.
    • If your theme (or a plugin) uses jQuery and you want to be sure everything continues to work, I’d recommend to activate the “force javascript in head” option (as older versions of Internet Explorer have issues with deferred jQuery).
    • If you’re encountering horrible problems with CSS and/ or JS minification (e.g. white pages), these could be due to the newer CSS/ JS compression components. If that is the case, you can easily switch back to older minification components, by adding this to your wp-config.php;
      define("AUTOPTIMIZE_LEGACY_MINIFIERS","true");

      The “legacy minifiers” will remain in Autoptimize “for ever” and changes to wp-config.php are not affected by core-, theme- or plugin-upgrades so you should be good to go.

Viewing 8 replies - 31 through 38 (of 38 total)
  • Plugin Author Frank Goossens

    (@futtta)

    Well, you could always keep all in one buttons, but exclude its CSS from being optimized?

    Plugin Author Frank Goossens

    (@futtta)

    A small follow-up Muhammad;
    I’ve been looking into this even more after understanding that another support-thread had an almost identical problem on Apache on Windows (which by default is configured in such a way this bug appears sooner). The basic problem is with a resource-intensive regular expression in the CSS optimization library I use.

    I’ve created a pretty detailed bug-report over at YUI-CSS-compressor-PHP-port’s Github, let’s hope the developer is smarter then I am ??

    frank

    Thanks Frank for inviting me, I ll certainly be following this topic. I am always interested in learning new things, especially, when it is related to my work.
    Best Regards!

    Hi, when I activate the Autoptimize plugin, my website shows this error:

    Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0

    Emptying the cache (using W3 Total Cache) doesn’t help. When I deactivate the Autoptimize plugin everything goes back to normal.

    I would really like to use the plugin, but it doesn’t seem to do the trick or is conflicting with something else.

    Do you know how to solve this error?

    Plugin Author Frank Goossens

    (@futtta)

    A conflict indeed Codenaam, no easy way to solve this but enabling/ disabling your other plugins one after the other I’m afraid.

    kind regards,
    frank

    Hi Frank, the conflict is with W3 Total Cache. I thought this was a little strange I must say, because this is a very commonly used plugin. However, when I disable W3 Total Cache the error disappears. Any thoughts what this could be?

    Plugin Author Frank Goossens

    (@futtta)

    I have several users who use W3TC & AO simultaneously. But you probably have some W3TC-minification-options active, which is a known no-go. Can you disable those (any HTML, CSS & JS optimization in W3TC)?

    Hi Frank, that did the trick! Thanks for your help.

Viewing 8 replies - 31 through 38 (of 38 total)
  • The topic ‘Autoptimize: problems & how to solve them’ is closed to new replies.