Warning: Cannot modify header information – headers… WordPress

I never noticed any problems with my WordPress blogs until I created one with Member Access plugin activated and used it to redirect reader to a log-in page. Actually at any pages loaded, the warning would show up on the side bar

warning headers

Warning: Cannot modify header information – headers already sent by (output started at /home/xxxx/public_html/ihp307x/wp-conten/theme/idogwp/header.php:2) in /home/xxxx/public_html/wp/wp-includes/pluggable.php on line 866

I used the same theme structure for all my blogs and none of them got problems until this one. The problem is created by Member Access plugin – when I deactivated and deleted – the problem is gone- Now I use WordPress Access Control and it works fine. It took me almost a day to find this problem. Every time we got a problem of something, deactivate all latest plugins to see which one caused the problems.

Deactivate

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.