Project

General

Profile

Actions

Bug #9558

closed

GPS NTP source PHP errors

Added by Steve Wheeler over 5 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
NTPD
Target version:
Start date:
05/28/2019
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.x
Affected Architecture:
All

Description

The output from a non-sync'd GPS set as an NTP source produces PHP errors in the NTP status. Both the main status page and the widget.

PHP Warning:  A non-numeric value encountered in /usr/local/www/widgets/widgets/ntp_status.widget.php on line 74
PHP Warning:  A non-numeric value encountered in /usr/local/www/widgets/widgets/ntp_status.widget.php on line 76
PHP Warning:  A non-numeric value encountered in /usr/local/www/widgets/widgets/ntp_status.widget.php on line 87
PHP Warning:  A non-numeric value encountered in /usr/local/www/widgets/widgets/ntp_status.widget.php on line 89
PHP Warning:  A non-numeric value encountered in /usr/local/www/status_ntpd.php on line 131
PHP Warning:  A non-numeric value encountered in /usr/local/www/status_ntpd.php on line 133
PHP Warning:  A non-numeric value encountered in /usr/local/www/status_ntpd.php on line 118
PHP Warning:  A non-numeric value encountered in /usr/local/www/status_ntpd.php on line 120
Actions

Also available in: Atom PDF