Project

General

Profile

Actions

Bug #13964

closed

PHP syntax error in ``ec2_setup.php``

Added by Danilo Zrenjanin almost 2 years ago. Updated 6 months ago.

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

0%

Estimated time:
Release Notes:
Force Exclusion
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