• I’m hoping someone can tell me how to fix this. Here’s what’s showing up above my blog theme:

    Warning: Cannot modify header information – headers already sent by (output started at /home/madaan2/public_html/wp-content/plugins/worst-offenders/classes/litmus.php:24) in /home/madaan2/public_html/wp-includes/functions.php on line 698

    Warning: Cannot modify header information – headers already sent by (output started at /home/madaan2/public_html/wp-content/plugins/worst-offenders/classes/litmus.php:24) in /home/madaan2/public_html/wp-includes/functions.php on line 699

    I have no idea how it got there and hitting ‘delete’ just isn’t getting it. I checked the CSS code, nothing. Also checked the header php, nothing there either.

    It shows up in my dashboard, and when I look at the blog – my post header has slipped down.

    Thank you in advance for any suggestions on how to fix it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Warning: Cannot modify header information – headers already sent by

    See http://codex.ww.wp.xz.cn/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F

    The warning is calling for

    plugins/worst-offenders/

    Try deactivating that plugin. If that alone doesn’t work, deactivate all plugins, and then reactivate one by one, to see which ones are conflicting.

    Some themes dont work well with some plugins. Do disable the worst-offenders plugin and see what happens. Alternatively try changing your theme to the default and see if it would work with the plugin.

    ear1grey

    (@ear1grey)

    The problem was due to the line:
    echo("\n<!-- Query is: $q -->\n");
    which is there for debugging purposes.

    If I get time I’ll get a proper release out…
    I just quit my job so that I have more time.

    Also the notes section does mention that the current release is for developers “only”, but it’s great that you wanted to use it!

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

The topic ‘How do I fix this: Code above theme?’ is closed to new replies.