Error thrown

Call to undefined function uap_get_affiliate_user_id()