PHP ``foreach`` error in IPsec status
Plus Target Version:
In rare occasions I have hit a PHP error from the IPsec status page, though I haven't managed to replicate it on demand yet.
[30-Nov-2021 12:59:47 America/New_York] PHP Warning: Invalid argument supplied for foreach() in /usr/local/www/status_ipsec.php on line 117
Probably easy to fix with an
is_array check before the foreach.
Updated by Viktor Gurov about 2 months ago