I expect you're using Personal Ancestral File from FamilySearch.org, I use it myself.
On the file menu choose Export, accept the defaults in the dialog that pops up and click the Export button. Give it a filename and save it. That filename, with the extension .ged is what you need to upload to WikiTree. A file with the .paf extension won't work.