In my case, the error messages were related to the install of the wp-contactform plugin in my WP installation. The plugin appears to be adding a value to the PHP $_POST array during the wp-login.php GET. Why? I assume it’s needed?
The script /wp-login.php will issue the error messages in question if there is anything in the $_POST array and the userid/pass $_POST values are missing (it thinks the form was submitted w/ one of the required fields blank).
In my case (WP v2.2.3), I needed to change the following in several locations in wp-login.php. I just made the change, so I’m thinking that corrected it. Will update this message if further problems arise:
NOTE: use the following at your own risk/gain/demise ?? It worked for me… If you do change anything, make a backup of wp-login.php first, in case you need to revert:
Ln 92:
if ( $_POST) {
changed to:
if ($_POST[‘log’] || $_POST[‘pwd’]) {
Ln 297:
if ( $_POST) {
changed to:
if ( $_POST[‘log’] || $_POST[‘pwd’] ) {
Ln 332:
if ( $_POST && empty( $user_login ) )
changed to:
if ( ($_POST[‘log’] || $_POST[‘pwd’]) && empty( $user_login ) )