Home » Technology » Fix for WordPress blank page with the word “error”

Fix for WordPress blank page with the word “error”

written by Anand January 9, 2014

Today, out of the blue I lost access to my blog: only a WordPress blank page appeared with only the word -error- displayed. I encountered a similar error few months back and somehow after research I fixed it. But I forgot how I fixed it. So this time when it happened again, I decided to document it as a blog post and share it others who may be in a similar situation. If you run a WordPress blog with Better WP Security plugin, you may get locked out of your WordPress blog or admin page, resulting in a WordPress blank page with “error” as shown in the picture below.

WordPress Blank Page with "Error"

WordPress Blank Page with “error”

Fix WordPress Blank Page Error

We know that the problem is due to Better WP Security plugin. If you have intrusion detection turned on and are banning spammers/hackers who are trying to login in to your account, Better WP Security bans the visitor and logs the banned IP address in the Lockout database. Sometimes, unintentionally your valid IP can get locked out. The solution is to identify your IP and delete it from the lockout database. To do this, you will need access to your MySQL database through phpMyAdmin or other means. If you do not know how to access your WordPress database, your hosting provider may be able to help you. If you are self-hosting and do not have phpMyAdmin yet, you may install it following this guide.

Recommended Guides:

First, visit WhatisMyIP and record your current IP address and Proxy IP (if applicable). In this case, we are going to assume that the IP address of the computer from which you are trying to access your WordPress blog is and it is connected to the internet through a proxy server with IP address Note that most people may not have a proxy server.

WhatIsMyIP Output

Then, login into your MySQL database through phpMyAdmin interface. Better WP Security stores lockout information in a table called “wp_bwps_lockouts”. Note that the preceding “wp” may be something else depending on how your WordPress was installed. Go into the “wp_bwps_lockouts” table and “Browse” the entries. phpMyAdmin typically shows only 30 rows from the table. Display more rows if needed and find the entry containing your IP address (and proxy IP address).

Delete Lockout in BWPS Database

Delete Lockout in BWPS Database

Delete these entries using the red “X” mark each row. Now you should not see the WordPress blank page with “error” and be able to access your blog.

Prevent Future Lockouts

To ensure that you are not locked out of your site accidentally in future, you will have to whitelist your IP address (and proxy IP address) under “Detect” tab of Better WP Security settings page.

BWPS Intrusion Detection Whitelist

BWPS Intrusion Detection Whitelist

The picture above shows that the IP address is now whitelisted. If you have a proxy server, you may also want to list that as a new row. Alternatively, you could use wildcards. In this case, since the proxy server’s IP address is, you would just list 188.132.135.* to whitelist all IP addresses that begin with 188.132.135. The last 3 digits could be anything (typically this covers all computers from the same network). This should ensure that you do not see the WordPress blank page with “error” message in future.

If this helped you, please leave a comment and let others know. Happy Blogging!

IPVanish VPN Exclusive 20% Off - only $5.19/month:
VPN Guides
Windows, Android, Ubuntu
Kodi OpenVPN
♦ Hide your browsing (no logs), Anonymize Streaming and Downloads
♦ Circumvent Geo/Country Restrictions and access worldwide content
♦ Works on Windows, Mac, Linux, Android, iOS, Router, and more
♦ Money back guarantee - Sign Up Now
Super Hot deal for National Cybersecurity Awareness Month. 2-years premium VPN from IPVanish for $99 (only $4.12 per month)

Related Articles


chas March 19, 2015 - 11:11 am

This happened to me and your tip helped me fix it. I was initially worried that someone else was somehow able to attempt logging into my site while using my IP address (which is static, so shouldn’t be in the general pool) until I remembered I’d set WP security plugin to ban users who try to login as admin. I’d also just tried to log in using an app on my tablet which I hadn’t used for a while – guess which user it tried to log in as?!

Philip August 9, 2018 - 4:01 am

I found this article very helpful. Some of the specific details have changed but the overall steps are still 100 percent useful and 99.9 percent applicable. Thank you for writing this practical guide.


Leave a Comment