Project

General

Profile

Actions

Regression #13512

closed

Feature #13446: Upgrade PHP from 7.4 to 8.1

PHP 8.1 Syntax Error in DNS Resolver Configuration Screen

Added by Bill Meeks 2 months ago. Updated 25 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
DNS Resolver
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:
All

Description

Downloaded and installed a fresh snapshot image of 2.7 CE to a VMware virtual machine to test the new PHP 8.1 code with FreeBSD Main.

Clicking the Add button in the DNS Resolver screen to add a Host Override produces this PHP error:

Crash report begins.  Anonymous machine information:

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:
[23-Sep-2022 13:30:21 America/New_York] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/services_unbound_host_edit.php:273
Stack trace:
#0 {main}
  thrown in /usr/local/www/services_unbound_host_edit.php on line 273

Actions #1

Updated by Jim Pingle 2 months ago

  • Tracker changed from Bug to Regression
  • Status changed from New to Feedback
  • Assignee set to Jim Pingle
  • Target version set to 2.7.0
  • Plus Target Version set to 22.11
  • Release Notes changed from Default to Force Exclusion

As luck would have it I just fixed that earlier today. See bbd94c2c97a2b3c024d093fb7838c2e27a3a01c1

Actions #2

Updated by Bill Meeks 2 months ago

Ha! Easy fix. Thanks!

Actions #3

Updated by Christopher Cope 2 months ago

  • Status changed from Feedback to Resolved

Working as expected on

22.11-DEVELOPMENT (amd64)
built on Fri Sep 30 06:04:54 UTC 2022
FreeBSD 14.0-CURRENT

Marking resolved.

Actions #4

Updated by Jim Pingle about 2 months ago

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

Updated by Jim Pingle 25 days ago

  • Parent task set to #13446
Actions #6

Updated by Jim Pingle 25 days ago

  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF