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

    DHCP not working after 23.01 update

    Scheduled Pinned Locked Moved DHCP and DNS
    2 Posts 1 Posters 458 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.
    • R
      runDMG
      last edited by

      Hello all,
      When updating to 23.01 I am getting a PHP error that seems to be with the DHCP server.

      If I load the factory defaults onto the router DHCP functions fine with no errors.

      I have combed through the DHCP Reservations and server settings for anything that looks strange and I don't see anything that jumps out.

      I have tried reinstalling the firmware for a clean state, and then restoring from backup with the same issue.

      Statically set devices route to the internet just fine

      We have our backup XG running in place for now so I am open to trying anything.

      Current config runs fine on 22.01

      Here is the crash report:

      Crash report begins.  Anonymous machine information:
      
      amd64
      14.0-CURRENT
      FreeBSD 14.0-CURRENT #0 plus-RELENG_23_01-n256037-6e914874a5e: Fri Feb 10 20:30:29 UTC 2023     root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-23_01-main/obj/amd64/VDZvZksF/var/jenkins/workspace/pfSense-Plus-snapshots-23_01-main/sources/FreeBS
      
      Crash report details:
      
      PHP Errors:
      [20-Feb-2023 12:24:47 EST5EDT] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /etc/inc/services.inc:542
      Stack trace:
      #0 /etc/inc/services.inc(483): services_dhcpdv4_configure()
      #1 /etc/rc.bootup(371): services_dhcpd_configure()
      #2 {main}
        thrown in /etc/inc/services.inc on line 542
      [20-Feb-2023 12:27:02 EST5EDT] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/services_dhcp.php:140
      Stack trace:
      #0 {main}
        thrown in /usr/local/www/services_dhcp.php on line 140
      [20-Feb-2023 12:27:18 EST5EDT] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/services_dhcp.php:140
      Stack trace:
      #0 {main}
        thrown in /usr/local/www/services_dhcp.php on line 140
      [20-Feb-2023 12:27:34 EST5EDT] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /etc/inc/services.inc:542
      Stack trace:
      #0 /etc/inc/services.inc(483): services_dhcpdv4_configure()
      #1 /etc/inc/service-utils.inc(733): services_dhcpd_configure()
      #2 /usr/local/www/status_services.php(46): service_control_start('dhcpd', Array)
      #3 {main}
        thrown in /etc/inc/services.inc on line 542
      [20-Feb-2023 12:28:25 EST5EDT] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /etc/inc/services.inc:542
      Stack trace:
      #0 /etc/inc/services.inc(483): services_dhcpdv4_configure()
      #1 /etc/inc/service-utils.inc(733): services_dhcpd_configure()
      #2 /usr/local/www/status_services.php(46): service_control_start('dhcpd', Array)
      #3 {main}
        thrown in /etc/inc/services.inc on line 542
      
      
      
      No FreeBSD crash data found.
      

      Thank you for any help!

      R 1 Reply Last reply Reply Quote 0
      • R
        runDMG @runDMG
        last edited by

        I have tried resetting up an interface in the console that uses DHCP like I saw some on the forums talk about, that did not fix the issue for me

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