Fatal error: Uncaught Error



  • 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 ?



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


  • Rebel Alliance Developer Netgate

    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