skip to Main Content

I am trying to repair a site that has a problem when entering the username and password on wp-login.php page.
enter image description here

My friend who has tried to solve it did not found any error in server error logs and debugging error and nothing there also. He even thought that the server is on gigabit link so I think that is excluded as a reason also.

I have transferred the files on my computer to try to detect the problem locally on my computer in a local environment. I am using xampp and VS code.

In vsc i have opened wp-login.php and I have a small error but I saw that is got something to do with PHP intelephense plugin on VSC and the solution could be just by updating it. But the problem is that it is already updated to the newest version

enter image description here

I would be appreciative if someone could give me some pointers on how to detect this problem and where to start looking. I would like to detect the problem locally and then change the file that is corrupted.

Thanks a lot.

2

Answers


  1. please check all theme files(mainly functions.php) and remove extra line or space at the end then it will resolve

    Login or Signup to reply.
  2. The only a few major reasons for getting this error are:

    • Security or caching plugins
    • Migration to another host / Change of server address/IP
    • Browser issue

    Try first to purge your browser cookies. This works in 90% of all cases where you get that cookie error.

    If you still get that error to add the line below into your wp-config.php

    define('COOKIE_DOMAIN', $_SERVER['HTTP_HOST'] );
    

    I have written a few more in detail instructions on how to solve it but I think you will be good by following the steps above.

    Source: https://wp-staging.com/how-to-fix-the-error-cookies-are-blocked-or-not-supported-by-your-browser/

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search