Project

General

Profile

Actions

Bug #16063

closed

PHP error after saving NTP settings with an interface selected

Added by steven warner about 2 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
NTPD
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
25.03
Release Notes:
Default
Affected Version:
2.8.0
Affected Architecture:
All

Description

System had one NTP server defined. Entered info for another NTP server by ip address, and selected save.
Gets "50x Error" displaying Services>NTP not - needs Boot Environment restore to clear error.

Crash report begins. Anonymous machine information:

amd64
15.0-CURRENT
FreeBSD 15.0-CURRENT #0 plus-RELENG_24_11-n256407-1bbb3194162: Fri Nov 22 05:08:46 UTC 2024 root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-24_11-main/obj/amd64/AKWlAIiM/var/jenkins/workspace/pfSense-Plus-snapshots-24_11-main/sources/FreeBS

Crash report details:

PHP Errors:
[24-Feb-2025 14:53:05 America/Los_Angeles] PHP Fatal error: Uncaught TypeError: explode(): Argument #2 ($string) must be of type string, array given in /usr/local/www/services_ntpd.php:54
Stack trace:
#0 /usr/local/www/services_ntpd.php(54): explode()
#1 {main}
thrown in /usr/local/www/services_ntpd.php on line 54

No FreeBSD crash data found.

Actions

Also available in: Atom PDF