Actions
Bug #14419
closedPHP error when trying to access pfBlockerNG configuration
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
pfBlockerNG
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Affected Version:
2.7.0
Affected Plus Version:
23.05
Affected Architecture:
All
Description
[25-May-2023 10:56:27 US/Eastern] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/pkg_edit.php:675
Stack trace:
#0 {main}
thrown in /usr/local/www/pkg_edit.php on line 675
config.xml contains:
<menu>
<name>pfBlockerNG</name>
<configfile>pfblockerng.xml</configfile>
<section>Firewall</section>
<url>/pkg_edit.php?xml=pfblockerng.xml</url>
</menu>
After reinstalling the package, the error no longer occurs and config.xml contains:
<menu>
<name>pfBlockerNG</name>
<section>Firewall</section>
<url>/pfblockerng/pfblockerng_general.php</url>
</menu>
Actions