Actions
Bug #13516
closedpfSense - Feature #13446: Upgrade PHP from 7.4 to 8.1
Snort with PHP 8.1 - TypeError when attempting to view a Suppression List on a Snort interface
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Snort
Target version:
-
Start date:
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Affected Version:
2.7.0
Affected Plus Version:
23.01
Affected Architecture:
Description
Testing Snort against September 22, 2022 "PHP 8.1 and FreeBSD Main" snapshot the following PHP error is received when attempting to view a Suppress List by clicking the View List button to the right of the Alert Suppression and Filtering drop-down selector:
amd64
14.0-CURRENT
FreeBSD 14.0-CURRENT #0 devel-main-n255797-d8d104eec65: Thu Sep 22 18:54:16 UTC 2022 root@freebsd:/var/jenkins/workspace/pfSense-CE-snapshots-master-main/obj/amd64/YVYTCXmQ/var/jenkins/workspace/pfSense-CE-snapshots-master-main/sources/FreeBSD-src-dev
Crash report details:
PHP Errors:
[24-Sep-2022 12:01:57 America/New_York] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/snort/snort_interfaces_edit.php:73
Stack trace:
#0 {main}
thrown in /usr/local/www/snort/snort_interfaces_edit.php on line 73
Documenting the bug here and also adding it to my private TODO list for Snort.
Actions