Fatal Error Selecting DNS Forwarder
-
I went to configure an override in DNS resolver and had a conflict because DNS forwarder was running. Seemed ok, now clicking DNS forwarder returns a fatal error and the page displays the following error.
Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/www/services_dnsmasq.php:96 Stack trace: #0 {main} thrown in /usr/local/www/services_dnsmasq.php on line 96 PHP ERROR: Type: 1, File: /usr/local/www/services_dnsmasq.php, Line: 96, Message: Uncaught Error: Cannot create references to/from string offsets in /usr/local/www/services_dnsmasq.php:96 Stack trace: #0 {main} thrown
Crash report data is below. I'm guessing it's a simple fix but I don't know what file / edits to make.
Thank you.
========================
*Crash report begins. Anonymous machine information:
arm
11.2-RELEASE-p3
FreeBSD 11.2-RELEASE-p3 #12 220591260a0(factory-RELENG_2_4_4): Thu Sep 20 10:03:17 EDT 2018 root@buildbot3:/crossbuild/244/obj/armv6/zusWWsAv/arm.armv6/crossbuild/244/pfSense/tmp/FreeBSD-src/sys/pfSense-SG-3100Crash report details:
PHP Errors:
[16-Nov-2018 05:03:39 Etc/GMT-7] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/www/services_dnsmasq.php:96
Stack trace:
#0 {main}
thrown in /usr/local/www/services_dnsmasq.php on line 96
[16-Nov-2018 05:04:48 Etc/GMT-7] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/www/services_dnsmasq.php:96
Stack trace:
#0 {main}
thrown in /usr/local/www/services_dnsmasq.php on line 96
[16-Nov-2018 05:04:57 Etc/GMT-7] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/www/services_dnsmasq.php:96
Stack trace:
#0 {main}
thrown in /usr/local/www/services_dnsmasq.php on line 96
[16-Nov-2018 05:08:55 Etc/GMT-7] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/www/services_dnsmasq.php:96
Stack trace:
#0 {main}
thrown in /usr/local/www/services_dnsmasq.php on line 96No FreeBSD crash data found.*
-
I see this is a bug, https://redmine.pfsense.org/issues/8967, is there a work around or manual way to resolve in the interim?
-
I am having the same issue and having to update DNS settings for everything that pointed only to my pfSense box. I too would like to see an interm work around that I can implement in the mean time.
-
Just apply the patches that are listed in the bug report..
-
I restored a backup and then was careful to not enable DNS Forwarder while DNS Resolver was already enabled.