I managed to fix this. Double click on the interface on the left side to add it to the event graph Then I searched in the event graph for the same event as the interface After compiling, the errors were fixed, steps shown below: