{"id":3509,"date":"2023-02-14T13:56:02","date_gmt":"2023-02-14T10:56:02","guid":{"rendered":"https:\/\/seokozyr.com\/?p=3509"},"modified":"2025-04-15T14:40:59","modified_gmt":"2025-04-15T11:40:59","slug":"pokhybka-wordpress-bilyy-ekran","status":"publish","type":"post","link":"https:\/\/seokozyr.com\/en\/pokhybka-wordpress-bilyy-ekran\/","title":{"rendered":"WordPress error: white screen"},"content":{"rendered":"
Error display in WordPress is disabled by default so that users don't see anything unnecessary.<\/p>\n
Factors that can cause a white screen of death in WordPress:<\/p>\n
Now that we know the cause of the problem, let's take a closer look at how to get out of this situation.<\/p>\n
You need FTP access to the server hosting the site, but if you don't have it, a file manager is sufficient.<\/p>\n
Go to the root of the site, open the wp-config.php file, and change the string:<\/p>\n
define('WP_DEBUG', false);<\/p>\n
to this one:<\/p>\n
define( 'WP_DEBUG', true );
\ndefine( 'WP_DEBUG_DISPLAY', true );
\ndefine( 'WP_DEBUG_LOG', true );<\/p>\n
An error will appear instead of the white screen. If the log does not appear, write: site\/wp-content\/debug.log<\/p>\n
Now you can see what is causing the WordPress white screen.<\/p>\n
If you see that the error occurs due to a plugin, go to the root of the site \/www\/wwwroot\/domain\/wp-content\/plugins and disable this plugin by adding 1 to the name from the beginning. If everything is done correctly, the site should open.<\/p>\n
I recommend rolling back the site's backup.<\/p>\n
If this is not possible, rename the current theme folder, WordPress will automatically start using the default template.<\/p>\n
Try the following settings on the server (helps with updating and installing the template):
\nphp version 7.4
\nmax_execution_time = 600
\nmax_input_vars = 6000
\nmemory_limit = 512M
\npost_max_size = 512M
\nupload_max_filesize = 512M<\/p>\n
Caching can also cause such problems. However, if you are using a caching plugin, disabling the plugin via ftp will solve the problem.<\/p>\n
The site must have rights:<\/p>\n
You can set stronger restrictions:<\/p>\n
If this was the problem, it has been resolved. Also check if selinux is enabled. This is an additional permission system that can cause problems.<\/p>\n
The server may have limitations and not have enough RAM or execution time to render the page. To increase the amount of available memory, add the following directive to wp-config.<\/p>\n
define('WP_MEMORY_LIMIT', '64M');<\/p>","protected":false},"excerpt":{"rendered":"
Error display in WordPress is disabled by default so that users don't see anything unnecessary. Factors that can cause a white screen of death in WordPress: WordPress update and an error appears; plugin installation or update; template installation or update; page cache issue. Now that we know the cause of the problem, let's take a closer look at how to fix it. How to fix a white screen [...]<\/p>\n<\/p>