Can't edit / create new firewall rules

Started by tokade, February 01, 2021, 12:52:13 PM

Previous topic - Next topic
Hi,

after update to 21.1 I cant' edit / create new firewall rule (NAT outbounde and normal rules). The dropdown behaviour is strange. Following error messages are in the log:

[31-Jan-2021 18:50:52 Europe/Berlin] PHP Warning:  in_array() expects parameter 2 to be array, string given in /usr/local/www/firewall_rules_edit.php on line 1222
[31-Jan-2021 18:54:44 Europe/Berlin] PHP Warning:  implode(): Invalid arguments passed in /usr/local/www/firewall_nat_out_edit.php on line 222
[31-Jan-2021 18:55:19 Europe/Berlin] PHP Warning:  in_array() expects parameter 2 to be array, string given in /usr/local/www/firewall_rules_edit.php on line 1222


Kind regards
Torsten

Hi Torsten,

Might be looking at https://forum.opnsense.org/index.php?topic=21199.msg99471#msg99471 -- old browser not supporting string.replaceAll

The PHP errors are only cosmetic and fixed in 21.1.1.


Cheers,
Franco

Hi Franco,

tried again today and everything seems to work fine. Maybe the browser cache wasn't clean directly after updating OPNsense. For the records, I'm using Chrome news version.

Regards
Torsten

Hi Torsten,

Ok, could be then. Just trying to be thorough :)


Cheers,
Franco