Fatal error-Cannot create references to/from string offsets in /usr/local/www/firewall_nat_1to1.php
-
Hi i am running pfsense FreeBSD 11.2-RELEASE-p3 (2.4.4-RELEASE (amd64)). I came across an issue today that i wanted to delete a list of 1:1 NAT policies so i selected four 1:1 NAT mappings and clicked on Delete button which is red in colour. As soon as i clicked the delete button i got
"Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/www/firewall_nat_1to1.php:42 Stack trace: #0 {main} thrown in /usr/local/www/firewall_nat_1to1.php on line 42 PHP ERROR: Type: 1, File: /usr/local/www/firewall_nat_1to1.php, Line: 42, Message: Uncaught Error: Cannot create references to/from string offsets in /usr/local/www/firewall_nat_1to1.php:42 Stack trace: #0 {main} thrown" error and in the dashboard i got a crash report
"Crash report begins. Anonymous machine information:
amd64
11.2-RELEASE-p3
FreeBSD 11.2-RELEASE-p3 #17 e6b497fa0a3(RELENG_2_4_4): Thu Sep 20 09:04:45 EDT 2018 root@buildbot3:/crossbuild/ce-244/obj/amd64/WvDslnYb/crossbuild/ce-244/pfSense/tmp/FreeBSD-src/sys/pfSense
Crash report details:
PHP Errors:
[22-Oct-2018 12:33:31 UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/www/firewall_nat_1to1.php:42
Stack trace:
#0 {main}
thrown in /usr/local/www/firewall_nat_1to1.php on line 42
[22-Oct-2018 12:33:45 UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/www/firewall_nat_1to1.php:42
Stack trace:
#0 {main}
thrown in /usr/local/www/firewall_nat_1to1.php on line 42
[22-Oct-2018 12:33:56 UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/www/firewall_nat_1to1.php:42
Stack trace:
#0 {main}
thrown in /usr/local/www/firewall_nat_1to1.php on line 42
[22-Oct-2018 12:34:01 UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/www/firewall_nat_1to1.php:42
Stack trace:
#0 {main}
thrown in /usr/local/www/firewall_nat_1to1.php on line 42
[22-Oct-2018 12:34:45 UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/www/firewall_nat_1to1.php:42
Stack trace:
#0 {main}
thrown in /usr/local/www/firewall_nat_1to1.php on line 42"
Can anyone please help me to understand what is the exact issue. -
I got the same error again today when i deleted all the 1:1 NAT configuration... i am facing this problem with 2.4.4 version. i tried the same in 2.4.3 but no such error received. Can anyone help me ?
-
https://redmine.pfsense.org/issues/9080
Should be fixed now. You can apply the change on the issue linked above with the System Patches package.
-
@jimp I tried to do the same but no error has been received. i think it is fixed but i didn't install any patches to fix this. I don't know how the issue was resolved automatically...Please update....