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.
Warning: Cannot modify header information - headers already sent by (output
started at /home/ezekiel/public_html/boxsponsive/wp-
content/themes/BoxSponsive-Portfolio/class.wp-less-styles.php:3) in
/home/ezekiel/public_html/boxsponsive/wp-includes/pluggable.php on line 934

So, I'm sure that you've all seen this error before for one reason or another. However, the problem is a bit different this time.

I've gotten rid of extra lines, made sure the file's encoding is right, basically, I've tried the usual fixes. There are no plugins on this site.

The code that seems to be causing the problem is here: http://pastebin.com/3TSDWhTS

I've used this code with no issues (on other servers) before, but I don't really know PHP... Can anyone spot the problem?

P.S. Telling me to remove lines at the top isn't working. Need other ideas...

Update: I feel like an idiot. There was a different file with the same bug (extra line), and that's why the error didn't go away. Rookie mistake, really.

share|improve this question
    
Finally it went off huh? Congrats! –  Rutwick Gangurde Oct 6 '11 at 15:03
add comment

2 Answers

up vote 0 down vote accepted

Goin with @One Trick Pony...

Change:

<?php /* You really don't want to touch this file if you don't know what you're doing. */     ?>

<?php

    class WP_LESS_Styles extends WP_Dependencies { ....

To:

<?php /* You really don't want to touch this file if you don't know what you're doing.*/

     class WP_LESS_Styles extends WP_Dependencies {...
share|improve this answer
add comment

remove:

?>

<?php

from lines 1 - 3.

The new line character is considered output.

share|improve this answer
    
I did this. Same problem. Doesn't change a thing. –  Ezequiel Oct 5 '11 at 15:15
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.