I am trying to repair a site that has a problem when entering the username and password on wp-login.php page.
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
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
please check all theme files(mainly functions.php) and remove extra line or space at the end then it will resolve
The only a few major reasons for getting this error are:
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
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/