Project

General

Profile

Actions

Bug #14978

closed

PHP error on ``services_dhcpv6.php`` if the configuration contains an empty ``dhcpv6`` section

Added by Marcos M 6 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
DHCP (IPv6)
Target version:
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:
  1. Configure a static IPv6 address on LAN, click Save
  2. Go to Services > DHCPv6 Server, click Enable then click Save
[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

clipboard-202311252211-cljpm.png (9.25 KB) clipboard-202311252211-cljpm.png Jordan G, 11/26/2023 04:11 AM
Actions

Also available in: Atom PDF