Bug #10217
closedPHP Warning: Invalid argument supplied for foreach() in /etc/inc/ipsec.inc on line 952
100%
Description
Crash report begins. Anonymous machine information:
arm
11.3-STABLE
FreeBSD 11.3-STABLE #66 7a31f290955(factory-RELENG_2_4_5): Tue Jan 28 13:47:46 EST 2020 root@buildbot2-nyi.netgate.com:/build/factory-crossbuild-245/obj/armv6/a2TkGfed/arm.armv6/build/factory-crossbuild-245/sources/FreeBSD-src/sys/pfSense-SG-3100
Crash report details:
PHP Errors:
[28-Jan-2020 15:01:13 America/Chicago] PHP Warning: Invalid argument supplied for foreach() in /etc/inc/ipsec.inc on line 952
[28-Jan-2020 15:01:30 America/Chicago] PHP Warning: Invalid argument supplied for foreach() in /etc/inc/ipsec.inc on line 952
[28-Jan-2020 15:02:21 America/Chicago] PHP Warning: Invalid argument supplied for foreach() in /etc/inc/ipsec.inc on line 952
[28-Jan-2020 15:03:27 America/Chicago] PHP Warning: Invalid argument supplied for foreach() in /etc/inc/ipsec.inc on line 952
No FreeBSD crash data found.
Updated by Jim Pingle almost 5 years ago
- Category set to IPsec
- Status changed from New to In Progress
- Assignee set to Jim Pingle
- Target version set to 2.5.0
- Affected Version set to All
- Affected Architecture All added
- Affected Architecture deleted (
)
Looks like the config.xml on the target system is missing the <installedpackages>
tag, which is not atypical, so the code needs to check before using it as an array.
Updated by Jim Pingle almost 5 years ago
- Subject changed from PHP Error 2.4.5 to PHP Warning: Invalid argument supplied for foreach() in /etc/inc/ipsec.inc on line 952
- Target version changed from 2.5.0 to 2.4.5
- Affected Version changed from All to 2.4.5
Updated by Jim Pingle almost 5 years ago
This was already fixed on 2.5.0. Made a separate fix to 2.4.5.
Updated by Jim Pingle almost 5 years ago
- Status changed from In Progress to Feedback
- % Done changed from 0 to 100
Applied in changeset 0812e3cf417ab30afa05182bdba101591d2da886.