Navigation

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

    PHP Stack trace error

    pfBlockerNG
    2
    4
    640
    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.
    • SLIMaxPower
      SLIMaxPower last edited by

      Not sure whats going on here

      [27-May-2017 07:01:47 Australia/Perth] PHP Stack trace:
      [27-May-2017 07:01:47 Australia/Perth] PHP  1. {main}() /usr/local/www/pfblockerng/pfblockerng.php:0
      [27-May-2017 07:01:47 Australia/Perth] PHP  2. pfblockerng_sync_cron() /usr/local/www/pfblockerng/pfblockerng.php:71
      [27-May-2017 07:01:47 Australia/Perth] PHP  3. sync_package_pfblockerng() /usr/local/www/pfblockerng/pfblockerng.php:393
      [27-May-2017 08:01:52 Australia/Perth] PHP Fatal error:  Cannot unset string offsets in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 3205

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

        odd… never seen that error before...  Do you have a DNSBL Group with only a customlist defined? IE: no Source URLs being used?

        Can you run this command and post the result:
        (Change "EXAMPLE" to the name of this DNSBL Group)

        grep -A30 ">EXAMPLE<" /conf/config.xml
        

        You can try to open and save that DNSBL Group and see if it fixes it.

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

          To patch the pfblockerng.inc file (if your comfortable in editing the file):

          /usr/local/pkg/pfblockerng/pfblockerng.inc
          Edit Line 3205

          From:

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

          To:

          if (isset($list['row']) && empty($list['row'][0]['url'])) {
          
          1 Reply Last reply Reply Quote 0
          • SLIMaxPower
            SLIMaxPower last edited by

            worked ty

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Products

            • Platform Overview
            • TNSR
            • pfSense Plus
            • Appliances

            Services

            • Training
            • Professional Services

            Support

            • Subscription Plans
            • Contact Support
            • Product Lifecycle
            • Documentation

            News

            • Media Coverage
            • Press
            • Events

            Resources

            • Blog
            • FAQ
            • Find a Partner
            • Resource Library
            • Security Information

            Company

            • About Us
            • Careers
            • Partners
            • Contact Us
            • Legal
            Our Mission

            We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

            Subscribe to our Newsletter

            Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

            © 2021 Rubicon Communications, LLC | Privacy Policy