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

    pfblocker ng devel 3.2.12 php crash 25.11.b.20251028.1838

    Scheduled Pinned Locked Moved Development
    3 Posts 3 Posters 63 Views 4 Watching
    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.
    • N Offline
      netblues
      last edited by netblues

      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

      1 Reply Last reply Reply Quote 0
      • Q Offline
        q54e3w
        last edited by

        Seeing this also.
        @BBcan177 for visibility.

        BBcan177B 1 Reply Last reply Reply Quote 0
        • BBcan177B Online
          BBcan177 Moderator @q54e3w
          last edited by

          @q54e3w

          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, ',', '"', '"');

          "Experience is something you don't get until just after you need it."

          Website: http://pfBlockerNG.com
          Twitter: @BBcan177  #pfBlockerNG
          Reddit: https://www.reddit.com/r/pfBlockerNG/new/

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.