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

    PHP Fatal error: Uncaught Error: Call to undefined function pfBlockerNG_cleardnsbl() in /usr/local/www/pfblockerng/pfblockerng.php:65

    Scheduled Pinned Locked Moved pfBlockerNG
    11 Posts 5 Posters 1.1k 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.
    • M
      Making_sense_of_pfSense
      last edited by Making_sense_of_pfSense

      Hi!
      First of all, thanks bbcan for pfBlockerNG!
      Secondly, pfSense has been flooding me (every minute from 13 Dec 2020 00:00 till 15 Dec 00:59) with e-mail notifications about the following error:

      PHP Fatal error:  Uncaught Error: Call to undefined function pfBlockerNG_cleardnsbl() in /usr/local/www/pfblockerng/pfblockerng.php:65
      Stack trace:
      #0 {main}
      

      This is line 65 of pfblockerng.php
      9cc7a8cc-b7a1-4400-8baf-40e9393ac75d-image.png
      The dashboard also alerted me, something I had never experienced!
      Now I don't seem to be getting any more notifications so is it possible that somehow the error was fixed without my intervention?
      Thanks and have a nice day.

      Edit: I'm running pfBlockerNG version 3.0.0.5 on top of pfSense version 2.4.5-RELEASE-p1 (latest).

      Running pfSense Community Edition 2.7.2 on a Qotom Mini PC.

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

        @making_sense_of_pfsense

        Fixed in v3.0.0_6, which was merged this morning. Just need to wait for the build process for it to show in pkg manager.

        "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/

        M F 2 Replies Last reply Reply Quote 1
        • M
          Making_sense_of_pfSense @BBcan177
          last edited by

          @bbcan177 I knew it was coming! Thank you so much!

          Running pfSense Community Edition 2.7.2 on a Qotom Mini PC.

          1 Reply Last reply Reply Quote 0
          • O
            on4amg
            last edited by

            I do not want to hijack this thread but thought I'd report something very similar after upgrading to 3.0.0.5:

            PHP ERROR: Type: 1, File: /usr/local/www/pfblockerng/pfblockerng.php, Line: 65, Message: Uncaught Error: Call to undefined function pfBlockerNG_cleardnsbl() in /usr/local/www/pfblockerng/pfblockerng.php:65
            Stack trace:
            #0 {main}

            The error appears consistently for 1 hour starting at midnight.

            M 1 Reply Last reply Reply Quote 0
            • M
              Making_sense_of_pfSense @on4amg
              last edited by

              @on4amg Yeah, you're right, on a second look, errors are reported every minute but only between 00:00 and 00:59!

              Running pfSense Community Edition 2.7.2 on a Qotom Mini PC.

              1 Reply Last reply Reply Quote 0
              • F
                fabioccoelho LAYER 8 @BBcan177
                last edited by

                @bbcan177 Thanks... Waiting for 3.0.0_6 version :-)

                1 Reply Last reply Reply Quote 0
                • O
                  on4amg
                  last edited by on4amg

                  3.0.0_6 was installed earlier today, fingers crossed for the results at midnight.
                  @BBcan177 - Thank you!

                  1 Reply Last reply Reply Quote 0
                  • O
                    on4amg
                    last edited by

                    Happy to report that since the 3.0.0_6 upgrade the previously reported error has disappeared, kudos to bbcan177 for the swift resolution.

                    1 Reply Last reply Reply Quote 1
                    • S
                      srevo
                      last edited by srevo

                      Unfortunately, I am continuing to get the error after updating to version 3.0.0_6

                      amd64
                      11.3-STABLE
                      FreeBSD 11.3-STABLE #243 abf8cba50ce(RELENG_2_4_5): Tue Jun 2 17:53:37 EDT 2020 root@buildbot1-nyi.netgate.com:/build/ce-crossbuild-245/obj/amd64/YNx4Qq3j/build/ce-crossbuild-245/sources/FreeBSD-src/sys/pfSense

                      Crash report details:

                      PHP Errors:
                      [16-Dec-2020 00:00:00 America/Chicago] PHP Fatal error: Uncaught Error: Call to undefined function pfBlockerNG_cleardnsbl() in /usr/local/www/pfblockerng/pfblockerng.php:65
                      Stack trace:
                      #0 {main}
                      thrown in /usr/local/www/pfblockerng/pfblockerng.php on line 65
                      [17-Dec-2020 00:00:00 America/Chicago] PHP Fatal error: Uncaught Error: Call to undefined function pfBlockerNG_cleardnsbl() in /usr/local/www/pfblockerng/pfblockerng.php:65
                      Stack trace:
                      #0 {main}
                      thrown in /usr/local/www/pfblockerng/pfblockerng.php on line 65

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

                        @srevo
                        Those errors are from days ago. Clear the Dashboard errors and hit CTRL-F5 in your browser to reload the new code.

                        "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/

                        S 1 Reply Last reply Reply Quote 2
                        • S
                          srevo @BBcan177
                          last edited by

                          @bbcan177 oops.. I cleared it and itโ€™s all good. Thanks. ๐Ÿ‘๐Ÿ‘

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