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

    Error on line 2681

    Scheduled Pinned Locked Moved CE 2.7.0 Development Snapshots (Retired)
    1 Posts 1 Posters 257 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.
    • Y
      yuryk
      last edited by

      Re: pfBlockerNG producing PHP errors on cron

      For me, the error is a bit different and the fix has been applied:

      PHP ERROR: Type: 1, File: /usr/local/pkg/pfblockerng/pfblockerng.inc, Line: 2681, Message: Uncaught TypeError: fclose(): Argument #1 ($stream) must be of type resource, null given in /usr/local/pkg/pfblockerng/pfblockerng.inc:2681
      Stack trace:
      #0 /usr/local/pkg/pfblockerng/pfblockerng.inc(2681): fclose(NULL)
      #1 /usr/local/pkg/pfblockerng/pfblockerng.inc(2915): tld_analysis()
      #2 /usr/local/pkg/pfblockerng/pfblockerng.inc(8127): pfb_update_unbound('enabled', false, false)
      #3 /usr/local/www/pfblockerng/pfblockerng.php(544): sync_package_pfblockerng('cron')
      #4 /usr/local/www/pfblockerng/pfblockerng.php(145): pfblockerng_sync_cron()
      #5 {main}
      thrown @ 2022-10-30 00:58:22
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.