Guys, I think I just solved the problem! Edit your php.ini file and make sure that you have
output_buffering = Off
Hope this helps!
I too am getting this error ad different places. I am getting it when trying to upload a picture (it uploads the picture and then crashes), when trying to view pictures that have already been uploaded, etc. The error is:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 7 bytes) in /wp-includes/formatting.php on line 31
Edit your php.ini file and make sure you have:
output_buffering = Off