TL;DR: Fixed… sort of.
So you've uncovered a bunch of problems at once.
The underlying cause of all of this was that at some point between opening the Ask Question page and trying to submit your question, you got logged out of Stack Overflow. I don't yet know why that happened, and I can't promise we'll be able to find out, but we'll try.
When you then tried to submit your question, the server correctly responded with "You must log in to post a question", however there was a mismatch between the format in which the server sent this error message and the format in which the client expected an error message, and thus you only received a generic "an error occured" message. This bug is fixed in the next build (and because without this particular issue, you would've known what's going on and could have handled it easily, I consider this fix to make your bug report status-completed, despite there being more issues in place).
You then went to Meta (to ask this very question) and logged in. This also caused you to be logged in to Stack Overflow again. This in turn gave you a new CSRF token on Stack Overflow. There is a mechanism in place that causes already-open browser tabs to update their token in situations like this, but this requires an actual page view on Stack Overflow, and such a page view never happened because you logged via Meta. This is why you at this point started to receive the 418 response (which is a CSRF token mismatch – your Ask Question browser tab still had the old token). This is not yet fixed, but I have some ideas.
Finally, the two new errors that you received were completely unrelated to the rest; a plain old JavaScript bug in the cardiologist. This one is fixed in the next build as well.
http://stackoverflow
and not on https?