Setting firewall log size: Fatal error: Uncaught Error: Cannot use string offset as an array in /usr/local/www/status_logs_common.inc:668
-
Hi. We were running 2.4.4 r2, but we had issues (https://redmine.pfsense.org/issues/9296) forcing me to downgrade to 2.4.4 release. So yesterday, using the ISO I reinstalled both my HA / CARP nodes, and restored the respective configs. Worked perfectly fine. However, now I try to increase the firewall log size on both, from the standard 512KB to 10MB (10485760 bytes). The master-node works fine, the backup-node reports:
Fatal error: Uncaught Error: Cannot use string offset as an array in /usr/local/www/status_logs_common.inc:668 Stack trace: #0 /usr/local/www/status_logs_filter.php(95): manage_log_code() #1 {main} thrown in /usr/local/www/status_logs_common.inc on line 668 PHP ERROR: Type: 1, File: /usr/local/www/status_logs_common.inc, Line: 668, Message: Uncaught Error: Cannot use string offset as an array in /usr/local/www/status_logs_common.inc:668 Stack trace: #0 /usr/local/www/status_logs_filter.php(95): manage_log_code() #1 {main} thrown
The only thing I found on the forum and Google is that these are 'generic' PHP errors. However, as said both boxes are installed just yesterday, with no updates afterwards. So I don't understand why one box works, and the other doesn't.
Any clue?
-
That is a bug fixed after 2.4.4-RELEASE.
https://redmine.pfsense.org/issues/9095
-
Thanks for the quick reply! I totally missed that. For now I edited config.xml's syslog section, and sure enough it works perfectly fine now!