WordPress error message and debug.log decoder
Paste an error message or lines from your log and see what each one means, which plugin or theme it points at, and what to do first. Read in your browser; nothing is sent.
Where to find the message
What a visitor sees on a broken page is usually short: "There has been a critical error on this website." The line that says what went wrong is written to a log.
- WordPress's own log is the file
debug.login thewp-contentfolder. It is written only whileWP_DEBUGandWP_DEBUG_LOGare switched on inwp-config.php. - Your host's PHP error log is in the hosting control panel, often under a name such as "Errors" or "Logs", or in a file named
error_logbeside the site's files. - A browser's own message, such as ERR_TOO_MANY_REDIRECTS, can be pasted as it is.
Paste the whole line. The file and the line number at its end are what say which plugin or theme is involved.
What it reads, and what it does with it
The tool looks for messages it knows in what you paste, and for the path of a file. From the path it works out whether the file belongs to a plugin, the theme or WordPress itself. The same message repeated in a log is counted and shown once.
A log can hold the paths of your server and the names of your plugins. That is why this runs in your browser: what you paste is not sent to us, not kept, and not included in anything we measure.
What it cannot tell you
It explains a message. It has not seen your site, so it cannot say why the message appeared today. If the first thing it suggests does not clear the error, the error fixes go through each cause in order.
Common questions
Is it safe to paste my log here?
My log is full of Deprecated and Warning lines. Is the site broken?
The file it names is part of WordPress itself. Is WordPress broken?
It says nothing matches. What now?
Would you rather we read the log?
Tell us what you see and paste the line. We reply with the cause and a fixed quote, and the diagnosis is free.
Get a free diagnosis
