Project

General

Profile

Actions

Regression #13942

closed

PHP error on ``status_logs_settings.php`` if the configuration contains an empty ``syslog`` section

Added by Marcos M almost 2 years ago. Updated over 1 year ago.

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

100%

Estimated time:
Plus Target Version:
23.05
Release Notes:
Default
Affected Version:
2.7.0
Affected Architecture:

Description

See:
https://forum.netgate.com/topic/177633/logs-not-updating-on-23-01

[06-Feb-2023 18:19:00 America/New_York] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/status_logs_settings.php:72
Stack trace:
#0 {main}
  thrown in /usr/local/www/status_logs_settings.php on line 72

config.xml contains:

<syslog></syslog>

Actions

Also available in: Atom PDF