I had to migrate to a new server which used a different control panel. As a result, I had to migrate manually. I am not sure what went wrong but I cannot now edit templates from XenForo backend. Here is a screenshot of what happens when I try to edit a template. The page gets stuck. The head expands and it hangs. On refresh, the changes are not preserved.