Looks like you are using GMS 1.x and its trying to call GMS 2.x functions, but (naturally) they don't exist.