Important Update Fix
Paul Cracknell | Jul 21, 2009 | Comments 8
This is an important update if you have had any errors relating to the the header being already sent from Breathe version 1.4.
Warning: Cannot modify header information – headers already sent by (output started at /hsphere/local/home/blah/yoursite.com/wp-content/themes/breathe/functions.php:21) in /hsphere/local/home/blah/yoursite.com/wp-includes/pluggable.php on line 850
If you have made changes to the Theme, these will be over written when you update, including the header.jpg. This does not include the changes to the navigation plugin and therefore the navigation bar. If you would like to just fix this problem without updating the entire theme upload the functions.txt file. Rename this file functions.php and save it, then replace it with your FTP in the Breathe Theme. Alternatively cut and paste this into your functions.php file through the admin.
Filed Under: Updates
About the Author: Paul has been designing and running websites for since 1999 with his first site being a travel resource for backpackers. There have been many since then and now his latest interest is Wordpress Themes.
What is this error I am getting, and help would be appreciated?
paulacowan.net
Fatal error: Only variables can be passed by reference in /home/content/c/a/r/carmenco/html/paulacowan/wp-content/themes/breathe/functions.php on line 40
Joel,
It looks like it is a conflict in the functions.php file. Please read and follow the above instructions. This should resolve the problem.
One more error message. I replaced the (formerly long?) functions.php file with the text and still have errors. Including:
Warning: Cannot modify header information – headers already sent by (output started at /home/shoumato/public_html/edwin/wp-content/themes/breathe/functions.php:12) in /home/shoumato/public_html/edwin/wp-includes/classes.php on line 1586
Thanks! Andre at shoumatoffmedia.com
Php is very sensitive to formatting, spaces can cause errors. Generally this is at the end of the text. Place your cursor at the end of the text behind the ?> and then press the delete key for a few seconds. Save the file and see how that goes. Alternatively I can e-mail you a replacement functions.php file which you could upload viea ftp into the theme. Hope this helps. Paul
Hi Paul. I really like your template. I am having one issue. I haven’t changed anything from the default install, yet, in Firefox..there is a gap between the main image and the bottom menu-bar. I’ve tried a couple computers, and the result is the same. In IE, it looks fine…firefox is the only culprit. When I go your Breathe site..it too looks fine in Firefox…it’s just my installed theme. Any ideas?
I have checked your site in Firefox, IE, Opera and Flock and it looks fine. It is probably an error that is now stored in the browser cache, press F5 while your page is displayed in FF and see if that resolves your problem.
Thanks. It must be some kind of setting I haven’t thought of…but if it’s just my computers, then I won’t worry about. Thanks for your response.
I found the issue. In case you want to take note of it in case you ever get the question again…the font size in my firefox was set too high for that page. Firefox>>Options>>Content …change the size to 16, which I think is the default. It removed the formatting gap on my page. I changed all the colors, I know nothing about HTML, but I was able to customize your template…good job.