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

    Snort Widget Error

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    5 Posts 4 Posters 2.0k 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.
    • M
      m4rcu5
      last edited by

      Hi,

      When activating the snort widget on BETA3 you get to see the widget, but it presents the following error:

      Warning: Invalid argument supplied for foreach() in /usr/local/www/widgets/widgets/snort_alerts.widget.php on line 38 
      

      It goes away when hitting 'save settings' but them i don't see any alerts show up.
      Also when you klick the widget is redirects you to '/snort_alerts.php' which results in a 404.

      .m4rcu5

      1 Reply Last reply Reply Quote 0
      • JSmoradaJ
        JSmorada
        last edited by

        same issue here testing w/pfsense 2.0 beta.

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          The foreach error should be fixed if you reinstall the package.

          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 0
          • B
            BuLLeT
            last edited by

            Worked for me.

            But I will open another topic…

            Snort is giving now errors on Rules
            "Fatal error: Cannot redeclare csrf_startup() (previously declared in /usr/local/www/guiconfig.inc:39) in /usr/local/www/guiconfig.inc on line 38"

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              There are other threads for that, it's not related to this problem.

              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 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.