### Description After upgrading to v1.18 recently gitea now crashes when opening issues or pull requests. This results in a `This site cant be reached` screen in Chrome, and webhooks not being sent as expected (and probably more stuff behind the scenes) ### Gitea Version v1.18 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist https://gist.github.com/watsom27/96a8b44f12e07ed65b911c4ce2be522e ### Screenshots _No response_ ### Git Version _No response_ ### Operating System Linux ### How are you running Gitea? Running from a linux binary on an Ubuntu `t2.micro` EC2 instance. The binary is started as a linux service, so auto-restarts when this crash happens ### Database MySQL