Read your site's error log

error log, 500, php errors, debugging, troubleshooting · 0 found this helpful

When something breaks, the error log usually says why. Each line gives a time, a file, and a message. Support will often ask for the last few lines.

Find the log

Where How
Quick view Account → Hosting → your site → Logs and stats → Error log. Shows the latest entries for your domain, newest first. Filter by Errors or Warnings
Folder log A file named error_log appears inside the folder where PHP errored, such as public_html/error_log
Access log Download the raw access logs. See Download raw access logs

Open the file in Files, or from SSH:

tail -n 50 ~/public_html/error_log
The Error log on the Logs and stats page

Read an entry

[30-Nov-2026 10:14:02 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function mb_strlen() in /home/yourusername/public_html/wp-content/plugins/shop/index.php:42
Part Meaning
Time When it happened
PHP Fatal error Severity. Fatal stops the page
Message Call to undefined function mb_strlen() means a PHP extension is missing
Path and line The file and line responsible. A path in plugins/shop points to that plugin

Common messages

Message Likely fix
Allowed memory size exhausted Raise the memory limit
Call to undefined function Turn on the extension under PHP extensions
Maximum execution time exceeded Raise max_execution_time in PHP settings
syntax error, unexpected A recent edit broke a PHP file. Undo it
Cannot modify header information Extra spaces before <?php in a file

Keep the file small

Delete error_log after you've fixed the cause. It will be recreated. Large logs use disk space and inodes. For WordPress, also use debug logging.

Was this helpful?

Still stuck? Ask us and we'll walk you through it.