Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-17091

Whoops\Exception\ErrorException Division by zero - CDR Graph With Zero Length Calls

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: CDR Reports
    • Labels:
      None
    • Asterisk Version:
      13
    • Distro:
      FreePBX Distro

      Description

      This is almost an exactly the same as FREEPBX-14750, but on a different line. This occurs when I choose the option to generate a graph. I am choosing the disposition "BUSY" which leads to all calls having 0 length. FREEPBX-14750 was for the line of code above the line that is causing the issue now. This should be repeatable by trying to generate a CDR graph with the disposition set to BUSY for inbound calls to the PBX or potentially another option aside from ANSWERED. I am on cdr v14.0.5.10

      Whoops\Exception\ErrorException thrown with message "Division by zero"

      Stacktrace:
      #2 Whoops\Exception\ErrorException in /var/www/html/admin/modules/cdr/page.cdr.php:966
      #1 Whoops\Run:handleError in /var/www/html/admin/modules/cdr/page.cdr.php:966
      #0 include in /var/www/html/admin/config.php:560

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                kgupta Kapil Gupta
                Reporter:
                kg4ysy kg4ysy
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.