Project

General

Profile

Actions

Bug #13609

closed

pfSense - Feature #13446: Upgrade PHP from 7.4 to 8.1

Editing ACLs in BIND Package Produces PHP error in CE 2.7.X

Added by Kris Phillips about 2 years ago. Updated almost 2 years ago.

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

100%

Estimated time:
Plus Target Version:
23.01
Affected Version:
2.7.x
Affected Plus Version:
Affected Architecture:
All

Description

When editing ACLs in BIND, the following PHP error is thrown:

Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/pkg_edit.php:1435 Stack trace: #0 {main} thrown in /usr/local/www/pkg_edit.php on line 1435 PHP ERROR: Type: 1, File: /usr/local/www/pkg_edit.php, Line: 1435, Message: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/pkg_edit.php:1435 Stack trace: #0 {main} thrown

Actions #1

Updated by Kris Phillips about 2 years ago

Full crash report:

Crash report begins. Anonymous machine information:

amd64
14.0-CURRENT
FreeBSD 14.0-CURRENT #0 devel-main-n255806-3b10c99202e4: Fri Oct 28 06:30:12 UTC 2022 root@freebsd:/var/jenkins/workspace/pfSense-CE-snapshots-master-main/obj/amd64/LqwepVXS/var/jenkins/workspace/pfSense-CE-snapshots-master-main/sources/FreeBSD-src-de

Crash report details:

PHP Errors:
[30-Oct-2022 01:56:26 Etc/UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/pkg/squid.inc:1610
Stack trace:
#0 /usr/local/pkg/squid.inc(2273): squid_resync_cache()
#1 /etc/inc/pkg-utils.inc(779) : eval()'d code(1): squid_resync()
#2 /etc/inc/pkg-utils.inc(779): eval()
#3 /etc/inc/pkg-utils.inc(904): eval_once('squid_resync();')
#4 /etc/rc.packages(76): install_package_xml('squid')
#5 {main}
thrown in /usr/local/pkg/squid.inc on line 1610
[30-Oct-2022 01:56:29 Etc/UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/pkg/squid.inc:1610
Stack trace:
#0 /usr/local/pkg/squid.inc(2273): squid_resync_cache()
#1 /etc/inc/pkg-utils.inc(713) : eval()'d code(1): squid_resync()
#2 /etc/inc/pkg-utils.inc(713): eval()
#3 /etc/rc.start_packages(66): sync_package('squid3')
#4 {main}
thrown in /usr/local/pkg/squid.inc on line 1610
[30-Oct-2022 02:00:19 Etc/UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/pkg_edit.php:1435
Stack trace:
#0 {main}
thrown in /usr/local/www/pkg_edit.php on line 1435
[30-Oct-2022 02:00:45 Etc/UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/pkg_edit.php:1435
Stack trace:
#0 {main}
thrown in /usr/local/www/pkg_edit.php on line 1435

No FreeBSD crash data found.

Actions #2

Updated by Christian McDonald about 2 years ago

  • Status changed from New to In Progress
  • Assignee set to Christian McDonald
Actions #3

Updated by Jim Pingle about 2 years ago

  • Parent task set to #13446
Actions #4

Updated by Christian McDonald almost 2 years ago

  • Status changed from In Progress to Feedback
Actions #5

Updated by Jim Pingle almost 2 years ago

  • % Done changed from 0 to 100
Actions #6

Updated by Christopher Cope almost 2 years ago

  • Status changed from Feedback to Resolved

Tested using bind 9.17 on both:

2.7.0-DEVELOPMENT (amd64)
built on Wed Dec 21 19:50:43 UTC 2022
FreeBSD 14.0-CURRENT
&
23.01-BETA (amd64)
built on Wed Dec 21 19:50:26 UTC 2022
FreeBSD 14.0-CURRENT
It works without error now. Marking resolved.

Actions

Also available in: Atom PDF