Cannot duplicate on your site after recreating the xf.php file. It is possible you placed it in the wrong directory. But let me know if you have a fatal error again and try not to remove the file before I can investigate. If a thread is cached when the file is not present, then it can be hard to reproduce again.