Uncaught TypeError

Not sure if they are similar, related, or different entirely, but I got a couple of these myself in my last playthrough. See the attached video. First at the very start at 0:49—I only notice at 1:06 because it was strangely hidden on the right border of the screen—then another later on at 26:17. (Different ones.)