How to track down Uncaught Exception

There was a previous report of the problem, suggesting that it is to do with the same template multiple times, but @max did not respond to a request for further information.