Headers already sent error (3 posts)

  1. redkitecreative
    Posted 5 years ago #

    Whenever I try to post on my site-in-progress, I get this error:

    Warning: Invalid argument supplied for foreach() in /home/user/public_html/projects/prayer/wp-includes/post.php on line 2347

    Warning: Cannot modify header information - headers already sent by (output started at /home/user/public_html/projects/prayer/wp-includes/post.php:2347) in /home/user/public_html/projects/prayer/wp-includes/pluggable.php on line 890

    I checked post.php, according to the WP FAQ Troubleshooting page it's supposed to end in ?> but didn't. I added that but it made no difference, same error when trying to post. Can someone help?

  2. redkitecreative
    Posted 5 years ago #

    I did check the whitespace before and after the code on posts.php per the FAQ.

    When I look at one of the test posts' HTML I see this: <p>\r\n\r\n</p> and this: I\d rather than I'd.

  3. elfin

    Posted 5 years ago #

    Try deactivating any plugins you have, does that fix it?

Topic Closed

This topic has been closed to new replies.

About this Topic