The server logfile is filling up pretty fast with php errors. I'd like to reduce the errors.
Some of them I have solved but these three I do not understand:
1) Totally not understood:
Code: Select all
AH01071: Got error '
PHP message: PHP Warning: Invalid argument supplied for foreach() in /var/www/clients/client13104/web75415/web/get-USNO-sunmoon.php on line 361
PHP message: PHP Warning: Invalid argument supplied for foreach() in /var/www/clients/client13104/web75415/web/get-USNO-sunmoon.php on line 372',
referer: https://www.meteo-wagenborgen.nl/wxutilsmap.php
2) Also totally not understood:
Code: Select all
AH01071: Got error '
PHP message: PHP Notice: A non well formed numeric value encountered in /var/www/clients/client13104/web75415/web/ajax-dashboard.php on line 526
PHP message: PHP Notice: A non well formed numeric value encountered in /var/www/clients/client13104/web75415/web/ajax-dashboard.php on line 526'
Code: Select all
AH01071: Got error '
PHP message: PHP Notice: Undefined variable: sharedir in /var/www/clients/client13104/web75415/web/wxgraphs.php on line 121
PHP message: PHP Notice: Undefined variable: sharedir in /var/www/clients/client13104/web75415/web/wxgraphs.php on line 122
PHP message: PHP Notice: Undefined variable: sharedir in /var/www/clients/client13104/web75415/web/wxgraphs.php on line 123
PHP message: PHP Notice: Undefined variable: sharedir in /var/www/clients/client13104/web75415/web/wxgraphs.php on line 124'
Code: Select all
AH01071: Got error 'PHP message: PHP Warning: Use of undefined constant m - assumed 'm' (this will throw an Error in a future version of PHP) in /var/www/clients/client13104/web75415/web/wxnoaarecords-include.php on line 612'
Do the Check-Fetch-Times here, I use PHP version 7.3.7
Could you help? Thnx.