This was due to a bug occuring when the search results contained datasets where the dataset landing page was undefined. This is a bug should be fixed now and to our knowledge and testing it does not occur anymore. Please report incidents using the issue tracker if you receive such messages.