I have never used this function, so I my suggestions might not be very helpful.
I see from the documentation that there are two version of the function. The one for rma objects takes the argument yaxis = "sei" but the default version does not have a yaxis argument but it does have an argument named vi. If your object pes.logit does not have the class rma, or whatever class is needed for that version of the function, it could cause the listed error. What do you get when you run