Hmm.... hard to tell what the problem is. The error points at Mansion.gd, a file I did not touch with my modification. Did you edit it anyway? Are you using ARCIS? What exactly did you click to get that issue? Tried accessing the lab? A specific operation in the lab?
If the laboratory.gd is giving you problems, copy the ones from backup and see if that helps (you will loose the two extra surgeries)