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 #1

Updated by Jim Pingle almost 2 years ago

  • Project changed from pfSense to pfSense Plus
  • Subject changed from ec2_setup.php old code for PHP 8.1 to PHP syntax error in ``ec2_setup.php``
  • Category changed from OpenVPN to OpenVPN

That code only exists in Plus, and it's in the factory ports repo under sysutils/pfSense-ec2_setup

Actions #2

Updated by Marcos M 6 months ago

  • Status changed from New to Resolved
  • Assignee set to Marcos M
  • Target version set to 24.11
  • Release Notes changed from Default to Force Exclusion

This is fixed with the config access work in 24.08.

Actions

Also available in: Atom PDF