Skip to Content
Maintenance

Site errors

Where to see site failures, how to hand them to a developer, and where the raw log files are.

When a page throws an error or a module fails in the background, the site keeps a record of it. Here you see what broke, how often and on which address, and you can hand the error text to the developer of the module or theme.

You need the "Full access (owner)" permission (admin.boss). The "Log files" tab only needs "System settings" (admin.system).

Work through an error

Open the list

AdminErrors. Identical failures are grouped into one row with a repeat count. The list opens on the "Unresolved" tab, with "All" and "Resolved" next to it.

Error list with the Unresolved, Fired in 24 h and Occurrences counters

Look at the details

Click a row. "What broke" holds the error text, its type and the place in the code. "Request context" shows the address, the method, and when the error first and last happened. "Recent occurrences" lists the latest repeats with their address and request ID. The "Stack trace" is for the developer: frames marked "app" belong to the engine, modules and themes, the rest are third-party libraries.

Error card with the What broke, Request context and Stack trace blocks

Hand it to the developer

The file path in "Location" tells you whose code it is: app/Modules/<Name> is a module, app/Themes/<name> is a theme. Copy the message and the stack trace to the author. If the error is in the engine itself, attach the report from About system as well.

Mark it resolved

Once it's fixed, click "Mark as resolved". If the same error happens again, the row moves back to "Unresolved" by itself. "Reopen" does the same by hand.

Sorting switches between "Most recent", "Most frequent" and "Oldest first". Search looks through the error text, type and location. Repeats are counted per request: an error that surfaced several times in one request is one occurrence. Each error keeps its last 50 occurrences.

Nothing left to triage

This is the "Unresolved" tab once every error is marked resolved. The old ones are on the "Resolved" tab.

Log files

AdminErrorsLog files shows what the server wrote to storage/logs: one row per file, with the number of entries, a breakdown by level and the date it changed. Click a file to see its entries with date, level and message. Look here when nothing shows up on the main tab but something still doesn't work: warnings and module messages only go to the files.

The Log files tab with the file list and error counter

"Clear Log" empties a file, and it works on several selected files at once. Files older than 31 days are deleted automatically, and a single file never grows past 64 MB: when it fills up, the newest lines are kept.

Reference

Next

On this page