Fix PHP errors

- Fix PHP errors
- Fix Profile edit
- Update Servermanager