• Resolved pdxchambers

    (@pdxchambers)


    My WordPress site is suddenly throwing the following error in the admin panel:

    Warning: Cannot modify header information – headers already sent by (output started at /home2/pdxchamb/public_html/wp-content/themes/PDXChambers2016/functions.php:236) in /home2/pdxchamb/public_html/wp-includes/pluggable.php on line 1228

    I tried to do my due diligence and found several prior posts and even an FAQ page with a potential solution, however even after following the instructions given (making sure there’s no whitespace at the end of the file, UTF-8 encoding, etc) I’m still getting the error. I even went as far as to remove all plugins from my site thinking it must be a bad plugin update that is causing the problem, but so far nothing has worked. It did work in the past, which is why I’m confused as to what the issue could be. So I thought I’d see what the community has to say.

    Here’s a pastebin of my functions.php, I’m just not seeing the problem.. perhaps a fresh pair of eyes will help…

    https://pastebin.com/bfw6PTx6

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

    (@pdxchambers)

    So I think I figured it out. I removed the final ?> tag from the code and when that didn’t work I decided to clean up the code a bit by minimizing the number of <?php ?> blocks. I ended up removing one ?> <?php combination at, you guessed it, line 236. That appears to have done the trick… all is well now.

Viewing 1 replies (of 1 total)
  • The topic ‘Cannot modify header information’ is closed to new replies.