Project

General

Profile

Bug #8643

IPsec not working on latest 2.4.4 snap

Added by Vladimir Lind over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
IPsec
Target version:
Start date:
07/13/2018
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.4.4
Affected Architecture:

Description

IPsec is not establishing connection, seeing this error (crash):

Fatal error: Uncaught Error: [] operator not supported for strings in /etc/inc/vpn.inc:373
Stack trace:
#0 /etc/rc.bootup(411): vpn_ipsec_configure()
#1 {main}
thrown in /etc/inc/vpn.inc on line 373
PHP ERROR: Type: 1, File: /etc/inc/vpn.inc, Line: 373, Message: Uncaught Error: [] operator not supported for strings in /etc/inc/vpn.inc:373
Stack trace:
#0 /etc/rc.bootup(411): vpn_ipsec_configure()
#1 {main}

History

#1 Updated by Vladimir Lind over 1 year ago

Thu Jul 12 06:13:34 EDT 2018 snap on SG3100

#2 Updated by Anonymous over 1 year ago

  • Status changed from New to Feedback
  • Assignee set to Anonymous
  • % Done changed from 0 to 100

Fix pushed. 07ca01622ba8251d61b48b3b26442f4323df3428

Looks like the variable was initialized as a string instead of an array. PHP7 doesn't switch types like PHP5 did.

#3 Updated by Anonymous over 1 year ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF