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, ',', '"', '"'); -
M marcosm moved this topic from Development on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy