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

    PHP Warning: Invalid argument supplied for foreach() in /etc/inc/filter.inc on line 489

    Scheduled Pinned Locked Moved 2.5 Development Snapshots (Retired)
    4 Posts 2 Posters 274 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.
    • w0wW
      w0w
      last edited by w0w

      Crash report begins.  Anonymous machine information:
      
      amd64
      12.0-RELEASE-p10
      FreeBSD 12.0-RELEASE-p10 fe839027797(RELENG_2_5) pfSense
      Crash report details:
      
      PHP Errors:
      [28-Nov-2019 18:35:14 Europe/Tallinn] PHP Warning:  Invalid argument supplied for foreach() in /etc/inc/filter.inc on line 489
      [28-Nov-2019 18:35:16 Europe/Tallinn] PHP Warning:  Invalid argument supplied for foreach() in /etc/inc/filter.inc on line 489
      [28-Nov-2019 18:35:20 Europe/Tallinn] PHP Warning:  Invalid argument supplied for foreach() in /etc/inc/filter.inc on line 489
      [28-Nov-2019 18:35:21 Europe/Tallinn] PHP Warning:  Invalid argument supplied for foreach() in /etc/inc/filter.inc on line 489
      [28-Nov-2019 18:35:35 Europe/Tallinn] PHP Warning:  Invalid argument supplied for foreach() in /etc/inc/filter.inc on line 489
      
      
      
      No FreeBSD crash data found.
      

      I think this one is failed somehow:
      https://github.com/pfsense/pfsense/pull/4098/commits/2f2dc8c9cb81a945292e6ad483e6e85bba5128bf

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Yup also seeing that error....

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          Yeah there's no check that it exists. It throws that error, which seems to be harmless, if you have no aliases.
          Just create one to prevent it.

          Steve

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            https://redmine.pfsense.org/issues/9936

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