Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Fatal Error Selecting DNS Forwarder

    Scheduled Pinned Locked Moved webGUI
    5 Posts 3 Posters 958 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      pfnewb2016
      last edited by

      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-3100

      Crash 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 96

      No FreeBSD crash data found.*

      1 Reply Last reply Reply Quote 0
      • P
        pfnewb2016
        last edited by

        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?

        1 Reply Last reply Reply Quote 0
        • U
          urby
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            Just apply the patches that are listed in the bug report..

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 1
            • P
              pfnewb2016
              last edited by

              I restored a backup and then was careful to not enable DNS Forwarder while DNS Resolver was already enabled.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.