• This is new. Receiving this error on a website that’s been up and running since 2009. All of a sudden now it has this issue:

    Warning: Cannot modify header information – headers already sent by (output started at /home/lynnha9/public_html/wp-includes/comment-template.php:1) in /home/lynnha9/public_html/wp-admin/post.php on line 197

    Warning: Cannot modify header information – headers already sent by (output started at /home/lynnha9/public_html/wp-includes/comment-template.php:1) in /home/lynnha9/public_html/wp-includes/pluggable.php on line 1174

    EDIT – in addition to this, my stats don’t show in the admin header – they are a broken image. And, the image uploader is sort of working. it uploads the image, but does not successfully set featured image.

    • This topic was modified 7 years, 5 months ago by mediaseth.
Viewing 10 replies - 1 through 10 (of 10 total)
  • Moderator t-p

    (@t-p)

    Thread Starter mediaseth

    (@mediaseth)

    Thanks. It did say that it could be the fault of a plugin, and I recently updated a bunch of them. I always do updates. Problem is I don’t have a plugin active that I don’t NEED for something…

    Thread Starter mediaseth

    (@mediaseth)

    Also, how is that related to my media gallery no longer loading and featured images not working? This all happened together.

    Moderator t-p

    (@t-p)

    It did say that it could be the fault of a plugin,

    Find out which plugin, then let the developer of that plugin know about the issue so they can take action as appropriate.

    This can also be resolved on the server level, by altering your PHP configuration. Try to enable output_buffering (or ask your hosting company to do it). This should also allow you to resolve it.

    This error occurs because multiple scripts are generating “header”-code, while the server only expects to get it once. By setting output_buffering active, all of the “header”-code will be collected in a buffer and treated in one run.

    Thread Starter mediaseth

    (@mediaseth)

    Thank you. Output buffering didn’t fix it. I’ve been unable to identify a plugin. I’ve sought other support, and that person is suggesting I hire a developer. That’s out of my budget. It’s all still a mystery.

    Remember, it’s not just the PHP errors. It’s my media gallery not loading in the dashboard, though I can still upload to it. It’s not letting me place featured images in posts or calendar events. It’s not loading either my jetppack stats or my google stats.

    I’m getting a lot of seemingly unrelated issues all at once. And suddenly. Yesterday, all was just fine.

    Moderator t-p

    (@t-p)

    Thread Starter mediaseth

    (@mediaseth)

    Someone fixed the php header errors for me. My VPS host said to dump “wp super cache” for w3 cache. Done. No errors. However…

    Under w3 cache, configured as my host recommends, my site is slower than with no cache at all. Seriously. Though a slightly different topic, can someone recommend a cache besides super cache or w3 that may work better?

    Moderator t-p

    (@t-p)

    fixed the php header errors

    Glad to know it 🙂

    can someone recommend a cache besides super cache or w3

    check out https://wordpress.org/plugins/simple-cache/

    Thread Starter mediaseth

    (@mediaseth)

    Thanks. W3 cache is soooo slow. I must have something wrong in the settings, though I went with what was recommended. When I have time later, I will check out simple cache. Thank you.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Cannot modify header information when trying to post??’ is closed to new replies.