Project

General

Profile

Bug #8242

Unable to edit firewall rules

Added by Stephen Dorrington 10 months ago. Updated 4 months ago.

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

100%

Estimated time:
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

Associated revisions

Revision 34300d73 (diff)
Added by Jim Pingle 10 months ago

Correct sethelp call on firewall_rules_edit.php, Fixes #8242

History

#1 Updated by Pi Ba 10 months 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)

#2 Updated by Jim Pingle 10 months 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.

#3 Updated by Jim Pingle 10 months ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

#4 Updated by Jim Pingle 4 months ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF