pfblocker ng devel 3.2.12 php crash 25.11.b.20251028.1838
-
pfblocker ng fails to cron update
Stucks at downloading..
and then throws php error[code]
PHP {$errortype}s
PHP ERROR: Type: 1, File: /usr/local/pkg/pfblockerng/pfblockerng.inc, Line: 8473, Message: Uncaught ValueError: str_getcsv(): Argument #3 ($enclosure) must be a single character in /usr/local/pkg/pfblockerng/pfblockerng.inc:8473 Stack trace: #0 /usr/local/pkg/pfblockerng/pfblockerng.inc(8473): str_getcsv('bmfriuagjesn.co...', ',', '', '"') #1 /usr/local/www/pfblockerng/pfblockerng.php(691): sync_package_pfblockerng('cron') #2 /usr/local/www/pfblockerng/pfblockerng.php(181): pfblockerng_sync_cron() #3 {main} thrown @ 2025-11-01 05:49:01[/code]
Was on previous beta and there worked flowlessly
-
Seeing this also.
@BBcan177 for visibility. -
I sent the devs a fix and thought it was addressed. Maybe its only in the next release of pfSense.
There is a line in the error which contains single quotes vs double quotes.
Old:
$csvline = str_getcsv($pfb_buffer, ',', '', '"');New:
$csvline = str_getcsv($pfb_buffer, ',', '"', '"');
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.