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

    PFBlockerng Fatal PHP Error

    Scheduled Pinned Locked Moved pfBlockerNG
    1 Posts 1 Posters 39 Views 1 Watching
    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.
    • B Offline
      bushwacker611
      last edited by

      Hi all, I'm getting the below PHP errors with PFBlockerNG. It doesn't appear(?) to harm functionality, but it does create an annoying warning. I'm using the current version provided by NetGate (NetGate 1100 with 25.07.1-RELEASE OS and PFBlocker 3.2.7).

      PHP ERROR: Type: 1, File: /usr/local/pkg/pfblockerng/pfblockerng.inc, Line: 8951, Message: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, false given in /usr/local/pkg/pfblockerng/pfblockerng.inc:8951
      Stack trace:
      #0 /usr/local/pkg/pfblockerng/pfblockerng.inc(8951): fwrite()
      #1 /usr/local/www/pfblockerng/pfblockerng.php(684): sync_package_pfblockerng()
      #2 /usr/local/www/pfblockerng/pfblockerng.php(174): pfblockerng_sync_cron()
      #3 {main}
      thrown @ 2025-10-07 15:00:34
      

      Below is a reference to a prior post from 5 years ago.

      Re: PHP Fatal error: Uncaught Error: Call to undefined function pfBlockerNG_cleardnsbl() in /usr/local/www/pfblockerng/pfblockerng.php:65

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