Project

General

Profile

Actions

Bug #8242

closed

Unable to edit firewall rules

Added by Stephen Dorrington almost 7 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Web Interface
Target version:
Start date:
12/27/2017
Due date:
% Done:

100%

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

Description

Upon trying to edit firewall rules an error was presented

Catchable fatal error: Argument 2 passed to Form_Input::setHelp() must be of the type array, string given, called in /usr/local/www/firewall_rules_edit.php on line 1710 and defined in /usr/local/www/classes/Form/Input.class.php on line 145 PHP ERROR: Type: 4096, File: /usr/local/www/classes/Form/Input.class.php, Line: 145, Message: Argument 2 passed to Form_Input::setHelp() must be of the type array, string given,
10:04 PM called in /usr/local/www/firewall_rules_edit.php on line 1710 and defined

Possible solution

Edit file /usr/local/www/firewall_rules_edit.php go to line 1710 & Remove the following %s '<br />' from the line

Actions #1

Updated by Pi Ba almost 7 years ago

Was found on 2.3.6.a.20171227.0928, and 'target version' should be set to 2.3.6 if possible. (that can only be changed by staff though, i'm not)

Actions #2

Updated by Jim Pingle almost 7 years ago

  • Assignee set to Jim Pingle
  • Target version set to 2.3.6

Looks like this was a 2.4-ism that got picked back into RELENG_2_3. I pushed a fix that keeps the formatting.

Actions #3

Updated by Jim Pingle almost 7 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #4

Updated by Jim Pingle over 6 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF