Getting one word "error" when logging into wp-login.php (4 posts)

  1. oylwu
    Posted 3 years ago #

    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.


    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?


  2. cdukes
    Posted 3 years ago #

    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.

  3. Jeff Brock
    Posted 3 years ago #

    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".)

  4. bobby.noonan
    Posted 2 years ago #

    thank you Jeff. thats exactly what my problem was

Topic Closed

This topic has been closed to new replies.

About this Topic