Display an error message when a hook template can not be found.