Here is a cleaned up sparkfun relay part. Download it, then open it from Fritzing to get it into your “Mine” parts bin. Right click and edit that, then as above export the pcb image, edit, reload, and save. See if that gets past the errors.
sparkfun-electromechanical-relay-pth2.fzpz (10.8 KB)
Don’t forget to save the imported parts and changes to the bin on exit from Fritzing, if you want to use the parts again later.
That is a process I do not actually use. I am comfortable with command line and text editors, so I extract the svg from the fzpz file (just unzip), edit the svg and fzp with a text editor (it is just xml), then zip it again to get a usable part. That works for me, because I know the internal file formats for svg and fzp, and it lets me do things that the Parts Editor fails with.