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
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
CC Updated by Christopher Cope 23 days ago
- 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
- Project changed from pfSense Plus to pfSense
- Category changed from OpenVPN to OpenVPN
MM Updated by Marcos M 20 days ago
- Related to Bug #17042: Config OpenVPN Data Encryption is none cause Error on pfSense 2.9.0 added
GT Updated by Georgiy Tyutyunnik 18 days ago
- 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
- 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