Why does the gitlab server appear 500 when submitting merge requests?

When I submit a merge request on gitlab, after selecting the source branch and destination branch, click compare branches and continue, and 500 will appear on the server. The operation steps are as follows:

The phenomenon is as follows:

The logs are as follows:

Why can appear this kind of situation, who can help me answer, online and so on