Project

General

Profile

Actions

Regression #13583

closed

Feature #13446: Upgrade PHP from 7.4 to 8.1

PHP error when defining an IP address and gateway manually from the Console menu using option 2) Set Interface(s) IP address

Added by Danilo Zrenjanin about 2 years ago. Updated about 2 years ago.

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

100%

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

Description

Crash report begins.  Anonymous machine information:

amd64
14.0-CURRENT
FreeBSD 14.0-CURRENT #0 devel-main-n255802-8d2600d5897c: Fri Oct 21 06:29:29 UTC 2022     root@freebsd:/var/jenkins/workspace/pfSense-CE-snapshots-master-main/obj/amd64/Q7bZCsJY/var/jenkins/workspace/pfSense-CE-snapshots-master-main/sources/FreeBSD-src-de

Crash report details:

PHP Errors:
[21-Oct-2022 17:21:58 Etc/UTC] PHP Fatal error:  Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /etc/inc/config.lib.inc:1205
Stack trace:
#0 /etc/inc/config.lib.inc(1205): implode('/', 'gateways')
#1 /etc/rc.initial.setlanip(248): init_config_arr('gateways')
#2 /etc/rc.initial.setlanip(361): add_gateway_to_config('wan', '192.168.33.45', 'inet', false)
#3 /etc/rc.initial.setlanip(375): console_configure_ip_address(4)
#4 {main}
  thrown in /etc/inc/config.lib.inc on line 1205

No FreeBSD crash data found.

Files

PHP_errors (2).log (524 Bytes) PHP_errors (2).log Danilo Zrenjanin, 10/21/2022 12:22 PM
Actions #1

Updated by Christian McDonald about 2 years ago

  • Status changed from New to Feedback
  • Assignee set to Christian McDonald
  • Target version changed from 23.01 to 2.7.0
  • Release Notes changed from Default to Force Exclusion
Actions #3

Updated by Christian McDonald about 2 years ago

  • % Done changed from 0 to 100
Actions #4

Updated by Jordan G about 2 years ago

just confirming this is present on Plus as well when testing snapshot 22.11-DEVELOPMENT-amd64-20221021-0600

Actions #5

Updated by Danilo Zrenjanin about 2 years ago

The issue still exists on the:

2.7.0-DEVELOPMENT (amd64)
built on Thu Oct 27 06:05:35 UTC 2022
FreeBSD 14.0-CURRENT

Please check.

Actions #6

Updated by Jim Pingle about 2 years ago

  • Status changed from Feedback to New
Actions #8

Updated by Christian McDonald about 2 years ago

  • Status changed from New to Feedback
Actions #9

Updated by Christopher Cope about 2 years ago

  • Status changed from Feedback to Resolved

No errors on

23.01-DEVELOPMENT (amd64)
built on Fri Oct 28 06:06:21 UTC 2022
FreeBSD 14.0-CURRENT

Marking resolved.

Actions #10

Updated by Jim Pingle about 2 years ago

  • Parent task set to #13446
Actions #11

Updated by Jim Pingle about 2 years ago

  • Tracker changed from Bug to Regression
Actions

Also available in: Atom PDF