Project

General

Profile

Actions

Bug #8643

closed

IPsec not working on latest 2.4.4 snap

Added by Vladimir Lind almost 6 years ago. Updated almost 6 years ago.

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

100%

Estimated time:
Plus Target Version:
Release Notes:
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}

Actions #1

Updated by Vladimir Lind almost 6 years ago

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

Actions #2

Updated by Anonymous almost 6 years 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.

Actions #3

Updated by Anonymous almost 6 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF