-
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.’ ),__( ‘http://codex.wordpress.org/Cookies’ ) ) );}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.
-
Please use the search before making a post. Your question maybe be already answered!
-
Do you need customization work? Are you having trouble installing Wordpress? Feeling lazy and want somebody else to do the hard work for you?
Join our discord!
Need hosting?
Follow us!