Getting PHP error when editing/adding group
-
Hey All,
I am trying add a domain to unblock when i received the following errors multiple times.
PHP {$errortype}s PHP ERROR: Type: 1, File: /usr/local/www/pfblockerng/pfblockerng_category_edit.php, Line: 391, Message: Uncaught ValueError: range(): Argument #3 ($step) must be greater than 0 for increasing ranges in /usr/local/www/pfblockerng/pfblockerng_category_edit.php:391 Stack trace: #0 /usr/local/www/pfblockerng/pfblockerng_category_edit.php(391): range() #1 {main} thrown @ 2024-05-10 14:33:39
-
@anishkgt said in Getting PHP error when editing/adding group:
pfblockerng_category_edit
Like this : 24.03-DEVELOPMENT - PHP Fatal error: Uncaught ValueError: range(): Argument #3 ?
-
@Gertjan Thanks !
I had install nano as well to edit the filepkg install nano
then edit this config file
/usr/local/www/pfblockerng/pfblockerng_category_edit.php
ctrl+'/' lines 391 and 1517 replace '-1' with '1' as mentioned in the above link. Hopefully this should be included in the next release.
-
Metoo, I love nano, use it since day one.
But you could also use the Patches pfSense package (a must have !)
Just create a patch, as is proposed in the other thread. No need to edit a file.