Project

General

Profile

Actions

Bug #13317

closed

Feature #13446: Upgrade PHP from 7.4 to 8.1

``array_filter`` PHP Errors in ``interfaces.inc``

Added by Vorname Nachname over 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Category:
PHP Interpreter
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
23.01
Release Notes:
Force Exclusion
Affected Version:
Affected Architecture:

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

PHP_errors.log (288 Bytes) PHP_errors.log Vorname Nachname, 06/29/2022 02:15 AM
Actions #1

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?

Actions #2

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

Actions #3

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.

Actions #4

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?

Actions #5

Updated by Jim Pingle about 2 years ago

  • Plus Target Version changed from 22.11 to 23.01
Actions #6

Updated by Jim Pingle almost 2 years ago

  • Parent task set to #13446
  • Release Notes changed from Default to Force Exclusion
Actions #7

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.

Actions

Also available in: Atom PDF