• I wanted to show the post format icon on homepage. I am using font awesome to add icon. Everything is showing fine. On local server there are no errors. But after I have uploaded to main server its showing these errors. Its showing when I update any post.

    What happened ? and How I can solve this. Please help.

    Here is the demo site link

    Warning: Cannot modify header information - headers already sent by (output started at /home/platform/public_html/demo/wp-content/themes/bdlifemag/inc/post-formats.php:3) in /home/platform/public_html/demo/wp-admin/post.php on line 233
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/platform/public_html/demo/wp-content/themes/bdlifemag/inc/post-formats.php:3) in /home/platform/public_html/demo/wp-includes/pluggable.php on line 896

    This code is on line 3:
    <?php if ( has_post_format( 'audio' ) ): ?>

    Note: There are no white space before php tag

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

The topic ‘Cannot modify header information – headers already sent’ is closed to new replies.