Closed (fixed)
Project:
Site Audit
Version:
4.1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Mar 2026 at 16:29 UTC
Updated:
3 Apr 2026 at 19:05 UTC
Jump to comment: Most recent
On a fresh D11 install, the Site Audit Report will throw an error, because things are too good.
Install a fresh D11 site.
Install Site Audit
Visit /admin/reports/site-audit
Observe error
DivisionByZeroError: Division by zero in Drupal\site_audit\Plugin\SiteAuditCheck\StatusSystem->calculateScore() (line 139 of /var/www/html/src/Plugin/SiteAuditCheck/StatusSystem.php).
Fix it.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
froboy