Show an error message when clicking on a link with a missing anchor