That’s not a call AdRotate makes. Looks like W3 Total Cache is making a booboo 🙁
If AdRotate (Pro) is active the function is defined. If W3TC thinks otherwise, maybe it’s a cached error. Or something in that plugin goes wrong grabbing the code. Check with their support why that would happen.