• On the latest version of WordPress.

    When trying to login in via mysite.com/wp-login.php, the screen goes blank and only the word “error” appears in the upper left-hand corner.

    Weird.

    A few minutes later, I was able to login. So I went to edit a post. Clicked “edit” and again… screen goes blank…. one word “error” message. Luckily, the front-end of the site is still working fine.

    I pulled the wp-login.php file from another one of my sites to compare on my laptop. Went through all 738 lines… all the same. So I’m fairly certain the wp-login.php file is not corrupt.

    This happened at a random time. I was tinkering with WP’s commenting settings while trying to get Disqus to display comments. In other words, I wasn’t messing around with any .php files or even the FTP server. Just common WP settings.

    Any clue why I’m getting this one word “error” message? Or does anyone know where I should start?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • cdukes

    (@walkinonwat3r)

    You can try enabling wp_debug in the wp-config.php file, which might give you a more robust error message.

    Otherwise, this could be a server issue, or a plugin/theme issue. I’d say start with debug, then try deactivating all your plugins and switching to the default theme.

    Jeff Brock

    (@jeffbrockstudio)

    I ran into this issue on a development site, where both the front end and back end started generating the single word, “error”, soon after I visited the home page. I believe I tracked it down to the fact that in Better WP Security I had checked “Enable 404 Detection”, and since the site is still in development, a script was generating lots of 404s — which caused my IP to get locked out for 15 minutes. (I had forgotten to add my IP to the plugin’s “404 White List”.)

    thank you Jeff. thats exactly what my problem was

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Getting one word "error" when logging into wp-login.php’ is closed to new replies.