Project

General

Profile

Actions

Bug #8714

closed

error in services_dhcpv6.php after clicking on Save button in case RA was not setup before enabling DHCPv6

Added by Constantine Kormashev over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Category:
-
Target version:
Start date:
07/29/2018
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:

Description

Error occurs only in case RA was not setup before enabling DHCPv6

Warning: Illegal string offset 'lan' in /usr/local/www/services_dhcpv6.php on line 416
Warning: Illegal string offset 'lan' in /usr/local/www/services_dhcpv6.php on line 419
Fatal error: Uncaught Error: Cannot use string offset as an array in /usr/local/www/services_dhcpv6.php:419
Stack trace: #0 {main} thrown in /usr/local/www/services_dhcpv6.php on line 419
PHP ERROR: Type: 1, File: /usr/local/www/services_dhcpv6.php, Line: 419,
Message: Uncaught Error: Cannot use string offset as an array in /usr/local/www/services_dhcpv6.php:419 Stack trace: #0 {main} thrown

This is hard to reproduce, if RA was enabled even once on device and disabled after, the issue does not occur.
Related https://redmine.pfsense.org/issues/8679

Actions

Also available in: Atom PDF