Project

General

Profile

Bug #8714

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

Added by Constantine Kormashev over 1 year ago. Updated over 1 year ago.

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

100%

Estimated time:
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

Associated revisions

Revision 5fa2a4a2 (diff)
Added by Stephen Jones over 1 year ago

Fixes #8714 PHP7 illegal string offset error

History

#1 Updated by Anonymous over 1 year ago

  • Assignee set to Anonymous

#2 Updated by Anonymous over 1 year ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

#3 Updated by Vladimir Lind over 1 year 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.

Also available in: Atom PDF