Project

General

Profile

Actions

Regression #13583

closed
DZ CM

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

Regression #13583: 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 almost 4 years ago. Updated almost 4 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

CM Updated by Christian McDonald almost 4 years ago Actions #1

  • 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

CM Updated by Christian McDonald almost 4 years ago Actions #3

  • % Done changed from 0 to 100

Applied in changeset commit:817770726a20d50523a6bd5247c6b17ac6e5c897.

JG Updated by Jordan G almost 4 years ago Actions #4

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

DZ Updated by Danilo Zrenjanin almost 4 years ago Actions #5

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.

JP Updated by Jim Pingle almost 4 years ago Actions #6

  • Status changed from Feedback to New

CM Updated by Christian McDonald almost 4 years ago Actions #8

  • Status changed from New to Feedback

CC Updated by Christopher Cope almost 4 years ago Actions #9

  • 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.

JP Updated by Jim Pingle almost 4 years ago Actions #10

  • Parent task set to #13446

JP Updated by Jim Pingle almost 4 years ago Actions #11

  • Tracker changed from Bug to Regression
Actions

Also available in: Atom