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

PHP Warning: Illegal string offset 'alias' in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 6982

Scheduled Pinned Locked Moved pfBlockerNG
11 Posts 4 Posters 1.3k 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.
  • S
    sbrock99
    last edited by Jul 24, 2018, 12:40 AM

    any clue what this means or how to fix it.

    I keep getting a crash report. The full crash report is below.

    Crash report details:

    PHP Errors:
    [23-Jul-2018 19:37:27 CST6CDT] PHP Warning: Illegal string offset 'alias' in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 6982
    [23-Jul-2018 19:37:27 CST6CDT] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 6995
    [23-Jul-2018 19:37:27 CST6CDT] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 6995
    [23-Jul-2018 19:37:27 CST6CDT] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 6995
    [23-Jul-2018 19:37:27 CST6CDT] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 7000
    [23-Jul-2018 19:37:27 CST6CDT] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 7000
    [23-Jul-2018 19:37:27 CST6CDT] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 7000

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Jul 24, 2018, 3:22 PM

      Does that also happen with the -devel version of the package?

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      1 Reply Last reply Reply Quote 0
      • R
        RonpfS
        last edited by Jul 24, 2018, 4:13 PM

        https://forum.netgate.com/topic/132669/pfblockerng-generating-php-errors/2

        2.4.5-RELEASE-p1 (amd64)
        Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
        Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

        1 Reply Last reply Reply Quote 0
        • S
          Steve_B Netgate
          last edited by Jul 24, 2018, 6:20 PM

          Fixed in both pfBlogker and pfBlockerng-devel packages. Please update when you see the new versions

          Als ik kan

          S 1 Reply Last reply Jul 25, 2018, 12:10 AM Reply Quote 0
          • S
            sbrock99 @Steve_B
            last edited by Jul 25, 2018, 12:10 AM

            @steve_b Thanks. I'm now only getting the following:
            PHP Errors:
            [24-Jul-2018 19:04:19 CST6CDT] PHP Warning: Illegal string offset 'vip' in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 1130
            [24-Jul-2018 19:04:19 CST6CDT] PHP Warning: Illegal string offset 'vip' in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 1133

            1 Reply Last reply Reply Quote 0
            • S
              Steve_B Netgate
              last edited by Jul 25, 2018, 12:23 AM

              Version 2.2.3 contains an additional fix

              Als ik kan

              S 1 Reply Last reply Jul 25, 2018, 12:32 AM Reply Quote 0
              • S
                sbrock99 @Steve_B
                last edited by Jul 25, 2018, 12:32 AM

                @steve_b I'm currently on 2.4.4-DEVELOPMENT (amd64) built on Tue Jul 24 17:06:16 EDT 2018 FreeBSD 11.2-RELEASE. So I'm assuming I'm stuck with it for now?

                1 Reply Last reply Reply Quote 0
                • S
                  Steve_B Netgate
                  last edited by Jul 25, 2018, 12:33 AM

                  The update should become available quite soon.

                  Als ik kan

                  1 Reply Last reply Reply Quote 0
                  • S
                    sbrock99
                    last edited by Jul 25, 2018, 1:10 AM

                    @Steve_B awesome! thanks for the info. Love the product!

                    1 Reply Last reply Reply Quote 0
                    • S
                      Steve_B Netgate
                      last edited by Jul 25, 2018, 1:46 AM

                      Unfortunately pfBlockerNG has an almost infinite number of possible configurations, so there may yet be some PHP7 related warning messages hidden somewhere. We will zap them as they turn up, however :)

                      Als ik kan

                      1 Reply Last reply Reply Quote 1
                      • S
                        sbrock99
                        last edited by Jul 25, 2018, 2:52 AM

                        @Steve_B Sorry to keep bothering you but I'm learning as I go. For the PFSense box that I built, I used a Gigabyte B360N with a built in Intel CNVi 2x2 802.11 wifi. How ever I can not see it while in PFSense .... is there a driver I need to install? if so could you be so kind as to point me in that direction.

                        1 Reply Last reply Reply Quote 0
                        1 out of 11
                        • First post
                          1/11
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                          This community forum collects and processes your personal information.
                          consent.not_received