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

    24.03-DEVELOPMENT - PHP Fatal error: Uncaught ValueError: range(): Argument #3

    Scheduled Pinned Locked Moved pfBlockerNG
    29 Posts 8 Posters 3.6k 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.
    • Bob.DigB
      Bob.Dig LAYER 8 @pst
      last edited by

      @pst said in 24.03-DEVELOPMENT - PHP Fatal error: Uncaught ValueError: range(): Argument #3:

      I have updated my post

      That looks perfect.

      1 Reply Last reply Reply Quote 0
      • P
        pst @SwissSteph
        last edited by pst

        @SwissSteph said in 24.03-DEVELOPMENT - PHP Fatal error: Uncaught ValueError: range(): Argument #3:

        With or without the patch I get the same error

        Did you press Apply after adding the patch in System Patches? It doesn't get applied just by adding it. The patch is the same code as you manually edited so it should have worked, if applied. The system patch works for me, and others.

        S 1 Reply Last reply Reply Quote 0
        • S
          SwissSteph @pst
          last edited by SwissSteph

          @pst

          precisely ... no "apply" button, very strange indeed

          95778aac-e31c-48a4-8730-8483760284d0-image.png

          a10bee27-2403-42af-ae89-eceab7d86339-image.png

          I started with two "no-name" pfsense, one for use at home and the other as a backup in case of problems (which can happen when you're new to pfsense).
          ... And now I'm living with a Netgate 8200
          ... And sorry for my bad English...

          P 1 Reply Last reply Reply Quote 0
          • P
            pst @SwissSteph
            last edited by

            @SwissSteph Two of the fields are not correct, change to

            Path Strip Count: 0
            
            Base Directory: /usr/local/www/pfblockerng/
            
            S 1 Reply Last reply Reply Quote 0
            • S
              SwissSteph @pst
              last edited by

              @pst

              I really suck ... and am very sorry to have taken up your time unnecessarily by poor handling and understanding on my part!!!!

              Thank you for understanding my error put forward where I had made a mistake.

              😊

              I started with two "no-name" pfsense, one for use at home and the other as a backup in case of problems (which can happen when you're new to pfsense).
              ... And now I'm living with a Netgate 8200
              ... And sorry for my bad English...

              P 1 Reply Last reply Reply Quote 0
              • P
                pst @SwissSteph
                last edited by

                @SwissSteph No worries :)

                S 1 Reply Last reply Reply Quote 0
                • S
                  SwissSteph @pst
                  last edited by

                  @pst

                  To make something "clean", I re-edited the two lines, put all the "-" in front of the "1".

                  Created a "patch" with YOUR very clear instructions (thanks again!) and "applied" this patch.

                  So I confirm that your corrections also work very well for me.

                  THANKS

                  I started with two "no-name" pfsense, one for use at home and the other as a backup in case of problems (which can happen when you're new to pfsense).
                  ... And now I'm living with a Netgate 8200
                  ... And sorry for my bad English...

                  N 1 Reply Last reply Reply Quote 2
                  • N
                    N0m0fud @SwissSteph
                    last edited by

                    @SwissSteph just wish the code would get fixed permanently.

                    S 1 Reply Last reply Reply Quote 0
                    • C crucialguy referenced this topic on
                    • S
                      SteveITS Galactic Empire @N0m0fud
                      last edited by

                      I skimmed this but don’t see anyone put in a pfBlocker bug report at Redmine.pfSense.org.

                      Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                      When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                      Upvote 👍 helpful posts!

                      DefenderLLCD 1 Reply Last reply Reply Quote 0
                      • DefenderLLCD
                        DefenderLLC @SteveITS
                        last edited by DefenderLLC

                        @SteveITS There’s actually several entries for it with different descriptions.

                        https://redmine.pfsense.org/issues/15419
                        https://redmine.pfsense.org/issues/15365

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          SteveITS Galactic Empire @DefenderLLC
                          last edited by

                          @DefenderLLC I wrote my note poorly...I meant, it wasn't linked on this page. I was on my phone and didn't dig into it, thanks for linking the reports.

                          Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                          When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                          Upvote 👍 helpful posts!

                          1 Reply Last reply Reply Quote 1
                          • P pst referenced this topic on
                          • GertjanG Gertjan referenced this topic on
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.