Buttons not working

I’m getting the buttons data in terminal, like below…

Buttons: 1: Continue (/intent_xyz) Buttons: 2: Cancel (/intent_abc)

but I’m getting the below error…

dispatcher.utter_button_message(message,buttons,tracker) TypeError: utter_button_message() takes 3 positional arguments but 4 were given

Remove the tracker parameter from the dispatcher.utter_button_message().