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

    Crash report when selecting GeoIP Top Spammer country from list

    Scheduled Pinned Locked Moved pfBlockerNG
    5 Posts 2 Posters 545 Views 2 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.
    • D Offline
      ddepaolis
      last edited by ddepaolis

      Hi all, I'm having this unusual crash after I select only a single entry (country) from that list and then I confirm with "save":

      *amd64
      14.0-CURRENT
      FreeBSD 14.0-CURRENT amd64 1400094 #1 RELENG_2_7_2-n255948-8d2b56da39c: Wed Dec 6 20:45:47 UTC 2023 root@freebsd:/var/jenkins/workspace/pfSense-CE-snapshots-2_7_2-main/obj/amd64/StdASW5b/var/jenkins/workspace/pfSense-CE-snapshots-2_7_2-main/sources/F

      Crash report details:

      PHP Errors:
      [17-Oct-2024 09:45:54 Europe/Rome] PHP Fatal error: Uncaught TypeError: array_path_enabled(): Argument #1 ($arr) must be of type array, int given, called in /etc/inc/config.lib.inc on line 1250 and defined in /etc/inc/util.inc:3662
      Stack trace:
      #0 /etc/inc/config.lib.inc(1250): array_path_enabled(-1, 'notifications/s...', 'disable')
      #1 /etc/inc/notices.inc(379): config_path_enabled('notifications/s...', 'disable')
      #2 /etc/inc/notices.inc(662): notify_via_smtp('pfSense is rest...')
      #3 /etc/inc/notices.inc(151): notify_all_remote('pfSense is rest...')
      #4 /etc/inc/config.lib.inc(239): file_notice('config.xml', 'pfSense is rest...', 'pfSenseConfigur...', '')
      #5 /etc/inc/config.lib.inc(695): restore_backup('/cf/conf/backup...')
      #6 /usr/local/www/pfblockerng/pfblockerng_Top_Spammers.php(291): write_config('[pfBlockerNG] s...')
      #7 {main}
      thrown in /etc/inc/util.inc on line 3662
      [17-Oct-2024 09:45:54 Europe/Rome] PHP Fatal error: Uncaught TypeError: array_path_enabled(): Argument #1 ($arr) must be of type array, int given, called in /etc/inc/config.lib.inc on line 1250 and defined in /etc/inc/util.inc:3662
      Stack trace:
      #0 /etc/inc/config.lib.inc(1250): array_path_enabled(-1, 'notifications/s...', 'disable')
      #1 /etc/inc/notices.inc(379): config_path_enabled('notifications/s...', 'disable')
      #2 /etc/inc/notices.inc(662): notify_via_smtp('PHP ERROR: Type...')
      #3 /etc/inc/notices.inc(151): notify_all_remote('PHP ERROR: Type...')
      #4 /etc/inc/config.lib.inc(1154): file_notice('phperror', 'PHP ERROR: Type...', 'PHP errors')
      #5 [internal function]: pfSense_clear_globals()
      #6 {main}
      thrown in /etc/inc/util.inc on line 3662

      No FreeBSD crash data found.*

      I installed package pfBlockerNG-devel release 3.2.0_18 yesterday. I don't know if it would be useful: I'm using IDS Snort as well. My PFSense (release 2.7.2) in running on a Fujictsu mini PC.
      Thanks so much for any support!

      screenshot_pfblocker_geoip.png

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

        @ddepaolis fixed with 3.2.0_19

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

        D 1 Reply Last reply Reply Quote 0
        • D Offline
          ddepaolis @BBcan177
          last edited by

          @BBcan177 First of all thanks so much for your reply and update!

          Neverthless I still have same crash after I updated to last version 3.2.0_19 before repeating same actions:

          *14.0-CURRENT
          FreeBSD 14.0-CURRENT amd64 1400094 #1 RELENG_2_7_2-n255948-8d2b56da39c: Wed Dec 6 20:45:47 UTC 2023 root@freebsd:/var/jenkins/workspace/pfSense-CE-snapshots-2_7_2-main/obj/amd64/StdASW5b/var/jenkins/workspace/pfSense-CE-snapshots-2_7_2-main/sources/F

          Crash report details:

          PHP Errors:
          [20-Oct-2024 10:05:11 Europe/Rome] PHP Fatal error: Uncaught TypeError: array_path_enabled(): Argument #1 ($arr) must be of type array, int given, called in /etc/inc/config.lib.inc on line 1250 and defined in /etc/inc/util.inc:3662
          Stack trace:
          #0 /etc/inc/config.lib.inc(1250): array_path_enabled(-1, 'notifications/s...', 'disable')
          #1 /etc/inc/notices.inc(379): config_path_enabled('notifications/s...', 'disable')
          #2 /etc/inc/notices.inc(662): notify_via_smtp('pfSense is rest...')
          #3 /etc/inc/notices.inc(151): notify_all_remote('pfSense is rest...')
          #4 /etc/inc/config.lib.inc(239): file_notice('config.xml', 'pfSense is rest...', 'pfSenseConfigur...', '')
          #5 /etc/inc/config.lib.inc(695): restore_backup('/cf/conf/backup...')
          #6 /usr/local/www/pfblockerng/pfblockerng_Top_Spammers.php(291): write_config('[pfBlockerNG] s...')
          #7 {main}
          thrown in /etc/inc/util.inc on line 3662
          [20-Oct-2024 10:05:12 Europe/Rome] PHP Fatal error: Uncaught TypeError: array_path_enabled(): Argument #1 ($arr) must be of type array, int given, called in /etc/inc/config.lib.inc on line 1250 and defined in /etc/inc/util.inc:3662
          Stack trace:
          #0 /etc/inc/config.lib.inc(1250): array_path_enabled(-1, 'notifications/s...', 'disable')
          #1 /etc/inc/notices.inc(379): config_path_enabled('notifications/s...', 'disable')
          #2 /etc/inc/notices.inc(662): notify_via_smtp('PHP ERROR: Type...')
          #3 /etc/inc/notices.inc(151): notify_all_remote('PHP ERROR: Type...')
          #4 /etc/inc/config.lib.inc(1154): file_notice('phperror', 'PHP ERROR: Type...', 'PHP errors')
          #5 [internal function]: pfSense_clear_globals()
          #6 {main}
          thrown in /etc/inc/util.inc on line 3662

          No FreeBSD crash data found.*

          Of course I'm available to share any other info useful to solve this situation. Thanks again for any other support !

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

            @ddepaolis

            There was a patch that was supposed to be merged into _19

            Fix here:

            https://www.reddit.com/r/pfBlockerNG/s/lWtAkkweQ6

            Will ask about getting that into 3.2.0_20 asap.

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

            D 1 Reply Last reply Reply Quote 0
            • D Offline
              ddepaolis @BBcan177
              last edited by

              @BBcan177

              Excellent, with fix 3.2.0_20 crash has been solved ! Thanks so much for all your support !

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