WordPress.org

Support

Support » Plugins and Hacks » WP User Frontend » [Resolved] [Plugin: WP User Frontend] Header already sent error in editprofile page

[Resolved] [Plugin: WP User Frontend] Header already sent error in editprofile page

  • When a profile is edited on the frontend everything works fine, except if the password is changed.

    The function works (the password is changed) but I get about 10 errors:
    Warning: Cannot modify header information – headers already sent by (output started at header.php:4) in /wp-includes/pluggable.php on line 686,687 and so on…

    These are the first 4 lines of my header.php :
    <!DOCTYPE html>
    <html dir=”ltr” lang=”en-US” xmlns:fb=”http://ogp.me/ns/fb#”>
    <head>
    <meta charset=”<?php bloginfo( ‘charset’ ); ?>” />

    I can’t find anything thats wrong there.

    And the line in pluggable.php refers to some setcookies functions.

    I have found some other thread about this issue, and you posted a solution (This Thread), however the thread is 5/6 months old and the solution does not work anymore..

    Anyone got any answers for this error?
    Thanks!

    http://wordpress.org/extend/plugins/wp-user-frontend/

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’ve tried this with the TwentyTen and TwentyEleven theme, both give the same error. The error line is always where the php in header.php starts.

    Fixed!

    Added this code to my theme functions.php file:

    //allow redirection, even if my theme starts to send output to the browser
    add_action('init', 'do_output_buffer');
    function do_output_buffer() {
            ob_start();
    }

    Hi, I’m out of topic, but, please, I’d like to know how you linked the profile editing page with the User Frontend Edit page (where I wrote the code [wpuf_editprofile]) 🙂
    Is it possible for you to tell me such basical information? I didn’t find an answer yet!

    Thank you,
    Rocco 🙂

    I do not understand your question? If you put the [wpuf_editprofile] shortcode into a certain page, then that page is your User Frontend editprofile page..

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] [Plugin: WP User Frontend] Header already sent error in editprofile page’ is closed to new replies.
Skip to toolbar