Bug #13317
closedFeature #13446: Upgrade PHP from 7.4 to 8.1
``array_filter`` PHP Errors in ``interfaces.inc``
100%
Description
Crash report begins. Anonymous machine information:
amd64
12.3-STABLE
FreeBSD 12.3-STABLE devel-12-n227385-38ca787ab46 pfSense
Crash report details:
PHP Errors:
[29-Jun-2022 06:15:56 Etc/UTC] PHP Warning: array_filter() expects parameter 1 to be array, null given in /etc/inc/interfaces.inc on line 7772
[29-Jun-2022 06:15:56 Etc/UTC] PHP Warning: array_filter() expects parameter 1 to be array, null given in /etc/inc/interfaces.inc on line 7775
No FreeBSD crash data found.
Files
Updated by Jim Pingle over 2 years ago
Do you have any more information about what was going on when the errors happened? Were you making a change in the GUI? Was it a WAN interface outage/event? Some other manual or automatic action?
Updated by Jim Pingle over 2 years ago
- Subject changed from PHP Errors to ``array_filter`` PHP Errors in ``interfaces.inc``
- Status changed from New to Feedback
- Assignee set to Reid Linnemann
- Target version set to 2.7.0
- % Done changed from 0 to 100
- Plus Target Version set to 22.11
Looks like Reid already fix this one. See c5d786359cc4a15c81e1c4773ab271b3d49ed594
Updated by Reid Linnemann over 2 years ago
I did indeed fix this in CE devel, I need to get the change merged into plus-devel today, if it hasn't already been merged.
Updated by Kris Phillips over 2 years ago
What are the steps to reproduce this issue so that we can test the patch? No information on reproducible steps is provided here. Is there another redmine for the patch?
Updated by Jim Pingle about 2 years ago
- Plus Target Version changed from 22.11 to 23.01
Updated by Jim Pingle almost 2 years ago
- Parent task set to #13446
- Release Notes changed from Default to Force Exclusion
Updated by Jim Pingle almost 2 years ago
- Status changed from Feedback to Resolved
Closing for lack of feedback either way here. Given the code involved if it was still a problem we'd have encountered it again in the meantime. I haven't had any issues with all sorts of various interface operations on fresh systems or existing systems.