Guide Control Panel

How to read your website error logs

Finding the error log for your site and making sense of the lines it writes.

Updated 6 min read Intermediate

When a website breaks, what a visitor sees is often nothing more than a blank page or a generic error — genuinely unhelpful on its own. The error log is where the actual detail is: the exact file, the exact line, and a description of what went wrong. Learning to read it turns "the site is broken" into "this specific plugin file failed on this specific line," which is the difference between guessing and fixing.

Finding the log

Open the section of your control panel dealing with logs or error logs — it may sit near the statistics section, or under a general "diagnostics" heading. It typically lists recent entries for the domain you select, sometimes with an option to download the full file or filter by date.

There may be more than one log

Some setups separate a general PHP error log from a web server error log, and each catches slightly different problems — a PHP fatal error will show in the PHP log, while a server-level issue such as a permissions failure may only appear in the other. If one is empty when you expected an entry, check whether a second log exists.

Reading a typical entry

A PHP error log line generally follows a recognisable pattern, even though the exact wording differs between PHP versions:

[26-Aug-2026 14:32:07 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function old_function() in /home/account/public_html/wp-content/plugins/example-plugin/example.php:214

Broken down, that single line tells you four separate things:

PartWhat it tells you
[26-Aug-2026 14:32:07 UTC]Exactly when it happened — useful for matching the error to a report of "the site broke around 2:30"
PHP Fatal errorThe severity. A fatal error stops the page rendering; a warning or notice does not, but is still worth reading if you are chasing something intermittent.
Call to undefined function old_function()What actually went wrong — here, code trying to call a function that does not exist, often because a PHP version change removed it or a required file was not loaded.
example-plugin/example.php:214The exact file and line number responsible — this is usually the fastest route to the actual cause.

That file path is the single most useful part of the whole line. A path containing a specific plugin or theme folder name tells you immediately where the problem lives, without touching any other part of the site.

Severity levels worth knowing

  • Fatal error / Uncaught Error. Execution stops. This is almost always why a page is showing blank or throwing a 500 error.
  • Warning. Something went wrong but PHP kept running. Often harmless on its own, but a page full of warnings usually indicates outdated or poorly maintained code.
  • Notice / Deprecated. The lowest severity — frequently just PHP flagging that something will be removed in a future version. Worth noting, rarely urgent on its own.

What to do with what you find

  1. Identify the file path. If it points inside a specific plugin or theme, that narrows the problem to one piece of software rather than the whole site.
  2. Check when it started. If the errors began right after a plugin update, a PHP version change, or a new piece of code went live, that timing is rarely a coincidence.
  3. Search the exact error text. Searching for the specific function name or error message, together with the plugin or software name, very often turns up other people who have hit exactly the same thing and how they fixed it.
  4. Update or roll back the offending component. An outdated plugin failing against a newer PHP version is usually fixed by updating the plugin; if no update exists, reverting the PHP version or disabling that one plugin are both reasonable short-term fixes.
Check the log immediately after any change

After installing a plugin, updating software, or changing your PHP version, look at the log straight away rather than waiting for a visitor to report a problem. A new error appearing right after a specific action is about as clear a cause-and-effect signal as troubleshooting ever gives you.

When the log is empty but something is clearly wrong

A few things can cause this. Error logging can be turned off entirely in the PHP configuration, in which case nothing gets written regardless of what breaks. A problem might also be happening in JavaScript running in the visitor's browser rather than in PHP on the server — the error log will not show anything for that at all, since it never reaches the server-side code. And a caching layer, if the site uses one, can sometimes serve an old, previously-working version of a page even after new code has broken it, which delays when an error actually surfaces.

If the log genuinely shows nothing and the site is broken, our guide to fixing a 500 error covers the wider troubleshooting steps beyond the log itself, and turning PHP error display on temporarily can surface an error directly on the page while you debug, rather than only in the log.

Related reading