WordPress.org

Ready to get started?Download WordPress

Forums

Favatar problems (2 posts)

  1. Darakian
    Member
    Posted 8 years ago #

    Alright well after finding my loop recently (page.php) I wanted to use favatars in my blog. Now I entered the needed
    <?php comment_favicon(); ?>
    into the loop, and I get this after enabling the plugin, this is only viewable from the site admin pages.
    Warning: Cannot modify header information - headers already sent by (output started at /homepages/37/d127810568/htdocs/wp-content/plugins/Favatar.php:2) in /homepages/37/d127810568/htdocs/wp-admin/admin.php on line 10

    Warning: Cannot modify header information - headers already sent by (output started at /homepages/37/d127810568/htdocs/wp-content/plugins/Favatar.php:2) in /homepages/37/d127810568/htdocs/wp-admin/admin.php on line 11

    Warning: Cannot modify header information - headers already sent by (output started at /homepages/37/d127810568/htdocs/wp-content/plugins/Favatar.php:2) in /homepages/37/d127810568/htdocs/wp-admin/admin.php on line 12

    Warning: Cannot modify header information - headers already sent by (output started at /homepages/37/d127810568/htdocs/wp-content/plugins/Favatar.php:2) in /homepages/37/d127810568/htdocs/wp-admin/admin.php on line 13

    now lines 10 through 13 are as follows
    header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
    header('Cache-Control: no-cache, must-revalidate, max-age=0');
    header('Pragma: no-cache');

    13 is a blank line. This also shows up the same error after commenting (comment gets put down however). I am lost with this, any direction would be helpful.

  2. techwench
    Member
    Posted 8 years ago #

    Check the favatar.php for any extra spaces or blank lines before the opening <?php or after the closing ?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.