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

Fatal error: Uncaught Error

Scheduled Pinned Locked Moved NAT
4 Posts 3 Posters 500 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.
  • M
    megs
    last edited by Dec 10, 2018, 10:35 AM

    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 Dec 10, 2018, 2:38 PM

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

      1 Reply Last reply Reply Quote 0
      • J
        jimp Rebel Alliance Developer Netgate
        last edited by Dec 12, 2018, 9:05 PM

        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 Nov 2, 2022, 7:51 AM

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            [[user:consent.lead]]
            [[user:consent.not_received]]