Private-WP Header Error
-
I’m having an issue using Private-WP plugin with the Daffodil theme that’s giving me the following error when I try to access the site:
“Warning: Cannot modify header information – headers already sent by (output started at /home2/sistasun/public_html/wp-content/themes/daffodil/page.php:1) in /home2/sistasun/public_html/wp-includes/pluggable.php on line 934”
The research I’ve done in these forums tells me to look for non-printing characters (white space, etc.), which I’ve done, but haven’t had any luck so far. I’ve narrowed the issue down to the Private-WP plugin conflicting with my theme, meaning when I disable the plugin the error goes away.
Also, when I remove the following line from the end of the plugin, the error goes away:
add_action('get_header', 'private_wp');
I’ve looked in several files to try to find white space issues, including my theme’s index.php file, wordpress’s pluggable.php file, the theme’s page.php file, the functions.php file, and any other file I’ve seen suggested in the forum archives, but can’t seem to find a problem here.
Can anyone shed some light on the situation?
Oh, and FYI I’m using notepad2, which shows me white spaces, but I’m not sure if there are other non-printing characters I should keep my eye out for.
Caveat: I am not really that adept at php or web design…please take it easy on me. =)
Thanks in advance!
- The topic ‘Private-WP Header Error’ is closed to new replies.