every time i go to save a change i made to an already saved file, an error comes up saying, cant save file because of program error. how can i resolve the issue?
If it worked before but not now I would reset the preferenes. Start PS and immediately hold down Crtl Alt Shift (cmd option shift on Mac). You should get a reset window if you are fast enough.
And to add to Curt's instructions, keep holding down those keys, until you get the dialog screen, to Reset the Preferences.