• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Setting firewall log size: Fatal error: Uncaught Error: Cannot use string offset as an array in /usr/local/www/status_logs_common.inc:668

Scheduled Pinned Locked Moved webGUI
3 Posts 2 Posters 349 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    rgijsen
    last edited by Feb 19, 2019, 9:31 AM

    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?

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Feb 19, 2019, 1:39 PM

      That is a bug fixed after 2.4.4-RELEASE.

      https://redmine.pfsense.org/issues/9095

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      1 Reply Last reply Reply Quote 1
      • R
        rgijsen
        last edited by Feb 19, 2019, 1:52 PM

        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!

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received