FAQ Errors & Troubleshooting

What does a 500 error actually mean?

It means the server tried, failed, and chose not to tell you why in public — the real reason is written to a log only you can read.

Updated 4 min read Beginner

A 500 status code means the server received your request and understood exactly what you were asking for, but something failed while it was trying to fulfil it. That's the whole definition. It's the HTTP equivalent of a shrug — an acknowledgement that something is wrong, deliberately stripped of any detail about what.

Why it doesn't just tell you what broke

The real explanation for a 500 always exists somewhere — it's written to a server-side error log the moment it happens. It isn't shown to the visitor on purpose, because the actual message very often contains information that shouldn't be public: full file paths on the server, database names, sometimes even fragments of code. Showing that to every visitor would be a security problem in its own right, so the server shows a generic page instead and keeps the real detail private.

That's the key thing to understand about a 500: the vague message is a safety feature, not a limitation. Whoever runs the site can look at the log and see precisely what happened.

What sits behind it, typically

  • Application code that failed — a PHP error, a plugin conflict, a bug introduced by a recent change.
  • A misconfigured .htaccess file — an invalid directive that Apache can't process.
  • A resource limit being hit — the script ran out of memory or exceeded its allowed execution time.
  • File permissions — the server refusing to execute a file it doesn't have the correct access to.
  • A database problem — a failed connection or a query that couldn't complete.

All five leave a specific, readable entry in the error log, which is why reading the log is the fastest way to move from "the site shows a 500" to "I know exactly what's wrong".

Is it something I did, or something the host did?

Most of the time, it traces back to the site's own code, configuration or content rather than the underlying server — a plugin, a theme, a rule in .htaccess, or a resource limit the site's own script exceeded. That said, a genuine server-side or platform-level fault is possible, and the pattern usually gives it away: if a 500 affects only one site among several on the same account, the cause is almost certainly specific to that site. If every site on the account fails at once with no recent changes to any of them, that shifts the likelihood toward something worth reporting as a platform issue.

Why it sometimes comes and goes

An intermittent 500 — working, then failing, then working again with nothing changed — points toward a resource limit rather than broken code. Limits like memory and execution time are only exceeded under certain conditions, such as heavier traffic or a particular combination of requests, whereas a genuine code error fails the same way every single time it's triggered.

500 versus its neighbours

It's worth knowing the difference, because each points somewhere different:

  • 502 Bad Gateway — the server acting as a go-between got an invalid response from another server behind it, rather than failing on its own.
  • 503 Service Unavailable — the server is temporarily unable to handle the request at all, often deliberately, such as during maintenance or under extreme load.
  • 504 Gateway Timeout — like 502, but the upstream server never responded within the allowed time rather than responding badly.

All four are grouped as "5xx" errors precisely because they share this trait: the server acknowledges the fault is on its side, not the visitor's.

What to actually do about one

Our full guide on fixing a 500 internal server error walks through finding the log entry and working through the five most common causes in order. If you get stuck, that same log entry — along with the URL and the time it happened — is exactly what support needs to pick it up immediately.

Related reading