
I just recently upgraded a bunch of WordPress 2.5.1 blogs to 2.7 at work. Everything seemed to have gone perfectly until I got a call from someone who was trying to edit a draft she was working on. Everytime she clicked the ‘edit’ button, WordPress went to the post preview page and threw a couple of errors:
At the top of the page it said: ‘Post Preview (updated when post is saved)’
Then, towards the bottom, there were two more seemingly related errors:
"Warning: Cannot modify header information – headers already sent by (output started at /var/www/rchsupdates/wp-content/plugins/preview-frame.php:43) in /var/www/rchsupdates/wp-includes/functions.php on line 698"
"Warning: Cannot modify header information – headers already sent by (output started at /var/www/rchsupdates/wp-content/plugins/preview-frame.php:43) in /var/www/rchsupdates/wp-includes/functions.php on line 699"
After searching all over including several posts on the WordPress forums, the only thing I could come up with was that there was white space before or after the tags in the wp-config file. I checked, double checked and checked again but no matter how many times I hit ‘delete’, there was no white space to be found.
I decided to go and deactivate all my plugins…like magic, everything was working perfectly again. The culprit in my case was the ‘Preview Frame’ plugin that was for adding the ‘Preview’ button back after WP took it out with an update.
I did some more searching now that I knew what the problem was and I found several other people who had this issue, but with different plugins.
Just goes to show, if you’re ever having problems with WordPress, deactivating your plugins should be one of your first steps in troubleshooting.
Related posts:
Related posts brought to you by Yet Another Related Posts Plugin.