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

DHCP Server PHP error on both Sept Snapshots

Scheduled Pinned Locked Moved CE 2.7.0 Development Snapshots (Retired)
6 Posts 2 Posters 596 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.
  • T
    thestryker6
    last edited by Sep 28, 2022, 7:25 AM

    Crash report begins.  Anonymous machine information:
    
    amd64
    14.0-CURRENT
    FreeBSD 14.0-CURRENT #0 devel-main-n255797-d8d104eec65: Tue Sep 27 06:28:02 UTC 2022     root@freebsd:/var/jenkins/workspace/pfSense-CE-snapshots-master-main/obj/amd64/rzTrzeyH/var/jenkins/workspace/pfSense-CE-snapshots-master-main/sources/FreeBSD-src-dev
    
    Crash report details:
    
    PHP Errors:
    [28-Sep-2022 00:15:59 US/Pacific] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/services_dhcp.php:57
    Stack trace:
    #0 {main}
      thrown in /usr/local/www/services_dhcp.php on line 57
    
    
    
    No FreeBSD crash data found.
    

    Also when trying to access DHCPv6 Server & RA:

    Crash report begins.  Anonymous machine information:
    
    amd64
    14.0-CURRENT
    FreeBSD 14.0-CURRENT #0 devel-main-n255797-d8d104eec65: Tue Sep 27 06:28:02 UTC 2022     root@freebsd:/var/jenkins/workspace/pfSense-CE-snapshots-master-main/obj/amd64/rzTrzeyH/var/jenkins/workspace/pfSense-CE-snapshots-master-main/sources/FreeBSD-src-dev
    
    Crash report details:
    
    PHP Errors:
    [28-Sep-2022 00:15:59 US/Pacific] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/services_dhcp.php:57
    Stack trace:
    #0 {main}
      thrown in /usr/local/www/services_dhcp.php on line 57
    [28-Sep-2022 00:21:44 US/Pacific] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/services_dhcpv6.php:119
    Stack trace:
    #0 {main}
      thrown in /usr/local/www/services_dhcpv6.php on line 119
    
    
    
    No FreeBSD crash data found.
    

    Trying to setup a new box with i226 NICs so fresh install of the ISO and update from fresh 2.6 install both have the same result.

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Sep 28, 2022, 2:22 PM

      I can't replicate that here on a fresh install with or without additional interfaces (static and dynamic).

      I can see in the code how it might be a problem I just can't seem to make it happen here yet.

      Did you alter the configuration in any way directly? Or was the configuration restored from an older system?

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      1 Reply Last reply Reply Quote 0
      • T
        thestryker6
        last edited by Sep 28, 2022, 2:47 PM

        Completely fresh installs all around and initial setup done with a single NIC active with dynamic IP (I tried a USB NIC and one of the 4 i226s during separate attempts). When I tried installing 2.6 with the USB NIC and then updating to 2.7 the DHCP Server page loaded as expected on 2.6 but then had the error after updating.

        1 Reply Last reply Reply Quote 0
        • J
          jimp Rebel Alliance Developer Netgate
          last edited by jimp Sep 28, 2022, 2:57 PM Sep 28, 2022, 2:56 PM

          OK, so you just had "wan" and no other interfaces assigned?

          EDIT: Must be, if I remove all but the WAN I do see the errors you see.

          I'll work on a fix, thanks!

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 1
          • T
            thestryker6
            last edited by Sep 28, 2022, 3:39 PM

            Yeah that must have been it, because I just reset everything and made sure to setup a LAN interface as well and I was able to see everything now.

            1 Reply Last reply Reply Quote 0
            • J
              jimp Rebel Alliance Developer Netgate
              last edited by Sep 28, 2022, 7:41 PM

              OK, the errors you saw should be fixed on future snapshots.

              https://github.com/pfsense/pfsense/commit/0d121100f17790fe12a44ea0edb8026ad626fb4b

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 1
              2 out of 6
              • First post
                2/6
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received