Getting a white screen when saving demographics in 502

It looks like the old database doesn’t have passwords in the password fields in the Globals area.

I went in and removed the passwords (SMTP, WMT, and Whemo) and now it seems to work fine.

When I enter a new password, it throws the error and it all seems to come from here:

The only argument being passed to the method is the password.