Parse error: syntax error, unexpected '.', expecting ';' or ',' in /etc/inc/alias-utils.inc on line 150
-
New snap shot 2.5.0.a.20200908.1250 has that error when you click on alias in the web GUI.
This is the Crash Report
Crash report begins. Anonymous machine information:
amd64
12.2-PRERELEASE
FreeBSD 12.2-PRERELEASE e8a228fe328(devel-12) pfSenseCrash report details:
PHP Errors:
[08-Sep-2020 18:52:40 America/Chicago] PHP Parse error: syntax error, unexpected '.', expecting ';' or ',' in /etc/inc/alias-utils.inc on line 150No FreeBSD crash data found.
-
@Impatient edit the file /etc/inc/alias-utils.inc, row 150.
replace the . with a , and issue resolved.
-
function saveAlias($post, $id) {
global $config, $pf_reserved_keywords, $reserved_table_names. $pconfig;function saveAlias($post, $id) {
global $config, $pf_reserved_keywords, $reserved_table_names, $pconfig; -
Interesting, in general, do someone checks updates, commits before merging? How do elementary syntax errors go to the final assembly?
I am sorry, but even any online and pfSense built in php checker detects this error without any problem. -
they do it on purpose to see if you're paying attention
-