OPNsense Forum
Archive => 17.7 Legacy Series => Topic started by: guest15389 on September 16, 2017, 02:33:12 pm
-
I'm seeing this pop up after I added in the DynDNS package:
[16-Sep-2017 08:29:36 America/New_York] PHP Fatal error: Uncaught Error: Call to undefined function xml2array() in /usr/local/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc:942
Stack trace:
#0 /usr/local/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc(735): updatedns->_checkStatus(Resource id #481, '_update()
#2 /usr/local/etc/inc/plugins.inc.d/dyndns.inc(169): updatedns->__construct('namecheap', 'host.domain....', 'first.last@gma...', 'f646712c2fe2424...', NULL, '', 'wan', NULL, NULL, NULL, '', '1', '', '', '', 'wan', '0', true, false, false)
#3 /usr/local/etc/inc/plugins.inc.d/dyndns.inc(194): dyndns_configure_client(Array)
#4 /usr/local/etc/inc/plugins.inc(213): dyndns_configure_do(true)
#5 /usr/local/etc/rc.bootup(123): plugins_configure('bootup', true)
#6 {main}
thrown in /usr/local/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc on line 942
I removed my email/domain with some generic items.
-
I got the exact same issue, also with namecheap as my dyndns provider. Error occured after update to 17.7.2. dyndns updates not working anymore, which is kind of bad for my usecase.
Maybe some include is missing or something like that, because afaik xml2array is not a native php function...
-
Okay, nevermind, i found the solution on github, searched in the wrong project (core instead of plugins) before.
here you go: https://github.com/opnsense/plugins/issues/269
just ssh into your instance and run "opnsense-patch -c plugins da5ae3c"
-
Thanks. That worked for me.
-
Will be fixed via 17.7.3 tomorrow.
Thanks for the reports and testing. :)
Cheers,
Franco