Redirect and log error when user visits invalid cart