recently I had the problem where on login page Wordpress reported an error:
ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.
This was asked several times here and also on other platforms. I have pinned it down to my custom plugin. Deleting the contents of the php file didn't solve but only renaming it. I pinned down the error to
headers_sent() check in