Error 500: the causes and how to fix it
8 min Intermediate
"500 Internal Server Error" only means the server crashed while building the page. The real reason is written in the error logs: that is always where to start.
-
1
What changed?
An update, a new plugin, a theme edit, a PHP version change at your host? In 8 cases out of 10, the cause is the latest change. The platform change history lets you roll back in one click.
-
2
Read the error log
The PHP log (
error_log, WordPressdebug.logor the web server log) gives the file and line at fault, for exampleFatal error: Uncaught Error ... in wp-content/plugins/xxx. The platform Error logs page reads them for you and explains the cause in plain words. -
3
The most common causes
- Plugin or theme incompatible after an update: deactivate it (rename its folder if the admin does not answer).
- PHP memory exhausted (
Allowed memory size exhausted): raisememory_limitor find what uses it. - Corrupted .htaccess: rename it and regenerate the permalinks.
- PHP version too new or too old for a plugin.
-
4
Fix, then check
After the fix, reload several pages (home, a product page, the admin) and read the log again: an error gone from one page can remain on another. On the platform, every applied change is followed by a site check, with an automatic rollback if it stops answering.
-
5
To be warned next time
Monitoring detects an error 500 within minutes, opens an incident, and assisted repair proposes a fix from the logs. You get the alert before your customers.
Ready to try?
Free, no credit card. Nothing changes without your approval.