Error on line 2681
-
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