Project

General

Profile

Actions

Bug #17043

closed
LP MM

PHP error when removing all Data Encryption Algorithms from an OpenVPN instance

Bug #17043: PHP error when removing all Data Encryption Algorithms from an OpenVPN instance

Added by Lev Prokofev 23 days ago. Updated 11 days ago.

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

100%

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

Description

Tested on

26.07-RELEASE (amd64)
built on Fri Aug 7 22:26:00 MSK 2026
FreeBSD 16.0-CURRENT

The issue exists in CE 2.9 as well.

To replicate:

1)Uncheck Data Encryption Algorithms
2)Save config

Crash:

[22-Aug-2026 13:14:30 Europe/Moscow] PHP Fatal error:  Uncaught TypeError: Form_Select::__construct(): Argument #4 ($values) must be of type array, null given, called in /usr/local/www/vpn_openvpn_server.php on line 1242 and defined in /usr/local/www/classes/Form/Select.class.php:31
Stack trace:
#0 /usr/local/www/vpn_openvpn_server.php(1242): Form_Select->__construct()
#1 {main}
  thrown in /usr/local/www/classes/Form/Select.class.php on line 31

Files

clipboard-202608221317-ez2xx.png (80.3 KB) clipboard-202608221317-ez2xx.png Lev Prokofev, 08/22/2026 10:17 AM

Related issues 1 (0 open1 closed)

Related to Bug #17042: Config OpenVPN Data Encryption is none cause Error on pfSense 2.9.0Rejected

Actions

CC Updated by Christopher Cope 23 days ago Actions #1

  • Status changed from New to Confirmed

Tested on

26.07-RELEASE (amd64)
built on Fri Aug 7 19:26:00 UTC 2026
FreeBSD 16.0-CURRENT

I can confirm this behavior.

JP Updated by Jim Pingle 21 days ago Actions #2

  • Project changed from pfSense Plus to pfSense
  • Category changed from OpenVPN to OpenVPN

MM Updated by Marcos M 20 days ago Actions #3

  • Related to Bug #17042: Config OpenVPN Data Encryption is none cause Error on pfSense 2.9.0 added

MM Updated by Marcos M 19 days ago Actions #4

  • Status changed from Confirmed to Feedback
  • Assignee set to Marcos M
  • Target version set to CE-Next
  • % Done changed from 0 to 100
  • Plus Target Version set to 26.10

Show

GT Updated by Georgiy Tyutyunnik 18 days ago Actions #5

  • Status changed from Feedback to Resolved

patch fixes the issue
tested on:
26.07-RELEASE (amd64)
built on Fri Aug 7 19:26:00 UTC 2026
FreeBSD 16.0-CURRENT

JP Updated by Jim Pingle 11 days ago Actions #6

  • Subject changed from Unchecking all Data Encryption Algorithms in OpenVPN config produces the crash instead of warning. to PHP error when removing all Data Encryption Algorithms from an OpenVPN instance
Actions

Also available in: Atom