Project

General

Profile

Actions

Regression #13714

closed

pfSense - Feature #13446: Upgrade PHP from 7.4 to 8.1

PHP8.1 error when adding a new interface.

Added by Marcos M about 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Suricata
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

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

Actions #1

Updated by Jim Pingle about 2 years ago

  • Parent task set to #13446
Actions #2

Updated by Kris Phillips about 2 years ago

  • Status changed from New to Confirmed

I'm able to reproduce this. Marked as Confirmed.

Actions #3

Updated by Bill Meeks about 2 years ago

I am working on this and will post a pull request to DEVEL soon.

Actions #4

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.

Actions #5

Updated by Jim Pingle about 2 years ago

  • Status changed from Confirmed to Resolved

PR merged, thanks!

Actions #6

Updated by Jim Pingle about 2 years ago

  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF