Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Fatal error-Cannot create references to/from string offsets in /usr/local/www/firewall_nat_1to1.php

    Scheduled Pinned Locked Moved NAT
    4 Posts 2 Posters 1.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      Thoufiq
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • T
        Thoufiq
        last edited by

        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 ?

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          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.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          T 1 Reply Last reply Reply Quote 0
          • T
            Thoufiq @jimp
            last edited by Thoufiq

            @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....

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.