Project

General

Profile

Actions

Bug #14117

closed

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

Added by Jim Pingle about 1 year ago. Updated 10 months 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

Also available in: Atom PDF