As per your description, the error appears when you try to save the PDF. Is it an issue with a particular PDF?
Would you mind sharing that file with us so we can replicate the issue on our end? You may upload the file to Document Cloud (https://documentcloud.adobe.com/link/home/) and share the link to file with us here.
Are you opening the PDF from a website or it is saved on your machine?