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
Updated by Kris Phillips about 2 years ago
- Status changed from New to Confirmed
I'm able to reproduce this. Marked as Confirmed.
Updated by Bill Meeks about 2 years ago
I am working on this and will post a pull request to DEVEL soon.
Updated by Bill Meeks about 2 years ago
A fix for this issue has been submitted for review and merge. The pull request is here: https://github.com/pfsense/FreeBSD-ports/pull/1200.
When the request is merged, this issue can be marked as resolved.
Updated by Jim Pingle about 2 years ago
- Status changed from Confirmed to Resolved
PR merged, thanks!