The Error Log tool allows you to view the most recent PHP errors generated by your website. This is essential for diagnosing issues, debugging code, and resolving unexpected behavior.
What It Shows
The error log displays:
- The last 100 lines of your site’s PHP error log
- Timestamps for each error
- File paths, cache keys, and error messages
- Retry failures, cache expiration notices, and system warnings
This helps you pinpoint the source of problems quickly.
Common Use Cases
Use the error log when:
- A page fails to load or shows a blank screen
- Scheduled tasks (cron jobs) aren’t running as expected
- Plugins or themes behave unexpectedly
- You need to debug custom code or templates
- You’re troubleshooting cache or database issues
Accessing the Error Log
To view the error log:
- Go to Tools → Error Log
- The system will display the last 100 lines from:
/storage/logs/error_log
This file is automatically updated whenever PHP encounters an error.
Depending on your server configuration error log file can be located in a different folder.
Tips for Troubleshooting
- Look for repeated error patterns or retry failures
- Check for missing files, undefined variables, or syntax errors
- Use timestamps to correlate errors with user actions or cron jobs
- If needed, download the full log file for deeper analysis