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

    string offset error

    Scheduled Pinned Locked Moved pfBlockerNG
    4 Posts 2 Posters 698 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.
    • SLIMaxPowerS
      SLIMaxPower
      last edited by

      Re: Pfblockerng php error

      Posted this before and havn't been able to resolve it.

      It occurs hourly.
      PHP ERROR: Type: 1, File: /usr/local/pkg/pfblockerng/pfblockerng.inc, Line: 3220, Message: Cannot unset string offsets

      if (empty($list['row'] [0] ['url'])) {
      unset($list['row']);
      }

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

        This is already fixed in the pfBlockerNG-devel version.
        https://github.com/pfsense/FreeBSD-ports/blob/devel/net/pfSense-pkg-pfBlockerNG-devel/files/usr/local/pkg/pfblockerng/pfblockerng.inc#L4722

        "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 0
        • SLIMaxPowerS
          SLIMaxPower
          last edited by

          ok that's sorted :thumbup:

          So after an update and reboot I am getting curl error 28 on quite a few dnsbl feeds when updating or cron.
          youtube was being blocked, but not google or gmail etc.

          Copying the dnsbl link into chrome browser had a security threat that I had to accept (pfblockerng-devel) I assume. Other times the block can't be bypassed.

          That means some update of threat lists aren't being downloaded due to a similar issue ?

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

            @slimaxpower said in string offset error:

            So after an update and reboot I am getting curl error 28 on quite a few dnsbl feeds when updating or cron.
            youtube was being blocked, but not google or gmail etc.

            Something is blocking the Feed download. Review the Alerts/Reports tab to see what it could be.

            You can check if DNSBL is blocking the domain with a ping command and if it replies with the DNSBL VIP. Or check the "Deny" Table to see if its being blocked by an IP Block.

            "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 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.