WordPress admin blank page after login, the first time is terrifying. Since you found this article, I guess that is what you are experiencing now. If not, keep this article for later if you are a WordPress user. Chances are you will experience it if you manage your own WordPress install. Installing and setting up plugins, themes and etc.
What happened to me was everything else was working just fine. The plugins seemed to do what they were supposed to do, and the theme worked just fine. Everything worked, except WordPress admin blank page after login. Nothing appeared when trying to login to the admin panel. Not even an error message, just a completely blank page. It can, of course, behave differently on other sites. This was just how my WordPress blank page experience was. I had to read several articles to fix my issue. And here is what I found.
Before you do anything, take a backup
1. The most important thing I learned from my WordPress admin blank page after login experience is to always keep an up to date backup of your site. There are several plugins that will help you with backups. The plugin I use for backups is UpdraftPlus – Backup/Restore. But there are a whole bunch of them. Probably better than the one I use too.
2. After you have done a backup, download it and save it somewhere safe.
3. If you have a spare computer or already set up, you can have a web server at home. With the same version of WordPress, same template, and same plugins. Then before updating your live server, you can verify the updates on your test server at home.
Identify the error causing the blank page
What causes WordPress admin blank page after login? It can be tricky to locate what the error is. If you have a WordPress hosting, you could ask the hosting company if there any known faults. If you have multiple WordPress blogs, check to see how the others are doing. The same error there? A test server is also handy to have in this situation.
If you are familiar with PHP or a Google ninja, some output would be better than a blank page. There is something you can do to make it print errors and warnings. If you edit the wp-config.php and add the following code:
error_reporting(E_ALL); ini_set(‘display_errors’, 1);
define( ‘WP_DEBUG’, true);
What can cause WordPress admin blank page after login
1. One of the most common reasons why your admin page goes blank is because PHP is out of memory. Increasing PHP memory limit will solve the admin page from going blank. You can read more about how to increase the PHP memory for WordPress.
2. Bad plugins is another common reason why your WordPress blog stops working. This was the reason why my WordPress admin page went white. How I fixed it was to disable all the plugins at once. Not sure how to do that. Check. out my article on Disable all plugin for WordPress. And then enable them one after one, until you find the plugin causing the error.
3. Before doing this, make sure you have a good backup of your WordPress blog. It could be your theme. The best way to test this is to use the default WordPress theme. If you have access to the installation directory, just navigate to the theme folder and delete it. This will force WordPress to load the default WordPress theme.
4. An unlikely cause, but could of course happen, is that one or more of the core files have been damaged. You can do a reinstall of WordPress to verify this. You will not lose your data. They are stored in a MySQL database. You will need to configure it again, move the theme over and reinstall the plugins. Should be last resort. And not installed over the old WordPress installation if it can be avoided.
Please also read Debian – Install WPScan to scan WordPress for vulnerabilities
This Post Has 3 Comments