I have come across a rather concerning issue with my theme that continues to crash my site whenever I enter a new post. I turned on debugging and I'm given the following errors messages:
Cannot modify header information - headers already sent by output started at /Applications/MAMP/htdocs/wp-loveday/wp-content/themes/loveday/functions.php:3
As well as
Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/wp-loveday/wp-content/themes/loveday/functions.php:3) in /Applications/MAMP/htdocs/wp-loveday/wp-includes/pluggable.php on line 1171
I probably didn't need to include the localhost info, but you can never be too sure.
I'm really confused about this as it appears that the errors are coming from WordPress specific components.
I'm still pretty new to the WordPress platform, and these errors are making my life hell at the moment. I have also noticed that none of my media assets are showing up in Media Library.
Any help or advice on what the hell is happening here will be greatly appreciated!