Error thrown

Call to undefined function check_user_agent()