Error logs are the fastest way to diagnose 500 errors, blank pages, and script crashes. cPanel gives you two easy views.
- In cPanel, open Errors (under Metrics) to see the most recent web-server errors with file names and line numbers.
- Use cPanel File Manager to find an
error_logfile inpublic_htmlor the specific folder — it captures PHP errors for that script. - For application logs, enable WordPress debug logging (
WP_DEBUG_LOG) to write towp-content/debug.log. - Read from the bottom — the newest entries are last, with a timestamp and message.
When contacting support, copy the relevant log line and the time it occurred and open a ticket — it speeds up the fix.