• Resolved rosscooper

    (@rosscooper)


    I am trying to write a plugin that gives the option to redirect users after login but I am having problems when adding custom fields to the user profile area.
    http://www.codeshare.io/NUq6D
    It adds the fields just find but as soon as I save the user profile I get this message:
    Warning: Cannot modify header information – headers already sent by (output started at /home/rosscooper/public_html/Itsupport/wp-content/plugins/redirect-after-login/redirect-after-login.php:1) in /wp-includes/pluggable.php on line 1178

    Which I know is to do with something in the headers being changed after output has begun but as far as I’m aware my code shouldn’t do that.

    Any help fixing this is greatly appreciated

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Cannot modify header information error user profile action hooks’ is closed to new replies.