Sorry for the brief hiatus. I upgraded my WordPress installation to version 2.1 late last week and have been chasing down a vexing bug ever since. The upgrade went smoothly enough, and everything seemed to be working just fine… until I tried to save some changes to my sidebar widgets. My admin panel would return the dreaded “Cannot modify header information” error. Now, I’ve been hanging around the WordPress forums long enough to know that this error is often caused by excess white space either before or after the opening or closing php tags on the page specified in the error, which was /wp-includes/functions.php. But no matter how many times I tried to fix it, the error persisted. I even did a clean installation of WordPress on another server and copied the virgin functions.php file over here. No luck. Finally, as I was tinkering around today, I remembered the functions.php file in my current theme’s directory. It’s not in the /wp-includes/ directory, but I figured I’d give it a shot. Sure enough, after I deleted the excess whitespace, everything was fixed.
So the moral of the story is, if you get a “Cannot modify header information” error pointing to your /wp-includes/functions.php file, don’t forget to also check the functions.php file that’s part of your WordPress theme.
Now, back to our regularly scheduled iPod content.