Error thrown

Call to undefined function get_custom_query_var()