Project

General

Profile

Actions

Bug #8905

closed

status_logs_settings.php PHP errors on 2.4.4 snapshots

Added by Jason Unovitch over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Logging
Target version:
Start date:
09/16/2018
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.4
Affected Architecture:
All

Description

Info:

Working on testing the latest snapshots and I'm unable to add remote syslog on 2.4.4 snapshot (pfSense-2.4.4.a.20180903.1144). I do not see this mentioned in an issue or any commits to the file just yet. Not a PHP guy so figured I'd report as first priority.

Steps to repro:

  1. Go to "Status" -> "System Logs"
  2. Go to "Settings"
    1. Set "Enable Remote Logging" checkbox
    2. Set a remote log server and contents
    3. Attempt to save.

Results:

Warning: Illegal string offset 'reverse' in /usr/local/www/status_logs_settings.php on line 109 Warning: Cannot assign an empty string to a string offset in /usr/local/www/status_logs_settings.php on line 109 Warning: Illegal string offset 'nentries' in /usr/local/www/status_logs_settings.php on line 110 Fatal error: Uncaught Error: Cannot unset string offsets in /usr/local/www/status_logs_settings.php:116 Stack trace: #0 {main} thrown in /usr/local/www/status_logs_settings.php on line 116 PHP ERROR: Type: 1, File: /usr/local/www/status_logs_settings.php, Line: 116, Message: Uncaught Error: Cannot unset string offsets in /usr/local/www/status_logs_settings.php:116 Stack trace: #0 {main} thrown


Files

8905-status_logs_settings.php.diff (567 Bytes) 8905-status_logs_settings.php.diff Jim Pingle, 09/18/2018 08:57 AM
Actions

Also available in: Atom PDF