• Resolved wpgirl3

    (@wpgirl3)


    Hello,

    I just updated to version 3.4. I need help with the below error:

    Warning: Cannot modify header information – headers already sent by (output started at /home/cryandcu/public_html/wp-content/themes/Jazzy/jazzy/functions.php:169) in /home/cryandcu/public_html/wp-includes/pluggable.php on line 881

    Line 169
    foreach ($users as $user ) {

    Line 881
    header("Location: $location", true, $status);

    Can someone please help me with this one. I don’t think there are any unnecessary spaces.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Did you check for white spaces that usually creates this error?
    If you can post your site URL?

    Thread Starter wpgirl3

    (@wpgirl3)

    Thanks for the response. The site is entirely new and there isn’t any content. I’m developing the theme from scratch.

    I don’t believe there are any extra spaces. Do you see any in the code I listed?

    It is not in the codes inside. The problem is related to white space that can exist in the beginning and the end. Check for it. Because white space cannot be seen you have to use backspace (for the beginning) and delete for the end and hold it deleting at least for 5 seconds.

    Thread Starter wpgirl3

    (@wpgirl3)

    I’ve fixed it. Thank you for your input!!!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Header Error Message’ is closed to new replies.