• Franco Fichtner's avatar
    mvc: try to fix crash report · a14da189
    Franco Fichtner authored
    Seems like years ago when PHP 5.5 had trouble iterating non-
    existing arrays PHP 7 introduced a new problem with nodes
    that seem to be set but no longer available, yielding:
    
        PHP Warning:  OPNsense\Base\FieldTypes\InterfaceField::eventPostLoading():
          Node no longer exists in /usr/local/opnsense/mvc/app/models/OPNsense/Base/FieldTypes/InterfaceField.php on line 132
    
    The same thing happened in the acme-client plugin and was
    allegedly fixed with the following code.  Even if this doesn't
    help it is harmless and we'll see through the crash reporter
    soon enough.
    a14da189
Name
Last commit
Last update
..
Base Loading commit data...
CaptivePortal Loading commit data...
Core Loading commit data...
Cron Loading commit data...
Diagnostics Loading commit data...
Dnsmasq/Menu Loading commit data...
DynamicDNS Loading commit data...
IDS Loading commit data...
Ntpd Loading commit data...
Proxy Loading commit data...
RFC2136 Loading commit data...
TrafficShaper Loading commit data...
Unbound/Menu Loading commit data...