• Resolved Livsy

    (@livsy)


    Hi. I am using WordPress + BuddyPress. When users try to log into the site they get this error: “Cookies are blocked or not supported by your browser”. I read about this problem here but that solutions had no effect in my case. Can someone help me with this problem? My site – https://sgamers.ru/

Viewing 1 replies (of 1 total)
  • Thread Starter Livsy

    (@livsy)

    Solution from niosus: Comment out lines 744-746 in wp-login.php . It should look like this:

    //	if ( isset($_POST['testcookie']) && empty($_COOKIE[TEST_COOKIE]) )
    //		$user = new WP_Error('test_cookie', __("<strong>ERROR</strong>: Cookies are blocked or not supported by your browser. You must <a href='https://www.google.com/cookies.html'>enable cookies</a> to use WordPress."));
    //	else
    		$user = wp_signon('', $secure_cookie);

Viewing 1 replies (of 1 total)
  • The topic ‘Cookies are blocked or not supported by your browser’ is closed to new replies.