you need the console log to show more information about it.
undefined is also something that is missing in the database or not anymore
exist or has changed.
if you play from a saved file while you change things, it can give that error.
it could be wise to give a bit more information, screenshot of skill/item,
inventory etc or gif/video of the error catching up to see what is going on.
Just to expand on the previous answer, you get to the console by pressing F8 and going to the Console tab. Give a screenshot of the full error trace.
But yes, "of undefined" means you're telling the game to interact with something that doesn't exist. Loading a save game after changing/deleting things can cause that. If you maybe deleted an item from your database but there's still an event that gives some to the party it could have problems. Stuff like that.
based on "hasmember" there is a good chance that the undefined part has something to do with either the party/actors or with troops/enemies, and since it happens in the menu there is a good chance that it has to do with a deleted actor or something like that.
And, in fact, it must be related to some plugin you're using as the hasMember() method is not in the default MZ code.
Yeah, I found the offender, thanks, it was Teambattleskills its now disabled until i figure it out more... (no idea how it was messing with the menu but like I said, I'm new)
thanks all.