The output that says:
indicates that you have one or more plugins installed that have not been updated to support the configuration form modernization that happened in Jenkins 2.277.1. The “migrating Jenkins” topic provides a detailed set of steps that you can follow to identify the plugin or plugins causing the issue.