• Resolved karenbush

    (@karenbush)


    Hi David,

    This private family site has been working perfectly until recently. Now when we type in the url, we get this error message:

    Warning: Cannot modify header information – headers already sent by (output started at /home/*****/public_html/reunion/wp-content/themes/Memoir/page-blog.php:20) in /home/*****/public_html/reunion/wp-includes/pluggable.php on line 1196

    (I took out the server name. I hope that doesn’t matter to your consideration of this problem.)

    Thanks for your help in solving this mystery.

    https://wordpress.org/plugins/jonradio-private-site/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter karenbush

    (@karenbush)

    I should have mentioned that I checked with my theme’s support forum first. They suggested disabling plugins, which I did, one a a time, and the warning doesn’t appear when I disable “My Private Site.” Of course then it’s not private.

    Plugin Author David Gewirtz

    (@dgewirtz)

    Not a lot I can do to help, except to ask if you know of any recent changes? Did you update a theme, a plugin, WordPress? Change hosts? Add any new plugins?

    The reason I ask is if you know what changed, there’s at least some direction to go look.

    Another approach is to switch themes temporarily and see if the problem goes away. You could also try re-downloading the plugin from the repository, but that’s more for completionist sake than for any tangible benefit.

    Thread Starter karenbush

    (@karenbush)

    Thanks for the reply, David. Yes, there have been WordPress updates since I set up the site in December. My WordPress installation is fully up to date. I also added the TablePress plugin and Post Notifications by Email plugin. Deactivating those does not solve the problem, but deactivating Jonradio Private Site does.

    Thread Starter karenbush

    (@karenbush)

    The theme is Memoir by Elegant Themes. I reinstalled it but that didn’t help.

    “headers already sent” errors can sometimes be diagnosed by turning on WP_DEBUG just long enough to test. Previously unseen messages are sometimes displayed.

    Details at https://codex.wordpress.org/Debugging_in_WordPress#WP_DEBUG

    Thread Starter karenbush

    (@karenbush)

    Thanks Jonradio for this suggestion.

    Plugin Author David Gewirtz

    (@dgewirtz)

    Thanks Jon. I fyou turn on WP_DEBUG, use the three defines specified in Brad’s article:

    https://deliciousbrains.com/why-use-wp-debug-log-wordpress-development/

    That way, data goes to a file and not to your screen, especially since you’re having display/rendering issues.

    Also, have you tried a different theme, say the standard Twenty Fifteen theme, just to see if the behavior changes?

    –David

    Thread Starter karenbush

    (@karenbush)

    I finally did have to revise the site using a standard theme. The plugin works, so I have to assume the issue is between Memoir and the newer WordPress updates.

    Thanks for your time with this.

    Plugin Author David Gewirtz

    (@dgewirtz)

    Anytime. I know that Nick and the folks at Elegant Themes have been focusing on Divi and their plugins for the last year or two. so Memoir might be a bit out of date by now.

    Let me know if you need any additional help.

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

The topic ‘Cannot modify header information’ is closed to new replies.