Error thrown

Call to undefined function userphoto_exists()