Undefined variable: data in webhook page