Regression #13714
closedpfSense - Feature #13446: Upgrade PHP from 7.4 to 8.1
PHP8.1 error when adding a new interface.
100%
Description
On the latest Suricata on 23.01 when adding a new interface:
Fatal error: Uncaught TypeError: array_get_path(): Argument #1 ($arr) must be of type array, null given, called in /usr/local/www/suricata/suricata_interfaces_edit.php on line 62 and defined in /etc/inc/util.inc:3375 Stack trace: #0 /usr/local/www/suricata/suricata_interfaces_edit.php(62): array_get_path(NULL, 'uuid') #1 {main} thrown in /etc/inc/util.inc on line 3375 PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 3375, Message: Uncaught TypeError: array_get_path(): Argument #1 ($arr) must be of type array, null given, called in /usr/local/www/suricata/suricata_interfaces_edit.php on line 62 and defined in /etc/inc/util.inc:3375 Stack trace: #0 /usr/local/www/suricata/suricata_interfaces_edit.php(62): array_get_path(NULL, 'uuid') #1 {main} thrown