Cookies Blocked Error when using Menu Login Option?

  • In Progress
    Posted in: Oblivion  
  • Member
    Beefalo
    May 30, 2014 at 5:06 pm #31457

    I have a number of members complaining that they’re getting a “Cookies must be enabled on your browser” when logging in via the modal / menu login option.   It seems like the test cookie in WP isn’t acknowledged initially when you log in this way, which throws the error but basically logs them in.   So everything works, but they get the error regardless.  The offending code in wp-login is:

    elseif ( isset( $_POST ) && empty( $_COOKIE[ TEST_COOKIE ] ) ) {
    // If cookies are disabled we can’t log in even with a valid user+pass
    $user = new WP_Error( ‘test_cookie’, sprintf( __( ‘<strong>ERROR</strong>: Cookies are blocked or not supported by your browser. You must <a href=”%s”>enable cookies</a> to use WordPress.’ ),
    }

    Referencing this input:

    <input type=”hidden” name=”testcookie” value=”1″ />

    Anyone else seen this?  I won’t discount a plugin being the cause, but all of the above is basic WordPress.  






    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.