Bug #7134
closedCrash in the gui related to widget
100%
Description
From thread : https://forum.pfsense.org/index.php?topic=124155.0
Other people seems to have the same bug.
My crash info :
amd64
11.0-RELEASE-p6
FreeBSD 11.0-RELEASE-p6 #67 69cfe67ee69(RELENG_2_4): Tue Jan 17 18:35:56 CST 2017 root@buildbot2.netgate.com:/builder/ce/tmp/obj/builder/ce/tmp/FreeBSD-src/sys/pfSense
Crash report details:
PHP Errors:
[18-Jan-2017 01:26:13 America/Toronto] PHP Warning: Invalid argument supplied for foreach() in /usr/local/www/widgets/widgets/interface_statistics.widget.php on line 137
[18-Jan-2017 01:26:13 America/Toronto] PHP Stack trace:
[18-Jan-2017 01:26:13 America/Toronto] PHP 1. {main}() /usr/local/www/index.php:0
[18-Jan-2017 01:26:13 America/Toronto] PHP 2. include_once() /usr/local/www/index.php:401
[18-Jan-2017 01:26:14 America/Toronto] PHP Warning: Invalid argument supplied for foreach() in /usr/local/www/widgets/widgets/interface_statistics.widget.php on line 137
[18-Jan-2017 01:26:14 America/Toronto] PHP Stack trace:
[18-Jan-2017 01:26:14 America/Toronto] PHP 1. {main}() /usr/local/www/index.php:0
[18-Jan-2017 01:26:14 America/Toronto] PHP 2. include_once() /usr/local/www/index.php:401
[18-Jan-2017 01:26:16 America/Toronto] PHP Warning: Invalid argument supplied for foreach() in /usr/local/www/widgets/widgets/interface_statistics.widget.php on line 137
[18-Jan-2017 01:26:16 America/Toronto] PHP Stack trace:
[18-Jan-2017 01:26:16 America/Toronto] PHP 1. {main}() /usr/local/www/index.php:0
[18-Jan-2017 01:26:16 America/Toronto] PHP 2. include_once() /usr/local/www/index.php:401
[18-Jan-2017 01:32:55 America/Toronto] PHP Warning: Invalid argument supplied for foreach() in /usr/local/www/widgets/widgets/interface_statistics.widget.php on line 137
[18-Jan-2017 01:32:55 America/Toronto] PHP Stack trace:
[18-Jan-2017 01:32:55 America/Toronto] PHP 1. {main}() /usr/local/www/index.php:0
[18-Jan-2017 01:32:55 America/Toronto] PHP 2. include_once() /usr/local/www/index.php:401
[18-Jan-2017 01:34:22 America/Toronto] PHP Warning: Invalid argument supplied for foreach() in /usr/local/www/widgets/widgets/interface_statistics.widget.php on line 137
[18-Jan-2017 01:34:22 America/Toronto] PHP Stack trace:
[18-Jan-2017 01:34:22 America/Toronto] PHP 1. {main}() /usr/local/www/index.php:0
[18-Jan-2017 01:34:22 America/Toronto] PHP 2. include_once() /usr/local/www/index.php:401
[18-Jan-2017 11:14:38 America/Toronto] PHP Warning: Invalid argument supplied for foreach() in /usr/local/www/widgets/widgets/interface_statistics.widget.php on line 137
[18-Jan-2017 11:14:38 America/Toronto] PHP Stack trace:
[18-Jan-2017 11:14:38 America/Toronto] PHP 1. {main}() /usr/local/www/index.php:0
[18-Jan-2017 11:14:38 America/Toronto] PHP 2. include_once() /usr/local/www/index.php:401
No FreeBSD crash data found.
Updated by Jim Pingle almost 8 years ago
- Status changed from New to Confirmed
This also happens on 2.3.3
Updated by Jim Pingle almost 8 years ago
- Status changed from Confirmed to Feedback
- % Done changed from 0 to 100
Applied in changeset ffb0c1822875bc0ea1e2b7b73109fa0f97c0b6d2.
Updated by Phillip Davis almost 8 years ago
If you have just the Interface Statistics widget on the dashboard (and not the Interfaces widget also) then you still get this PHP error crash report.
Proposed "final solution" in PR https://github.com/pfsense/pfsense/pull/3396
Updated by Jim Pingle almost 8 years ago
- Status changed from Feedback to Resolved
Your fix looks good, Phil. The system I could replicate this on is no longer producing errors after a gitsync.
Thanks!
Updated by Jim Pingle almost 8 years ago
- Target version changed from 2.4.0 to 2.3.3