When I've broken things and wound up with a 500 error the link back to home produces a 404 error. I believe its because it uses 'to' instead of 'route' but I'm not familiar enough with php to be sure of my theory.