- A white screen in WordPress can be resolved by enabling debug mode in the configuration file to view error logs.
- Checking the last line of those logs helps find the problematic plugin, theme, or code that needs to be deactivated.
- If these technical issues are too complex to solve on your own, Ari Digital Creative is ready to help restore your website's normal functionality.
A blank white screen with no message causes panic, even though WordPress actually records what goes wrong, provided we tell it to write a log. That log file is named debug.log, and reading it is much easier than you might think.

Step 1: Turn on logging
Open wp-config.php via File Manager or FTP. Look for the line that reads That’s all, stop editing!, then add the following code above it:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
WP_DEBUGturns on debug mode.WP_DEBUG_LOGwrites errors to thewp-content/debug.logfile.WP_DEBUG_DISPLAYis set tofalseso error messages do not appear in front of visitors.
Step 2: Reproduce the issue
Reload the problematic page so the error gets recorded. Then open wp-content/debug.log and look at the very bottom lines, because those are the most recent ones.
Step 3: Read the lines
Example of log contents:
Read also Permalinks, 404 Errors, and Proper Redirects in WordPress
[05-Nov-2026 10:15:02 UTC] PHP Fatal error: Uncaught Error: Call to undefined function fungsi_x()
in /home/situs/public_html/wp-content/plugins/plugin-x/fungsi.php:42
Three things to look for:
- Error type. A Fatal error stops the page. Warnings and Notices usually do not stop anything.
- File path. In the example, the
plugins/plugin-x/part indicates the cause is a plugin named plugin-x. If the path containsthemes/, the cause is a theme. - Line number (here 42) helps the plugin or theme author locate the code.
- Change
WP_DEBUGtofalse(or remove the three lines above). - Delete the
debug.logfile.
Step 4: Remove the cause
If the cause is a plugin and you cannot access the dashboard, rename that plugin’s folder in wp-content/plugins/ (for example to plugin-x-mati). WordPress will automatically deactivate it. For a theme, rename the active theme’s folder so WordPress reverts to the default theme.
WordPress also has a recovery mode: when a fatal error occurs, an email containing a special link is sent to the admin address so you can log in and deactivate the problematic plugin or theme.
Most frequent causes
| Symptom in the log | Usually means |
|---|---|
| Allowed memory size exhausted | PHP memory limit is too low or there is a resource-heavy plugin. Try increasing WP_MEMORY_LIMIT or ask your hosting provider to raise the limit. |
| Call to undefined function | A plugin or theme conflict, or an incompatible PHP version. |
| Parse error / syntax error | A typo in newly added code. |
| Error establishing a database connection | The details in wp-config.php (database name, user, password) are incorrect, or the database server is down. |
Important: Turn it off again when finished
The debug.log file can contain server paths and other information that outsiders should not see, and on many hosting providers its address can be accessed directly. Once the issue is resolved:
Read also Move WordPress Hosting Without Data Loss
If you need it often, ask your hosting provider to block direct access to that file.
If the log is too technical, send only the Fatal error line (without personal data) to your hosting support or the plugin author. That line is usually enough for them to find the source of the problem.
Frequently Asked Questions
What causes a blank white screen with no error message on a WordPress site?
A blank white screen usually indicates a fatal PHP error that stops execution. While visitors see nothing, the server records the exact cause if debugging is enabled. Examining the error log helps identify the specific plugin, theme, or code snippet triggering the failure.
How can I activate error logging to troubleshoot website issues?
You can enable logging by editing your configuration file. Knowing core directory layout helps you locate files quickly, allowing you to add specific debug definitions before the final editing line to record server events safely without displaying them publicly.
Where do I find the generated error details after reproducing the issue?
Error details are saved inside a text file located within your uploads and content directory. When working with Ari Digital Creative, we always recommend checking the very bottom lines of this file to review the most recent fatal errors, warnings, or path references.
What should I do if a bad plugin or theme locks me out of the dashboard?
If you cannot access your administrative area due to a broken layout or error, you can use an FTP client or file manager to rename the problematic plugin or theme folder, forcing WordPress to deactivate it automatically.
Why is it important to disable debugging mode after resolving the problem?
Leaving debugging active can expose sensitive server paths and internal file structures through the log file. Once your troubleshooting is complete, you should turn off debug mode and delete the log file to maintain proper security.

