Project

General

Profile

Actions

Bug #13964

open

PHP syntax error in ``ec2_setup.php``

Added by Danilo Zrenjanin about 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
OpenVPN
Target version:
-
Start date:
Due date:
% Done:

0%

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

Description

The ec2_setup.php file contains code that is not compatible with PHP 8.1.

[16-Feb-2023 08:35:53 Europe/Rome] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /usr/local/sbin/ec2_setup.php:299
Stack trace:
#0 /usr/local/sbin/ec2_setup.php(478): writeOpenVPNConfig('x.x.x.x')
#1 {main}
  thrown in /usr/local/sbin/ec2_setup.php on line 299
Actions

Also available in: Atom PDF