When a WordPress site fails, it often displays a blank screen (the “White Screen of Death”) or a generic “500 Internal Server Error.” On the mybox infrastructure, these errors usually point to a conflict between plugins, an incompatible PHP version, or a failed update.
To resolve these issues, you must bypass the generic error page and look at the specific diagnostic data generated by the WordPress core.
Table of Contents
Activating WordPress Debug Mode (WP_DEBUG)
WordPress has a built-in “hidden” diagnostic tool called WP_DEBUG. Activating it forces the website to display the exact file and line of code causing the problem.
- Log in to your account via FTP or SFTP.
- Locate the
wp-config.phpfile in your website’s root directory (usuallypublic_html). - Open the file and look for this line:
define( 'WP_DEBUG', false ); - Change
falsetotrue:define( 'WP_DEBUG', true ); - Save the file and upload it back to the server.
Understanding Diagnostic Information
Once debug mode is active, refresh your website. You will see text-based messages instead of a blank screen. It is important to distinguish between “noise” and critical failures:
- Deprecated / Warning: These indicate that some code is outdated. While they should eventually be fixed, they do not bring your site down. You can usually ignore these during emergency troubleshooting.
- Fatal Error: This is a critical failure. The error message will typically include a file path like:
.../wp-content/plugins/plugin-name/filename.phpThis tells you exactly which plugin is causing the crash.
Practical Troubleshooting Steps
1. Deactivating a Faulty Plugin
If a “Fatal Error” points to a specific plugin and you cannot access your WordPress dashboard:
- In your FTP client, go to
wp-content/plugins/. - Find the folder for the problematic plugin.
- Rename the folder (e.g., change
contact-form-7tocontact-form-7-old). - WordPress will automatically “lose” the plugin and allow the rest of the site to load.
2. Fixing a “Stuck” Update
If your site shows a message saying “Briefly unavailable for scheduled maintenance,” a previous update may have failed.
- Check your root directory (
public_html) for a file named.maintenance. - Delete this file. This will immediately take the site out of maintenance mode.
Distinction Block
WP_DEBUG vs. PHP Display Errors WP_DEBUG is a WordPress-specific setting that manages how the CMS handles its internal logs. PHP Display Errors (set via
ini_set) is a server-level setting. For WordPress sites, always prioritize usingWP_DEBUGas it provides more context regarding plugins and themes.
Practical Implications
- Security: Never leave
WP_DEBUGset totrueon a live site once the issue is fixed. Revealing your file structure can be a security risk. - Version Check: If you see “Fatal Errors” after a mybox infrastructure update, check if your PHP version in the panel matches the requirements of your WordPress version.
- Log Files: If you don’t want errors to appear to visitors, you can use
define( 'WP_DEBUG_LOG', true );inwp-config.php. This saves the errors to a file nameddebug.loginside thewp-contentfolder instead of displaying them on the screen.
Summary
Troubleshooting WordPress on mybox is a process of elimination. By enabling WP_DEBUG, identifying the “Fatal Error,” and temporarily renaming conflicting plugin folders, you can restore your website’s functionality without needing to reinstall the entire system.