Actions
Bug #14978
closedPHP error on ``services_dhcpv6.php`` if the configuration contains an empty ``dhcpv6`` section
Start date:
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
23.09.1
Release Notes:
Default
Affected Version:
Affected Architecture:
All
Description
On a fresh install:
- Configure a static IPv6 address on LAN, click
Save
- Go to
Services > DHCPv6 Server
, clickEnable
then clickSave
[13-Nov-2023 20:10:11 Etc/UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/services_dhcpv6.php:271 Stack trace: #0 {main} thrown in /usr/local/www/services_dhcpv6.php on line 271
Files
Updated by Marcos M about 1 year ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset 6df70417029defed162b539720e8baa03984f653.
Updated by Jordan G about 1 year ago
I set a static v6 address on one of my LANs and when trying to enable ISC or KEA v6 DHCP server I receive the same message, with or without the above patch applied. Don't seem to be able to specify an acceptable range.
Updated by Jim Pingle about 1 year ago
- Target version changed from 2.8.0 to 2.7.2
- Plus Target Version changed from 24.03 to 23.09.1
Updated by Jim Pingle about 1 year ago
- Status changed from Feedback to Resolved
That is normal if you don't fix the range after switching from tracked to static. The default values for tracked range suffixes there won't work for a static setup.
I tried from a stock config and also from one modified to have an empty <dhcpdv6>
tag and both were successful and did not produce any PHP errors.
Actions