Actions
Bug #10248
closedPHP Warning: A non-numeric value encountered in /etc/inc/rrd.inc on line 418
Start date:
02/09/2020
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.5
Affected Architecture:
All
Description
Getting this on boot after upgrading to 2.4.5. Saw it on ARM and amd64.
Crash report begins. Anonymous machine information: amd64 11.3-STABLE FreeBSD 11.3-STABLE #75 db7485d7b99(factory-RELENG_2_4_5): Sun Feb 9 04:36:38 EST 2020 root@buildbot2-nyi.netgate.com:/build/factory-crossbuild-245/obj/amd64/OwEBqLPQ/build/factory-crossbuild-245/sources/FreeBSD-src/sys/pfSense Crash report details: PHP Errors: [09-Feb-2020 23:56:30 UTC] PHP Warning: A non-numeric value encountered in /etc/inc/rrd.inc on line 418 [09-Feb-2020 23:56:30 UTC] PHP Warning: A non-numeric value encountered in /etc/inc/rrd.inc on line 418 No FreeBSD crash data found.
Updated by Jim Pingle almost 5 years ago
- Target version set to 2.5.0
Looks like that line is trying to get bandwidth on an ALTQ queue.
$qbandwidth = $altq->GetBandwidth() * $factor;
Might need to cast that to int, like so:
$qbandwidth = (int) $altq->GetBandwidth() * $factor;
Nothing has changed in that code for ~10yrs so it must be something in the config that triggered it.
Updated by Jim Pingle almost 5 years ago
- Status changed from New to In Progress
- Assignee set to Jim Pingle
- Target version changed from 2.5.0 to 2.4.5
Updated by Jim Pingle almost 5 years ago
- Status changed from In Progress to Feedback
- % Done changed from 0 to 100
Applied in changeset 3c95346d32bf4b243b242b73f91c5204ebf16d86.
Updated by Chris Linstruth almost 5 years ago
This tests good here. No more errors. Thanks.
Updated by Jim Pingle almost 5 years ago
- Status changed from Feedback to Resolved
Actions