Project

General

Profile

Actions

Bug #13964

closed

PHP syntax error in ``ec2_setup.php``

Added by Danilo Zrenjanin over 1 year ago. Updated 27 days 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