PHP ERROR: Type: 1, File: /usr/local/pkg/pfblockerng/pfblockerng.inc, Line: 8927
-
Keep getting these errors in pfblocker
Crash report begins. Anonymous machine information:
amd64
14.0-CURRENT
FreeBSD 14.0-CURRENT amd64 1400094 #1 RELENG_2_7_2-n255948-8d2b56da39c: Wed Dec 6 20:45:47 UTC 2023 root@freebsd:/var/jenkins/workspace/pfSense-CE-snapshots-2_7_2-main/obj/amd64/StdASW5b/var/jenkins/workspace/pfSense-CE-snapshots-2_7_2-main/sources/FCrash report details:
PHP Errors:
[01-Jan-2024 11:00:04 America/New_York] PHP Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, bool given in /usr/local/pkg/pfblockerng/pfblockerng.inc:8927
Stack trace:
#0 /usr/local/pkg/pfblockerng/pfblockerng.inc(8927): fwrite(false, 'local-data: "00...')
#1 /usr/local/www/pfblockerng/pfblockerng.php(625): sync_package_pfblockerng('cron')
#2 /usr/local/www/pfblockerng/pfblockerng.php(155): pfblockerng_sync_cron()
#3 {main}
thrown in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 8927
[01-Jan-2024 12:00:10 America/New_York] PHP Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, bool given in /usr/local/pkg/pfblockerng/pfblockerng.inc:8927
Stack trace:
#0 /usr/local/pkg/pfblockerng/pfblockerng.inc(8927): fwrite(false, 'local-data: "00...')
#1 /usr/local/www/pfblockerng/pfblockerng.php(625): sync_package_pfblockerng('cron')
#2 /usr/local/www/pfblockerng/pfblockerng.php(155): pfblockerng_sync_cron()
#3 {main}
thrown in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 8927No FreeBSD crash data found
Any ideas what I can do to fix this? -
What version of the pfBlockerNG package are you running?
Was this an upgrade or fresh install?
Do you see any errors in either the pfblockerng.log or error.log
Filewall -> pfBlockerNG -> Logs -
@jrey thank you for the reply.
It think I may have fixed the issue, I am using a ram disk and it was completely full. I have fixed this by encreasing the size and so far no issues.
Thank you