Error thrown

Call to undefined function sanitize_term()