I2C - Combining bytes into another variable - Trying to use union but failing

Your array has four elements, not three.
You still haven't fully referenced the array, which is why you're getting the error message.