尝试删除特定用户创建的主题时出现502错误

Continued in How to execute server-side code when clicking a button?