PHP7 - Resolve illegal null in escapeshellarg() error
PHP7 - Resolve Illegal string offset warning
Merge branch 'master' of gitlab.netgate.com:pfsense/pfsense
Remove references for new classes instances adding a temporary variable. We will revisit it later
PHP7 - Resolve illegal offset error
Check for valid array before call foreach()
Merge pull request #3781 from PiBa-NL/20170712-defaultgateway-group
Merge pull request #3918 from RepositPower/default-route-preference-in-radvd.conf
Add array check
Even though I now set `$ns` equal to `array_unique(get_nameservers()`, just to be safe we check with `is_array($ns)` and set it to a blank array if not. Shouldn't ever happen, but an extra error avoidance test is better than a hard to track down bug later.
scope error?
Error on reboot.
```[04-Apr-2018 02:21:54 EST5EDT] PHP Warning: in_array() expects parameter 2 to be array, null given in /etc/inc/system.inc on line 1380```
I believe this is because $ns is defined inside the above for loop. pulling it out of the loop
View revisions
Also available in: Atom