Netgate SG-1000 microFirewall

Author Topic: Accessing rule  (Read 290 times)

0 Members and 1 Guest are viewing this topic.

Offline vladimirooliveira

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Accessing rule
« on: November 20, 2017, 08:19:09 am »
Hi
When I open the firewall rules I get this error
I'm using 2.3.6-DEVELOPMENT (i386) 2.3.6.a.20171119.1835

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, called in /usr/local/www/firewall_rules_edit.php on line 1710 and defined

can someone help me

Offline Ophion

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Accessing rule
« Reply #1 on: November 20, 2017, 01:51:31 pm »
Not an expert but I have been working with pfSense since almost 2 years back. Of course I am not an expert, not even close but never got this error. Looks like

1- You tried to save a new rule but the process wasn't completed resulting in a bad-configured file. Try to backup your firewall_rules_edit.php file and replace it with a new one. Of course you will need to add the old rules in this new one.
2- Your install process wasn't clean. Try saving configuration file and install again from a new ISO download. Could also be pfSense "lost" a file and now can't find it.

Hope this could help you out.

Offline MrGamecase

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Accessing rule
« Reply #2 on: December 27, 2017, 05:17:14 pm »
Hi
When I open the firewall rules I get this error
I'm using 2.3.6-DEVELOPMENT (i386) 2.3.6.a.20171119.1835

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, called in /usr/local/www/firewall_rules_edit.php on line 1710 and defined

can someone help me

Hi A solution that helped me

1:) log into your router and go to the Diagnostics tab
2:) click edit file and search for file   firewall_rules_edit.php     ( /usr/local/www/firewall_rules_edit.php)
3:) click the file and search for line  1710 ('gateway to utilize policy based routing. %sGateway selection is not valid for "IPV4+IPV6" address family.', '
')
4:) Remove the highlighted sections from line and save   ('gateway to utilize policy based routing. %sGateway selection is not valid for "IPV4+IPV6" address family.', '<b r />')
5:) Save file and refresh the page .. you should now be able to edit rules again


if a more elaborate guide needed i will supply with pics