function custom_thesis_404_content() {

Maybe you were trying to go to one of these places?