Bug #13609
closedpfSense - Feature #13446: Upgrade PHP from 7.4 to 8.1
Editing ACLs in BIND Package Produces PHP error in CE 2.7.X
100%
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
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.
Updated by Christian McDonald about 2 years ago
- Status changed from New to In Progress
- Assignee set to Christian McDonald
Updated by Christian McDonald almost 2 years ago
- Status changed from In Progress to Feedback
Should be fixed in next snapshot run for CE and Plus
https://github.com/pfsense/pfsense/commit/b7b482b1601272723ac97680fb280ff3ebf816e7
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-CURRENTIt works without error now. Marking resolved.