Er, dont do this unless you like logging into sites over and over again.
I've also been seeing this error recently. It's almost certainly due to an overly long cookie string.
You shouldn't ever have to clear cookies to make a site work. It's a workaround pure and simple.
And suggesting people nuke all their cookies to make one site work is slightly mad. In today's world where people have hundreds of accounts, doing that probably results in hours of manually logging back into stuff (plus 2FA, new device alerts, etc).
Most sites which try to put persistent cookies on my machine (ie almost every website) is doing so not to save me a few keystrokes when connecting (which you rarely need to do anyway if most of your use of websites is to get information from the site rather than letting the site get information from you); rather it's putting cookies on your machine for its own purposes which are frequently detrimental to the user accessing the site.
And in any case, you don't need cookies to save log-in details in the first place. For instance, one of the computers I use to access this railforum website has my log-in details for this site saved on the browser I use on the machine (because I explicitly allowed the browser to save that information); hence I have no typing to do if I want to do connect to this site to engage with it, like now, even though the browser deletes all cookies completely every time I turn it off. And if I just want to look at the site, rather than engage with it, then no logging-in is needed in the first place.
In terms of "You shouldn't ever have to clear cookies to make a site work" - on the contrary, for some sites, to get them to work the way
I want them to, as opposed to being constrained by the site owner, it can be essential to delete cookies.