Originally published at hamzaahmadaslam.com.
How this article was made: drafted with AI assistance from a researched brief, then checked against primary documentation before publishing.
A website incident report template should turn an outage into a record you can defend: what users were affected, when events happened, what evidence supports the cause, and who owns the fixes. For WordPress or WooCommerce, build the report from timestamped source records, keep hypotheses separate, and leave unknowns visible until evidence closes them.
What a website incident report template should include
A useful report covers five things: impact, timeline, evidence, causal analysis, and follow-up work. Each section should make clear what is known, what is inferred, and what still needs checking.
A practical post incident report template needs these fields:
- Identify the incident, owner, date, affected function, and report status.
- Describe user impact using evidence rather than broad words such as "major" or "widespread."
- Record the incident timeline with one timezone and a source for each important event.
- List observations separately from hypotheses.
- Record unknowns that could change the analysis.
- Compare plausible alternative explanations before naming a cause.
- State the evidence that supports the final causal chain.
- Assign each preventive action to an owner.
- Give every action a verification procedure and an expected result.
- Keep a later verification record so "done" means more than a closed ticket.
Detection itself belongs in your monitoring process. If that part needs work, use WordPress uptime monitoring checks that catch site failures rather than expanding the postmortem into another monitoring system.
Build the timeline from evidence rather than memory
Start with the earliest source record you still have. That may be a monitoring event, deployment record, application log, support ticket, provider event, or incident chat timestamp.
Use one timezone throughout the report. Keep the source beside the event so another person can trace the statement back to evidence.
A timeline row should answer three questions:
| Field | Record |
|---|---|
| Timestamp | When the source says the event happened |
| Event | What is supported by that source |
| Evidence | The log, alert, ticket, deploy record, screenshot, or other record supporting it |
Do not rewrite uncertain events as facts. If you know a deployment finished at 14:02 but do not know when the first failed request occurred, record the deployment timestamp and leave the failure start unknown.
The distinction matters because detection time, impact start, mitigation time, and confirmed recovery may be different events.
For WordPress application errors, preserve logs that already exist. The WordPress debugging documentation says WP_DEBUG_LOG can save errors to a log when WP_DEBUG is enabled, and it advises using debugging tools in local or staging environments rather than directly on production.
Do not enable extra production debugging after the incident and then imply that the resulting data describes the earlier failure. Record that historical evidence is unavailable if it was never captured.
Separate observations, hypotheses and unknowns
An observation is something a source directly supports. A hypothesis is an explanation that still needs evidence.
For example:
| Type | Example wording |
|---|---|
| Observation | "The deployment record shows release X completed at 14:02 UTC." |
| Observation | "The error record contains a fatal error at 14:04 UTC." |
| Hypothesis | "Release X may have introduced the failure." |
| Unknown | "The first affected request is not known because request-level records are unavailable." |
| Alternative | "A hosting or database event may have happened during the same window." |
This structure prevents a common reporting mistake: placing the first plausible explanation into the "root cause" field and building the rest of the document around it.
Keep alternatives until evidence rules them out. A deployment immediately before an outage is relevant evidence about timing, but timing alone does not show which code path failed.
For WooCommerce stores, the WooCommerce PHP error log documentation says its fatal-error records can include a timestamp, error, originating file and line, and stack trace. That can connect an error to code, but you still need evidence that the error explains the affected user journey.
Describe impact with records you can point to
Impact is what users or business processes could not do during the incident window. Keep this separate from the technical symptom.
"PHP fatal error" is a technical observation. "Checkout could not complete" describes user impact.
Record scope only as precisely as your evidence allows. Useful evidence can include failed request records, order records, support cases, transaction records, form submissions, monitoring history, and provider records.
For a WooCommerce incident, save an environment snapshot while the configuration is still relevant. The WooCommerce System Status report documentation describes a report containing environment details such as installed software versions, server information, database information, and WordPress debug state.
Do not convert missing evidence into zero impact. Write "unknown" and state what would be needed to determine it.
A missing order email also needs its own event-to-inbox investigation. Use the process for tracing a missing WooCommerce order email rather than treating an absent email as proof that checkout itself failed.
Trace the cause to the code or infrastructure level
Root cause analysis should explain a causal chain, not stop at the first component with an error.
Work from the supported symptom toward the smallest technical condition that explains it:
- Define the affected user action.
- Locate evidence from the same time window.
- Identify the component handling that action.
- Match errors or state changes to the component.
- Compare the timing with deployments, configuration changes, provider events, and infrastructure records.
- Write competing explanations.
- Remove an explanation only when evidence contradicts it or another cause accounts for the evidence better.
- Stop when the remaining causal chain explains both the failure and its timing.
At code level, that may mean linking an error record to a specific file, line, call path, release, and input condition. At infrastructure level, it may mean connecting the request failure to the web server, PHP runtime, database, cache, network, or upstream service using records from those layers.
Do not call a component the cause merely because it appears in a log. State what the record proves.
For gateway failures, keep the detailed layer-by-layer investigation in diagnosing WordPress 502 and 504 errors with request evidence. The incident report should contain the supported causal chain and link to the underlying evidence.
If recovery involved restoring a backup, record exactly what was restored and from which backup set. WordPress documentation says a typical WordPress site needs both its database and files for a full restore. The report should record the recovery evidence rather than repeat the restore procedure.
Use this fictional WordPress incident as a reporting pattern
The following incident is entirely fictional. Every name, timestamp, release, event and value is illustrative. It does not describe a client or an outage that occurred.
Use the filled example to see how evidence, hypotheses and unknowns fit together. Use the editable template for any real incident you are documenting. If the report will be published or shared outside your organization, get consent from any client it names.
Illustrative fictional incident
Illustrative scenario: A fictional WooCommerce store has a checkout failure shortly after an illustrative plugin deployment.
| Illustrative timestamp | Classification | Illustrative record |
|---|---|---|
| 2026-09-18 14:02 UTC | Observation | Deployment record lists fictional Example Checkout Rules 2.4.0 as completed. |
| 2026-09-18 14:04 UTC | Observation | Fictional application record contains a fatal error associated with the checkout request path. |
| 2026-09-18 14:07 UTC | Observation | Fictional incident record marks checkout as affected. |
| 2026-09-18 14:15 UTC | Observation | Fictional deployment record lists rollback of Example Checkout Rules 2.4.0. |
| 2026-09-18 14:23 UTC | Report boundary | Illustrative incident window ends here for the example. This is sample data, not a measured result. |
Illustrative impact: checkout completion is the affected user function in this fictional scenario. The number of affected shoppers, orders, and payment attempts remains unknown because this example supplies no transaction dataset.
Illustrative hypothesis: the fictional plugin release introduced a checkout code path that generated the recorded fatal error.
Illustrative alternative explanations:
- A hosting event may have coincided with the deployment.
- A database failure may have produced the same user symptom.
- An upstream payment dependency may have failed during the same period.
- Another code change may have been deployed in the same window.
Illustrative evidence needed before confirming cause: correlate the fictional stack trace with the changed code, check other deployment records, compare host and database records for the same timestamps, and examine relevant payment-provider records.
That wording keeps the cause open until the evidence supports one explanation.
Editable incident report template
# Incident: [plain description]
Report status: [draft / under review / final]
Incident owner: [role or name]
Incident date: [date]
Timezone used: [timezone]
Affected function: [checkout / login / forms / pages / other]
## Impact
User-visible impact:
[What users could not do.]
Confirmed scope:
[Evidence-supported scope, or "unknown".]
Business impact:
[Confirmed facts only, or "unknown".]
Data or security impact:
[Confirmed facts, "unknown", or a pointer to a separate security review.]
Evidence:
- [source + timestamp + link/reference]
- [source + timestamp + link/reference]
## Timeline
| Timestamp | Observation or action | Evidence source |
|---|---|---|
| [time] | [source-supported event] | [record] |
| [time] | [source-supported event] | [record] |
## Observations
- [fact supported by source]
- [fact supported by source]
## Hypotheses
- [possible explanation]
- Evidence for:
- Evidence against:
- Evidence still needed:
## Unknowns
- [question that remains open]
- [missing evidence and why it matters]
## Alternative explanations
| Explanation | Evidence needed | Status |
|---|---|---|
| [alternative] | [record or test needed] | [open / ruled out with evidence] |
## Supported causal chain
[Describe only the sequence supported by evidence.
If the cause remains unknown, say so.]
## Recovery
Mitigation or recovery action:
[What was changed.]
Recovery evidence:
[Record supporting recovery, or "not retained".]
## Preventive actions and verification
| Action | Owner | Due | Verification procedure | Expected result | Verification record |
|---|---|---|---|---|---|
| [change] | [owner] | [date] | [procedure to run] | Expected: [result] | Pending |
Turn findings into owned actions and checks
A corrective action needs a specific change, an owner, and a way to prove that the change works.
"Improve testing" is too loose. Write the exact behavior that needs protection.
For the fictional checkout scenario, illustrative follow-up rows might look like this:
| Illustrative action | Illustrative owner | Verification procedure | Expected result | Verification record |
|---|---|---|---|---|
| Add a regression test for the fictional failing checkout path | Developer | Run the test against the corrected code in the test environment | Expected: the checkout path completes without the fictional fatal error | Pending |
| Add a release check for the affected checkout path | Release owner | Run the defined checkout check after a future deployment in the approved test environment | Expected: the defined checkout flow reaches its expected completion state | Pending |
| Document the evidence needed for this incident class | Maintenance owner | Review the incident procedure against the required evidence fields | Expected: each required evidence source has an owner or an explicit "unavailable" state | Pending |
Automated tests belong in the postmortem when the finding maps to repeatable behavior. Unit, integration, or browser tests can protect different parts of the causal chain. The report should state the procedure and expected result, then add the actual verification record only after someone performs and records that work.
A closed development ticket is not the same record as verification. Keep separate fields for implementation status and verification status.
Make the next incident report easier to verify
Store the report beside its evidence references and schedule the open actions for review. If ongoing ownership, patching, incident follow-up, and verification need a defined maintainer, put those responsibilities into the scope of your WordPress maintenance service or internal maintenance agreement.
Top comments (0)