Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm adding WP Total Cache to my site but whenever I enable minification I get the following message in the minified javasctipt file:

<br /> <b>Warning</b>: Cannot modify header information - headers already sent by (output started at /nfs/c08/h04/mnt/152547/domains/craigmdennis.com/html/content/plugins/w3tc-wp-loader.php:2) in <b>/nfs/c08/h04/mnt/152547/domains/craigmdennis.com/html/content/plugins/w3-total-cache/lib/Minify/Minify.php</b> on line <b>325</b><br /> <br />

Which repeats about half-a-dozen times before the actual minified code appears. The minification is happening as it's output after the error message.

Can anyone help?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.