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

    Division by zero in /usr/local/www/widgets/widgets/system_information.widget.php on line 373

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 538 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.
    • A
      amiah
      last edited by

      Hello,

      Here is an error on the latest release, anyone know a solution?

      Crash report begins.  Anonymous machine information:
      
      amd64
      12.2-STABLE
      FreeBSD 12.2-STABLE c35168ee137(devel-12) pfSense
      
      Crash report details:
      
      PHP Errors:
      [20-Oct-2020 16:00:37 America/New_York] PHP Warning:  Division by zero in /usr/local/www/widgets/widgets/system_information.widget.php on line 373
      [20-Oct-2020 16:02:22 America/New_York] PHP Warning:  Division by zero in /usr/local/www/widgets/widgets/system_information.widget.php on line 373
      [20-Oct-2020 16:03:44 America/New_York] PHP Warning:  Division by zero in /usr/local/www/widgets/widgets/system_information.widget.php on line 373
      [20-Oct-2020 16:03:57 America/New_York] PHP Warning:  Division by zero in /usr/local/www/widgets/widgets/system_information.widget.php on line 373
      [20-Oct-2020 16:04:29 America/New_York] PHP Warning:  Division by zero in /usr/local/www/widgets/widgets/system_information.widget.php on line 373
      [20-Oct-2020 16:10:45 America/New_York] PHP Warning:  Division by zero in /usr/local/www/widgets/widgets/system_information.widget.php on line 373
      [20-Oct-2020 16:11:01 America/New_York] PHP Warning:  Division by zero in /usr/local/www/widgets/widgets/system_information.widget.php on line 373
      
      
      
      No FreeBSD crash data found.
      
      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @amiah
        last edited by Gertjan

        @amiah said in Division by zero in /usr/local/www/widgets/widgets/system_information.widget.php on line 373:

        12.2-STABLE

        Is not the last release.

        We are on 11.3, that is, 2.4.5-RELEASE-p1 (amd64), built on Tue Jun 02 17:51:17 EDT 2020 uses FreeBSD 11.3-STABLE.

        So, after correcting the first bug (not updating ;) ), if the error persists, at least, the line number will give you (edit : or us ) a clue. See https://github.com/pfsense/pfsense/blob/RELENG_2_4_5/src/usr/local/www/widgets/widgets/system_information.widget.php

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        bmeeksB 1 Reply Last reply Reply Quote 0
        • bmeeksB
          bmeeks @Gertjan
          last edited by bmeeks

          @Gertjan:
          12.2-STABLE is the latest version of FreeBSD currently being used in pfSense-2.5, so the OP apparently is running the pfSense-2.5 Snapshot release. 12.2 is much newer than 11.3, but is currently used only in pfSense-2.5.

          GertjanG 1 Reply Last reply Reply Quote 0
          • A
            amiah
            last edited by

            The latest update release seemed to fix it.

            2.5.0-DEVELOPMENT (amd64)
            built on Tue Oct 20 13:03:46 EDT 2020
            FreeBSD 12.2-STABLE
            
            The system is on the latest version.
            Version information updated at Wed Oct 21 0:00:11 EDT 2020
            
            1 Reply Last reply Reply Quote 0
            • GertjanG
              Gertjan @bmeeks
              last edited by Gertjan

              @bmeeks said in Division by zero in /usr/local/www/widgets/widgets/system_information.widget.php on line 373:

              running the pfSense-2.5 Snapshot release

              Ahhh.
              I was mislead (mis read).
              "2.5" messages are ment to be posted here [Home > pfSense® Software > Development](Home pfSense® Software Development) - that's where the bleeding edge battle is taken place.
              This is the general pfSense section, 2.4.5-p1.

              Anyway .... living on this edge means : updating ..... and wait if something fails. And re update.

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

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