Skip to content

“Division by zero” Error #1326

@moutasem1989

Description

@moutasem1989

Describe the bug
I have set up the server to run 3x times a day. I have noticed that the morning test resulted in 0bit upload speed. Then shortly the server only showed 500 Server Error. Enabling the debug mode the first message it shows “ Division by zero “ error message.

To Reproduce
Steps to reproduce the behavior: I am not sure what caused the error as there have been no changes to the settings. The error, I assume, is caused by test results.

Expected behavior
Display the results of previous tests and percentage of change.

Environment (please complete the following information):

  • OS: Docker on Debian 12
  • Architecture: amd64
  • Browser: Chrome, Safari
  • Version: Latest v0.18.3

Logs

Log is in attached file. Summery is as follows:
debug log.txt

[1/3] DivisionByZeroError
DivisionByZeroError:
Division by zero
                
[2/3] ViewException
Illuminate\View\ViewException:
Division by zero (View: /app/www/vendor/filament/widgets/resources/views/stats-overview-widget.blade.php)

[3/3] ViewException
Illuminate\View\ViewException:
Division by zero (View: /app/www/vendor/filament/widgets/resources/views/stats-overview-widget.blade.php) (View: /app/www/vendor/filament/widgets/resources/views/stats-overview-widget.blade.php)

Additional context
a work around is to sign in to speedtest-ip:port-or-domain/admin then to Results and removing the one that included a Zero as a speed result.

If I can provide any other information I would be more than glad to do so.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions