Project

General

Profile

Actions

Bug #14117

closed

PHP Error on ``status_interfaces.php`` from PPP interface uptime

Added by Jim Pingle over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
PPP Interfaces
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

Seems to require the "Uptime Logging" option enabled on a plain PPP type WAN (cell modem style, NOT PPPoE/L2TP/PPTP)

[16-Mar-2023 00:56:47 Europe/Berlin] PHP Fatal error:  Uncaught TypeError: Unsupported operand types: int + string in /etc/inc/pfsense-utils.inc:1585
Stack trace:
#0 /etc/inc/pfsense-utils.inc(1774): get_ppp_uptime('ppp0')
#1 /usr/local/www/status_interfaces.php(126): get_interface_info('opt2')
#2 {main}
  thrown in /etc/inc/pfsense-utils.inc on line 1585
Actions #1

Updated by Jim Pingle over 1 year ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #2

Updated by Danilo Zrenjanin over 1 year ago

  • Status changed from Feedback to Resolved

Tested on the:

23.01-RELEASE (amd64)
built on Fri Feb 10 20:06:33 UTC 2023
FreeBSD 14.0-CURRENT

The patch fixes the issue. I am marking this ticket resolved.

Actions #3

Updated by Jim Pingle over 1 year ago

  • Category changed from Interfaces to PPP Interfaces
Actions #4

Updated by Jim Pingle over 1 year ago

  • Affected Version set to 2.7.0
Actions

Also available in: Atom PDF