PHP error on 2.3.2 update
-
Getting this crash report after last update.
FreeBSD 10.3-RELEASE-p5 #127 0523c9e(RELENG_2_3): Sat Jun 25 05:34:41 CDT 2016 root@ce23-amd64-builder:/builder/pfsense/tmp/obj/builder/pfsense/tmp/FreeBSD-src/sys/pfSense
Crash report details:
PHP Errors:
[25-Jun-2016 20:32:42 MST] PHP Fatal error: Cannot redeclare interfaces_bring_up() (previously declared in /etc/inc/interfaces.inc:63) in /etc/inc/interfaces.inc on line 63
[25-Jun-2016 20:32:42 MST] PHP Stack trace:
[25-Jun-2016 20:32:42 MST] PHP 1. {main}() /usr/local/bin/dhcpd_gather_stats.php:0
[25-Jun-2016 20:33:44 MST] PHP Fatal error: Cannot redeclare interfaces_bring_up() (previously declared in /etc/inc/interfaces.inc:63) in /etc/inc/interfaces.inc on line 63 -
PR submitted:
https://github.com/pfsense/pfsense/pull/3021Edit: /usr/local/bin/dhcpd_gather_stats.php
Find:```
require("interfaces.inc");Replace with:``` require_once("interfaces.inc");
And error will not happen again.
-
Issue is still there in 2.3.3 and 2.3.3_p1
-
Issue is still there in 2.3.3 and 2.3.3_p1
Not really, don't necropost.
https://github.com/pfsense/pfsense/blob/RELENG_2_3/src/usr/local/bin/dhcpd_gather_stats.php