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 over 1 year ago. Updated over 1 year 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

Also available in: Atom PDF