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

    Widget crash anyone ?

    Scheduled Pinned Locked Moved 2.4 Development Snapshots
    12 Posts 6 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.
    • S Offline
      singerie
      last edited by

      It happened after an upgrade to the latest snapshot. before that, I was running something from Jan 9 ( i think ).

      1 Reply Last reply Reply Quote 0
      • P Offline
        Phil.Scarr
        last edited by

        @singerie:

        It happened after an upgrade to the latest snapshot. before that, I was running something from Jan 9 ( i think ).

        FWIW, +1 on this.  I've seen this multiple times, usually when returning to the dashboard from another part of the GUI.

        1 Reply Last reply Reply Quote 0
        • P Offline
          Phil.Scarr
          last edited by

          Actually, I think I've got a different PHP error…

          [17-Jan-2017 14:53:51 America/Chicago] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/www/widgets/widgets/interface_statistics.widget.php on line 137
          [17-Jan-2017 14:53:51 America/Chicago] PHP Stack trace:
          [17-Jan-2017 14:53:51 America/Chicago] PHP  1. {main}() /usr/local/www/index.php:0
          [17-Jan-2017 14:53:51 America/Chicago] PHP  2. include_once() /usr/local/www/index.php:406
          [17-Jan-2017 15:05:55 America/Chicago] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/www/widgets/widgets/interface_statistics.widget.php on line 137
          [17-Jan-2017 15:05:55 America/Chicago] PHP Stack trace:
          [17-Jan-2017 15:05:55 America/Chicago] PHP  1. {main}() /usr/local/www/index.php:0
          [17-Jan-2017 15:05:55 America/Chicago] PHP  2. include_once() /usr/local/www/index.php:406
          [17-Jan-2017 15:23:42 America/Chicago] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/www/widgets/widgets/interface_statistics.widget.php on line 137
          [17-Jan-2017 15:23:42 America/Chicago] PHP Stack trace:
          [17-Jan-2017 15:23:42 America/Chicago] PHP  1. {main}() /usr/local/www/index.php:0
          [17-Jan-2017 15:23:42 America/Chicago] PHP  2. include_once() /usr/local/www/index.php:406
          [17-Jan-2017 16:02:23 America/Chicago] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/www/widgets/widgets/interface_statistics.widget.php on line 137
          [17-Jan-2017 16:02:23 America/Chicago] PHP Stack trace:
          [17-Jan-2017 16:02:23 America/Chicago] PHP  1. {main}() /usr/local/www/index.php:0
          [17-Jan-2017 16:02:23 America/Chicago] PHP  2. include_once() /usr/local/www/index.php:406
          [17-Jan-2017 16:23:58 America/Chicago] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/www/widgets/widgets/interface_statistics.widget.php on line 137
          [17-Jan-2017 16:23:58 America/Chicago] PHP Stack trace:
          [17-Jan-2017 16:23:58 America/Chicago] PHP  1. {main}() /usr/local/www/index.php:0
          [17-Jan-2017 16:23:58 America/Chicago] PHP  2. include_once() /usr/local/www/index.php:406

          1 Reply Last reply Reply Quote 0
          • S Offline
            singerie
            last edited by

            I reported the bug to redmine.

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

            1 Reply Last reply Reply Quote 0
            • P Offline
              Phil.Scarr
              last edited by

              @singerie:

              I reported the bug to redmine.

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

              Ditto.

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

              1 Reply Last reply Reply Quote 0
              • D Offline
                doktornotor Banned
                last edited by

                @Phil.Scarr:

                @singerie:

                I reported the bug to redmine.

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

                Ditto.

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

                Congrats on duplicate bug.  ::)

                1 Reply Last reply Reply Quote 0
                • P Offline
                  Phil.Scarr
                  last edited by

                  @doktornotor:

                  @Phil.Scarr:

                  @singerie:

                  I reported the bug to redmine.

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

                  Ditto.

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

                  Congrats on duplicate bug.  ::)

                  ::)  Crap… Good point.  Closing it and will follow the other one.

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    doktornotor Banned
                    last edited by

                    It's already fixed, gitsync or wait for next snapshot.

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      phil.davis
                      last edited by

                      I still get the issue if I have just the Interface Statistics widget open (and not the Interfaces widget).
                      "Final solution" proposed in https://github.com/pfsense/pfsense/pull/3396
                      and see notes on the issue at https://redmine.pfsense.org/issues/7134

                      (original bug introduced by me - my bad! but it highlights how it would be nice to have some automated test environment that can set up/tear down an environment for each test and automagically try a lot of combinations to make sure they work together and apart)

                      As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                      If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

                      1 Reply Last reply Reply Quote 0
                      • ? This user is from outside of this forum
                        Guest
                        last edited by

                        @phil.davis:

                        I still get the issue if I have just the Interface Statistics widget open (and not the Interfaces widget).
                        "Final solution" proposed in https://github.com/pfsense/pfsense/pull/3396
                        and see notes on the issue at https://redmine.pfsense.org/issues/7134

                        (original bug introduced by me - my bad! but it highlights how it would be nice to have some automated test environment that can set up/tear down an environment for each test and automagically try a lot of combinations to make sure they work together and apart)

                        Hmm, I use the following tagline on one forum I use:

                        Artificial Intelligence is no match for Natural Stupidity.

                        Not referring to your bad, it's just that someone will still manage to break it.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.