Got that fatal error as well (also on the hogwarts one). Browser is Firefox 88 on Linux Mint, so probably not one you tested.
It's in the creation of the SimpleStore object. I won't even attempt to debug minified code, but here's the stacktrace: https://pastebin.com/hR5PFKiF
Both games work on Chrome on the same system.