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

PHP Fatal error: Uncaught ValueError: escapeshellarg():

Scheduled Pinned Locked Moved pfBlockerNG
2 Posts 2 Posters 546 Views
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.
  • 4
    4o4rh
    last edited by May 21, 2023, 9:57 AM

    Got the below crash on my system (i have masked the IP)

    PHP Errors:
    [20-May-2023 11:31:41 Europe/Berlin] PHP Fatal error:  Uncaught ValueError: escapeshellarg(): Argument #1 ($arg) must not contain any null bytes in /usr/local/pkg/pfblockerng/pfblockerng.inc:3816
    Stack trace:
    #0 /usr/local/pkg/pfblockerng/pfblockerng.inc(3816): escapeshellarg('^176\\.198\\.x\\...')
    #1 /usr/local/pkg/pfblockerng/pfblockerng.inc(5647): find_reported_header('176.198.x.x\x00\x00...', '/var/db/pfblock...', false)
    #2 /usr/local/pkg/pfblockerng/pfblockerng.inc(1031): pfb_daemon_filterlog()
    #3 {main}
      thrown in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 3816
    
    P 1 Reply Last reply Sep 20, 2023, 5:56 PM Reply Quote 1
    • P
      pypckompsite @4o4rh
      last edited by Sep 20, 2023, 5:56 PM

      @gwaitsi I have the same exact error. Did you find a solution?

      I have the "pfBlockerNG-devel" package installed. The DNSBL part is turned off. This is the error I get:

      [19-Sep-2023 12:18:28 Etc/UTC] PHP Fatal error: Uncaught ValueError: escapeshellarg(): Argument #1 ($arg) must not contain any null bytes in /usr/local/pkg/pfblockerng/pfblockerng.inc:3816
      Stack trace:
      #0 /usr/local/pkg/pfblockerng/pfblockerng.inc(3816): escapeshellarg('^192\.168\.1\.1...')
      #1 /usr/local/pkg/pfblockerng/pfblockerng.inc(5647): find_reported_header('192.168.1.15\x00\x00\x00...', '/var/db/pfblock...', false)
      #2 /usr/local/pkg/pfblockerng/pfblockerng.inc(1031): pfb_daemon_filterlog()
      #3 {main}
      thrown in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 3816

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        [[user:consent.lead]]
        [[user:consent.not_received]]