This error usually appears when a plugin, theme, or PHP configuration breaks the site.
Use the steps below in order, they are safe for most cases.
1. Enable WordPress Recovery Mode (if available) #
When the error happens, WordPress often sends an email to the admin address with a “Recovery Mode” link.
- Open the email with subject like “Your Site is Experiencing a Technical Issue”.
- Click the recovery link and log in.
- WordPress will show which plugin or theme caused the error and let you deactivate it with one click.
If you do not have the email or cannot access it, continue with the next steps.
2. Deactivate plugins via FTP or File Manager #
Most critical errors are caused by a plugin conflict.
- Access your site files via hosting File Manager or FTP.
- Go to
wp-content/. - Rename the folder
pluginstoplugins-disabled. - Visit your site again:
- If it loads, the problem is one of the plugins.
- Rename the folder back to
plugins, then:- Inside
plugins, rename each plugin folder one by one (for exampleelementor→elementor-disabled). - After each rename, reload the site until it works.
- Inside
- Once you find the plugin causing the issue, leave it disabled and replace/update it.
3. Switch to a default theme #
If disabling plugins does not help, the issue may be with the active theme or a child theme.
- In
wp-content/themes/, make sure a default theme liketwentytwentyfourexists. - Rename your active theme folder (for example
portfoliocraft→portfoliocraft-disabled). - WordPress will automatically fall back to the default theme.
- If the site works now, the issue is in the theme or custom code added to it (functions.php, custom plugins, etc.).
4. Check PHP version and memory limit #
Some themes and plugins require a minimum PHP version and enough memory.
- In your hosting control panel, check PHP version:
- Use at least PHP 7.4 (better 8.0+).
- Increase PHP/WordPress memory limit to at least 256M (512M recommended) by adding in
wp-config.phpbefore the line “That’s all, stop editing”:
phpdefine( 'WP_MEMORY_LIMIT', '512M' );
- Save and reload the site.
5. Enable debug mode to see the real error #
If the error still appears, turn on debugging to see the exact problem.
- Open
wp-config.php. - Find:
define( 'WP_DEBUG', false ); - Change it to:
phpdefine( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
- Visit the site again.
- Check the file
wp-content/debug.logon the server.- The last lines will show which file and which plugin/theme triggered the fatal error.
- Fix or disable the component mentioned there.
After finishing, set WP_DEBUG back to false for production.
6. Restore from backup if needed #
If none of the steps help and you have a recent backup:
- Use your hosting backup tool or a plugin backup to restore the site to a working state.
- After restore, update themes/plugins one by one and test to