• When w3tc-wp-loader.php is generated, it has a blank line 1 before the php tag appears on line 2. This causes the error w3 cannot modify header information - headers already sent and causes the auto-minify name length test to fail. I removed the blank line and everything works perfect.

    I have tried this as a fresh install on multiple linux servers with the same errors as well as the same fix.

    https://wordpress.org/plugins/w3-total-cache/

Viewing 1 replies (of 1 total)
  • Ahh i see the bug in /lib/W3/Environment/WpLoader.php line 26. Yup, the author indeed has a CRLF by mistake. I can see how that would be missed when coding. Seems this bug would pop up for those who’s wp directory structure isn’t following a known standard. I’ve modified my forked file to include the fix. Thanks for the heads up.

    And although not related to your case for those who do read this and want to disable this wp loader check just add: define(‘DONOTVERIFY_WP_LOADER’, true); to wp-config.php.

Viewing 1 replies (of 1 total)
  • The topic ‘Bug – AutoMinify Error’ is closed to new replies.