Accessing rule



  • 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



  • 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.



  • @vladimirooliveira:

    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.', ''******)
    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**


Log in to reply