WordPress.org

Ready to get started?Download WordPress

Forums

Debug Bar Console
Error : Headers already sent (2 posts)

  1. krembo99
    Member
    Posted 2 years ago #

    1 - thanks for the plugin, it is great .
    2 - your plugin (0.3) sends an error Headers already sent .

    This will happen only on some server configurations (not all)

    To fix this, you just need to make sure that there are no white spaces, carriage returns etc, after the last line.

    It is a known problem of WP .
    You can find more about it here :
    http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F

    Another good practice (and sometimes the cause of said error) is to CLOSE all the <?php tags with ?>

    After fixing those two issues the problems are solved and the plugin is great .

    BTW - the same apply for the Debug bar plugin.

    http://wordpress.org/extend/plugins/debug-bar-console/

  2. krembo99
    Member
    Posted 2 years ago #

    Regarding my last post here :

    I know that omitting the php closing tag is recommended by the wp coding standards, but in this case it still produced the error .
    I do not have the perfect solution but in my case adding this closing tag solved the problem.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.