{"id":6724,"date":"2025-12-08T15:29:09","date_gmt":"2025-12-08T09:59:09","guid":{"rendered":"https:\/\/youstable.com\/kb\/?p=6695"},"modified":"2025-12-08T15:29:11","modified_gmt":"2025-12-08T09:59:11","slug":"fix-the-wordpress-white-screen-of-death","status":"publish","type":"post","link":"https:\/\/www.youstable.com\/blog\/fix-the-wordpress-white-screen-of-death","title":{"rendered":"How to Fix the WordPress White Screen of Death Step by Step"},"content":{"rendered":"\n<p>The WordPress white screen of death is one of the most common WordPress errors and it\u2019s very frustrating too because, the browser is only showing a blank white screen without any error message, and you are locked out of WordPress.&nbsp;<\/p>\n\n\n\n<p>This error becomes more frustrating when it affects only specific parts of web pages.<\/p>\n\n\n\n<p>For example, you are seeing the white screen inside the WordPress Dashboard only but your website is working fine. In other cases, it may appear on a specific post but works fine elsewhere.<\/p>\n\n\n\n<p>There are a few ways to fix the white screen of Death and this article will guide you on how to fix WordPress&#8217;s white screen of death by looking at different solutions step by step.&nbsp;<\/p>\n\n\n\n<p>Also, in this article, we will try to figure out the specific cause for the error and once you know the specific cause behind this error, we will discuss some tips to prevent this WordPress blank page issue from ever happening again.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"what-causes-the-wordpress-white-screen-of-death-error\"><strong>What Causes the WordPress White Screen Of Death Error?<\/strong><\/h2>\n\n\n\n<p>The most common cause behind the WordPress white screen of death is:<\/p>\n\n\n\n<p><strong>Memory Limit Exhausted:<\/strong> The PHP scripts of your websites have <a href=\"https:\/\/www.youstable.com\/blog\/how-to-increase-file-upload-size-in-cpanel\/\">exceeded the memory limit<\/a> or the maximum execution time. The unresponsive scripts are being killed by the hosting server or show the times out. This is the reason why no error is shown and you get a plain screen.<\/p>\n\n\n\n<p><strong>Outdated\/Incompatible plugins:<\/strong> Sometimes outdated plugins or Poorly coded plugins show a white screen of death on users\u2019 browsers or the message \u201cThere has been a critical error on your website\u201d, it\u2019s the same.<\/p>\n\n\n\n<p><strong>Corrupted themes:<\/strong> Current theme or active theme is not compatible with the WordPress version.<\/p>\n\n\n\n<p><strong>Corrupted core files:<\/strong> Error or wrong coding in the core files, such as <strong>wp-config.php<\/strong>, <strong>.htaccess, index.php, <\/strong>and <strong>functions.php<\/strong> can corrupt a site and may result in a White Screen of Death Error.<\/p>\n\n\n\n<p>Any of the situations mentioned above can cause your website or its specific post or web page to show a blank white screen.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/A88UsdFdG0_x8NBWriRjDy0B6TMtUIlWMhr31wSkggARODphowqFKPgXdqrUVF1ORsfagwRZkAYa5eYv2gLIUUVGEjughBdUetqKoIFm31E7YQSJv8B6EdnUsGzktZNjgepn0WkJzslTsSEKeQ\" alt=\"WordPress White Screen of Death\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image alignleft\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/tYRhOrsPnof5991FEr_HpP5oErQ24w3oiGDatWy4-PFdGdzLqpHHPTVjKiFCNExCIh2IjdLU36Fezrs7vH1-K0ekrxZviS1Y4UHiEVtvYar98domCV0_J4AxKEtd2E9Jl5pSvZLgg1OkOyEkdg\" alt=\"\"><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"how-to-fix-the-wordpress-white-screen-of-death\"><strong>How to Fix the WordPress White Screen of Death<\/strong><\/h2>\n\n\n\n<p>To fix the White Screen Error of Death, you need to figure out the source of the error first. Some common methods to fix the errors are:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Retrace your steps:<\/strong> Check out the recent changes made by you on your website before your website shows a blank screen. Try to undo the changes and hard reload your website to see if the error is fixed or not.<\/li>\n\n\n\n<li><strong>Check your email:<\/strong> Check your wp-admin email to see if you have received a notification from WordPress regarding the error.<\/li>\n<\/ul>\n\n\n\n<p>If the method mentioned above doesn\u2019t solve your problem, it means it requires methodical troubleshooting to fix it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"is-the-problem-occur-on-your-other-sites-too\"><strong>Is the problem occur on your other sites too?<\/strong><\/h2>\n\n\n\n<p>If you have hosted other WordPress websites as well on the same server, then you must check if the problem is occurring on other sites as well.<\/p>\n\n\n\n<p>If you are having the same problem on other sites too, it simply means there is something wrong with your <a href=\"https:\/\/youstable.com\/wordpress-hosting\" target=\"_blank\" rel=\"noopener\">WordPress hosting services<\/a>. You can contact the support regarding the issue for better help.<\/p>\n\n\n\n<p>But if the problem is with one website only or some specific part of that site, then you know that the problem is with that particular website and it must be fixed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"check-wordpress-core-files\"><strong>Check WordPress Core Files<\/strong><\/h2>\n\n\n\n<p>The first method is to check your WordPress website\u2019s core files because a wrong line of code or a missing core file can corrupt a website.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to <a href=\"https:\/\/youstable.com\/kb\/how-to-access-file-manager-in-cpanel-and-directadmin\/\" target=\"_blank\" rel=\"noopener\">File Manager<\/a> \u2192 public_html directory.<\/li>\n\n\n\n<li>Make sure that files like .htaccess, index.php, wp-config.php and other core files(default WordPress files) are present. If files are not there, download new WordPress installation files from the official WordPress website and add the missing files to the File Manager.<br><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/JzrF5Ty3XHJhFWt0crNqWtfmADRecKGH8WuXPoBtdSHGeIvZFReSyo3Vewwn1lDtNlcB1508-YlpConM2SVzNO2oyRem9q-z57zBP3uC5YTcRiXkrd8O01_MSlwmfArexI99Tpb7jMs7KeqGqg\" width=\"696\" height=\"403\" alt=\"\"><\/li>\n\n\n\n<li>Check for corrupt core files. If you have recently made changes to any of the core files, undo the changes first and save the files. Hard reload(Ctrl+Shift+R) your web page to see if the WordPress white screen of death is resolved or not. If resolved \u2013 those changes were causing the problem.<br>If that is the case, replace the corrupted file with a new one using the WordPress installation file which you have downloaded.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"increase-wordpress-memory-limit\"><strong>Increase WordPress Memory Limit<\/strong><\/h2>\n\n\n\n<p>WordPress&#8217;s default memory limit is 32 MB. It may be that there are some large scripts(s) that have exhausted the memory and quit the process in the middle. To fix this issue, you need to increase the memory limit following which will allow the script(s) to use memory to complete the job.<\/p>\n\n\n\n<p>Follow the steps below to modify the Memory Limit in DirectAdmin and cPanel<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to the <a href=\"https:\/\/youstable.com\/kb\/how-to-access-file-manager-in-cpanel-and-directadmin\/\" target=\"_blank\" rel=\"noopener\">File Manager<\/a> \u2192 public_html directory of your domain.<\/li>\n\n\n\n<li>Edit wp-config.php.\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/youstable.com\/kb\/edit-wp-config-php\/\" target=\"_blank\" rel=\"noopener\">Click here to know how to edit wp-config.php in DirectAdmin<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/youstable.com\/kb\/edit-wp-config-php-file\/\" target=\"_blank\" rel=\"noopener\">Click here to know how to edit wp-config.php in cPanel<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Locate the line:<br>\/* That&#8217;s all, stop editing! Happy blogging. *\/<\/li>\n\n\n\n<li>Add the following line above it:<br>define(\u2018WP_MEMORY_LIMIT\u2019,\u2019512m\u2019);<br><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/xiHRuuWxdnoLt1_VGizM1ENyvTbemdst3gYJROlwAEjFUlMu5WoAGUsyxX7ZUXWtZ991qklMpfzZzVgap5A2-O0rlIW9rt-XCH3iv_lFudQDQd26ur5Zzx2BPRVbOesZhQ62WPqBmrjV1ZqFyA\" width=\"696\" height=\"300\" alt=\"\"><\/li>\n\n\n\n<li>Click Save and Close the file.<\/li>\n\n\n\n<li>Reload your webpage to see if this has fixed your White Screen error or not.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"disable-all-plugins\"><strong>Disable All plugins<\/strong><\/h2>\n\n\n\n<p>If increasing the memory limit didn\u2019t solve the problem, then we need to move to the next step of troubleshooting.<\/p>\n\n\n\n<p>As per our issue troubleshooting experience, we have found that the issue is either with a specific plugin or theme most of the time. So let\u2019s disable all the plugins.<\/p>\n\n\n\n<p>You can disable the <a href=\"https:\/\/www.youstable.com\/blog\/top-wordpress-security-plugins\/\">plugins from WordPress<\/a> Dashboard \u2192 Plugins \u2192 Installed Plugins page.&nbsp;<\/p>\n\n\n\n<p>Select all the installed plugins and then select <strong>Deactivate<\/strong> under the <strong>Bulk actions<\/strong> drop-down.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/PlVj0ME3SEWkGizQtAWG3NSwG_VC1q9NMt7qkbiy09FlFjAZh-71cyCQvL9Z5vmAxTeCrICMasdRAEfRcyyRsyD-dFjJKnnPGVw5-2jR_wEQRTuO_mBvUzGAStwT6B9hY2kyR7JcEp1ibjd6eg\" alt=\"\"><\/figure>\n\n\n\n<p>If you do not have WordPress access, you can deactivate all the plugins via File Manager \u2192 public_html \u2192wp-content and rename the <strong>plugins<\/strong> directory or you can follow the same path using FTP as well.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/KnCE8IqtMRIIOIaydL0c1S_weAYrQJKn49qugvNikxwFA9wDHNLmO1tery1k1dN-jD6YZ4UWoya5PezVTk8eXvtOPLO7e6zQkPcMA8yIeUr6xpI7rlMpM1lDSYqQGeHd63eg6yIYsONBiC4T4g\" alt=\"\"><\/figure>\n\n\n\n<p>WordPress will look for the directory named plugins to load all the plugins and when the directory can not be found, it simply deactivates all the plugins.<\/p>\n\n\n\n<p>If deactivating all the plugins fixes the issue, then the plugins one at a time to get to the bottom of the issue and once you identified the plugin causing the issue, you can remove the plugin or replace it with an alternative.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"check-themes-and-replace-them-with-default-themes\"><strong>Check Themes and replace them with Default Themes.<\/strong><\/h2>\n\n\n\n<p>If disabling all the plugins didn\u2019t help, then you should try replacing your current theme with a default theme.<\/p>\n\n\n\n<p>For enabling the default theme, log in to your WordPress Dashboard \u2192<strong>Appearance \u2192Themes<\/strong> pages<strong>. <\/strong>Activate <strong>Twenty Twenty-Two <\/strong>theme or any other default theme you are having.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/-3JiE0AHkE5i4_CifNec0L6IUpvy1mv1eAuyyKc6Uy77Vh60_L6gKKbbyRdLI9eDqPMXrQg_6EZoJjUjW_5EzvtFoyymu9aFtCZqN5evzY5mRPEYkiGV5YCbizMw4l6SQPmfagdo4Nv2iUD9xw\" alt=\"\"><\/figure>\n\n\n\n<p>Although you can switch themes from your WordPress dashboard, you can change the theme on the phpMyAdmin\u2192 wp_options table as well will also help disable the current theme file.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/pjuR-F_IJXsH_zmPoX6J4paLIHi4fHHyTLS-R9BRCWxU-nXKS5obFOnByTdN5DDgHJywgAefHMIhhBcwtUwVugT7WrYw6sBsA47IsAmvcWrfKfmWvh0pxXUW0AMMzXGW1nj3Qy0zrB11GcBO4w\" alt=\"\"><\/figure>\n\n\n\n<p>You will see your current theme name under the <strong>option_name column<\/strong>. Edit the values of the <strong>template <\/strong>and <strong>stylesheet <\/strong>and change them to twentytwentytwo.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/k5m-j4kUpWPA-_OFbvmSLvsAH8-CG0WSbMXrrhh7fbBMEWpPg8KVLWDB1zMJygJ565u-alxcEVdgptsFdukXvHVE5ZcQkhc-BcxNu7rcMjFheyPXUsnoyDKs7gCS4ikdJx3coxONG4wR9dwjig\" alt=\"\"><\/figure>\n\n\n\n<p>Reload the site to check if the error is resolved or not. If this method resolved the issue, use an alternative theme or just delete and reinstall the current theme again.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"enable-debug-mode-to-catch-errors-in-wordpress\"><strong>Enable Debug Mode to Catch Errors in WordPress<\/strong><\/h2>\n\n\n\n<p>If the issue hasn\u2019t been solved so far, turn on the debugging mode in WordPress which allow you to see what type of error is being shown on the website.<\/p>\n\n\n\n<p>Just edit your wp-config.php and the following code.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>define( &#8216;WP_DEBUG&#8217;, true);<br>define( &#8216;WP_DEBUG_LOG&#8217;, true );<br><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>After adding the code, reload the blank screen and now your blank screen will have errors, notices, and warnings which may help you figure out the root cause.<\/p>\n\n\n\n<p>If still, you are having a white screen, you need to check the debug.log. Visit the wp-content directory from either File Manager or FTP client and there you will find a new debug.log file which will have the log of all the warnings, notices, and errors.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"384\" height=\"294\" src=\"https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2022\/05\/image.png\" alt=\"\" class=\"wp-image-6702\"><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"clear-the-wordpress-cache\">Clear the WordPress Cache<\/h2>\n\n\n\n<p>Sometimes, caching plugins can cause the front end of the site to have the white screen of death while the back end is accessible.<\/p>\n\n\n\n<p>Please refer to <a href=\"https:\/\/www.wpbeginner.com\/beginners-guide\/how-to-clear-your-cache-in-wordpress\/\" target=\"_blank\" rel=\"noopener\">How to clear cache in WordPress<\/a> for detailed instructions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The WordPress white screen of death is one of the most common WordPress errors and it\u2019s very frustrating too because, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6853,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[350],"tags":[],"class_list":["post-6724","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledgebase"],"acf":[],"featured_image_src":"https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2022\/05\/How-to-Fix-the-WordPress-White-Screen-of-Death-Step-by-Step.jpg","author_info":{"display_name":"YouStable","author_link":"https:\/\/www.youstable.com\/blog\/author\/youstable"},"_links":{"self":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts\/6724","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/comments?post=6724"}],"version-history":[{"count":3,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts\/6724\/revisions"}],"predecessor-version":[{"id":13923,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts\/6724\/revisions\/13923"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/media\/6853"}],"wp:attachment":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/media?parent=6724"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/categories?post=6724"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/tags?post=6724"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}