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

    Fatal error: Uncaught Error

    NAT
    3
    4
    499
    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.
    • M
      megs
      last edited by

      2.4.4-RELEASE-p1 (amd64)
      Basé sur Mon Nov 26 11:40:26 EST 2018
      FreeBSD 11.2-RELEASE-p4

      importing a NAT rule, and wanting to delete it ...

      Fatal error: Uncaught Error: Only variables can be passed by reference in /usr/local/www/firewall_nat.php:104 Stack trace: #0 {main} thrown in /usr/local/www/firewall_nat.php on line 104 PHP ERROR: Type: 1, File: /usr/local/www/firewall_nat.php, Line: 104, Message: Uncaught Error: Only variables can be passed by reference in /usr/local/www/firewall_nat.php:104 Stack trace: #0 {main} thrown

      Just can't so it...want to suppress one NAT rule.... what happen ?

      1 Reply Last reply Reply Quote 0
      • M
        megs
        last edited by

        Resolved:
        desactivate it
        make strong changes on it
        activate it
        remove it

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

          That's a bit of an unusual situation but I could see how it could happen.

          If your firewall rules are completely empty and you attempt to delete an imported NAT rule that references a firewall rule that doesn't exist, it could fail like that.

          I opened a ticket for it and pushed a fix: https://redmine.pfsense.org/issues/9193

          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!

          1 Reply Last reply Reply Quote 0
          • R
            rosssmith
            last edited by

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