thought I would bring this to your attension, though not sure if anyone else actually gets this error message themselves, I would guess most do not look at error logs on their webserver
Lately I have noticed many errors listed like so:
Code: Select all
[Mon Aug 14 12:10:34.811473 2017] [php7:warn] [pid 3401:tid 140485525542656] [client xx.xxx.xxx.xx:50973] PHP Warning: Cannot modify header information - headers already sent by (output started at /share/xxxxxx/xxxxx/top.php:146) in /share/xxxxxx/xxxxx/htdocs/weather/header.php on line 34
one however showed the following..
Source: https://stackoverflow.com/questions/802 ... ror-in-php
the error I shows has on line 146: print $FlyoutCSS;Typical causes:
Print, echo
Intentional output from print and echo statements will terminate the opportunity to send HTTP headers. The application flow must be restructured to avoid that. Use functions and templating schemes. Ensure header() calls occur before messages are written out.
Functions that produce output include
print, echo, printf, vprintf
trigger_error, ob_flush, ob_end_flush, var_dump, print_r
readfile, passthru, flush, imagepng, imagejpeg
among others and user-defined functions.
So is this could possibly an issue with my PHP 7.1.8 and Apache 2.4.27 setup perhaps?
I'm really just curious as on the website it appears everything is working fine.