From reading a lot of posts here, typically forum admins aren’t the cause of 502s, and it’s a plugin/core error. So there wouldn’t be particularly much you could do to avoid those issues.
Console logs always help, they can pinpoint the problematic plugin a lot of times.