• vaderag

    (@vaderag)


    I’m creating a plugin to extend the userextra plugin that’s around on the web, and it was working fine the other day.
    I’m testing things out now, and I can’t log out…

    I get the following errors:

    Warning: Cannot modify header information - headers already sent by (output started at */public_html/wp-content/plugins/get-user-info.php:201) in */public_html/wp-login.php on line 12
    
    Warning: Cannot modify header information - headers already sent by (output started at */public_html/wp-content/plugins/get-user-info.php:201) in */public_html/wp-includes/pluggable.php on line 379
    
    Warning: Cannot modify header information - headers already sent by (output started at */public_html/wp-content/plugins/get-user-info.php:201) in */public_html/wp-includes/pluggable.php on line 380
    
    Warning: Cannot modify header information - headers already sent by (output started at */public_html/wp-content/plugins/get-user-info.php:201) in */public_html/wp-includes/pluggable.php on line 381
    
    Warning: Cannot modify header information - headers already sent by (output started at */public_html/wp-content/plugins/get-user-info.php:201) in */public_html/wp-includes/pluggable.php on line 382
    
    Warning: Cannot modify header information - headers already sent by (output started at */public_html/wp-content/plugins/get-user-info.php:201) in */public_html/wp-includes/pluggable.php on line 329

    I’ve looked around and the main thing seems to be whitespace that causes this. But it definately isnt that…

    What else could be causing it?!

    Please help! Thanks!

Viewing 1 replies (of 1 total)
  • Thread Starter vaderag

    (@vaderag)

    Found the problem!
    I had a stray </div> after the close of my function which caused the problem… d’oh!

Viewing 1 replies (of 1 total)
  • The topic ‘My plugin wont let me log out…’ is closed to new replies.