PHP Parse error: syntax error, unexpected with latest snapshot
-
when opening the routing page, I get this error message and unable to access the routing page.
amd64
12.0-RELEASE-p10
FreeBSD 12.0-RELEASE-p10 fe839027797(RELENG_2_5) pfSenseCrash report details:
PHP Errors:
[31-Dec-2019 19:23:08 America/Los_Angeles] PHP Parse error: syntax error, unexpected ')' in /usr/local/www/system_gateways.php on line 169 -
Actually removing the extra ")" in line 169 makes it available again.
Was:
mwexec("/sbin/route delete -inet6 " . escapeshellarg($a_gateways[$id]['monitor']) . " " . escapeshellarg($rgateway)));
Removing the last ")" from "($rgateway)));" and it's now accessible again.
-
Should be fixed in upcoming snapshots:
https://github.com/pfsense/pfsense/commit/4bdbb8987eeb62a41ef6e92c1abf7a9befb90f20#diff-ec6446a5e0ba1355743271751e3154a5