Update: Clicked ignored a bunch and was able to resume play. But it seems the broken code is on multiple lines.
Got this error during the quest to save Estia. Just after the nightmare creatures pull the MC underground.