Warning messages appearing on site!
-
Hello guys, I am having problems on one site I am making only, the others seem to be working fine. the website is https://www.andrewpikeresearch.com
When I try to log into the website I just get two messages:
Notice: add_custom_background is deprecated since version 3.4! Use add_theme_support( ‘custom-background’, $args ) instead. in /home/andrewpi/public_html/wp-includes/functions.php on line 2628
and
Warning: Cannot modify header information – headers already sent by (output started at /home/andrewpi/public_html/wp-includes/functions.php:2628) in /home/andrewpi/public_html/wp-includes/pluggable.php on line 881
On the face of the website it only displays the first notice.
For the warning, I have found https://codex.www.ads-software.com/Answers-Troubleshooting#Headers_already_sent
Which seems to explain the answer, only I have opened functions.php in notepad and the first
<?php
is there but I can after scrolling down through masses of text on the last line I can not see?>
at all. So the correct thing to do would be to add it as the last thing on the page right?Would love to know what I can do to fix this.
Regards
laltoofan
- The topic ‘Warning messages appearing on site!’ is closed to new replies.