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 #1

Updated by Anonymous over 6 years ago

  • Assignee set to Anonymous
Actions #2

Updated by Anonymous over 6 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #3

Updated by Vladimir Lind over 6 years ago

  • Status changed from Feedback to Resolved

On 2.4.4 Fri Aug 17 21:29:09 EDT 2018:

Created new interface, assigned ipv6, enabled, then verified both dhcp6 and RA are disabled for this interface. Configured dhcp6 server, saved changes (RA left disabled). Looks good - no errors.

Actions

Also available in: Atom PDF