Project

General

Profile

Actions

Bug #8838

closed

PHP warning when creating an OpenVPN client with invalid setting

Added by Anonymous about 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
Start date:
08/26/2018
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.4
Affected Architecture:

Description

On a recent 2.4.4 snapshot visit VPN > OpenVPN > Client > Add, change Server mode to "Peer to Peer ( Shared Key )" and click Save.

Upon clicking save the following PHP error will be shown:

Warning: count(): Parameter must be an array or an object that implements Countable in /usr/local/www/guiconfig.inc on line 260 
Actions #1

Updated by Anonymous about 6 years ago

  • Subject changed from PHP warning when creating an OpenVPN client with multiple invalid settings to PHP warning when creating an OpenVPN client with invalid setting
Actions #2

Updated by Anonymous about 6 years ago

  • Category set to Web Interface
  • Status changed from New to Feedback
  • Assignee set to Anonymous
Actions #3

Updated by Anonymous about 6 years ago

  • % Done changed from 0 to 100
Actions #4

Updated by Anonymous about 6 years ago

On 2.4.4.a.20180827.1735, cannot reproduce.

Actions #5

Updated by Anonymous about 6 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF