Short answer
Read the PHP error log rather than turning error display on for visitors. In DirectAdmin the logs are under System Info & Files then Site Summary / Statistics / Logs, and the most recent entries at the end of the file are the ones that matter.
Learn more
- How to find PHP errors (error logs and display_errors)Where PHP errors are recorded on Traxio, how to log errors without showing them to visitors, and how to set up logging for a custom application.
- Understanding PHP error messagesHow to read a PHP error: fatal errors, parse errors, warnings, notices and deprecations, what each means for your site, and where to look next.
- How to turn on WordPress debugging safelyUse WP_DEBUG, WP_DEBUG_LOG and WP_DEBUG_DISPLAY to see WordPress errors without showing them to visitors, and turn debugging off afterwards.
Step-by-step
- Diagnose a 500 Internal Server ErrorIntermediate · 20 min · 8 steps
Everything in this guide works on Traxio’s PHP hosting, which is free for 30 days and £0.99 a month after that.